Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 169 kB / 24.99 MB, free: 8.227 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.053/1.053, allocations: 177.1 MB / 205.3 MB, free: 5.211 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2881/0.2881, allocations: 34.26 MB / 296 MB, free: 0.7734 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.[0-9,]+..re|v.[0-9,]+..im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|v.[0-9,]+..re|v.[0-9,]+..im",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 378 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.581e-05, allocations: 2.312 kB / 378 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection): time 0.01465/0.01467, allocations: 18.98 MB / 397 MB, free: 15.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009358/0.02403, allocations: 4.955 MB / 402 MB, free: 10.94 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002698/0.02673, allocations: 191 kB / 402.1 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01279/0.03952, allocations: 8.296 MB / 410.4 MB, free: 2.422 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009922/0.04944, allocations: 2.144 MB / 412.6 MB, free: 272 kB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004405/0.05384, allocations: 1.397 MB / 414 MB, free: 14.87 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.01343/0.06727, allocations: 12.62 MB / 426.6 MB, free: 2.195 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02553/0.0928, allocations: 16.79 MB / 443.4 MB, free: 1.199 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1993/0.2922, allocations: 9.825 MB / 453.2 MB, free: 55.5 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01234/0.3045, allocations: 7.185 MB / 460.4 MB, free: 55.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.006224/0.3107, allocations: 1.721 MB / 462.1 MB, free: 55.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008214/0.3189, allocations: 1.92 MB / 464 MB, free: 55.5 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006713/0.3256, allocations: 3.792 MB / 467.8 MB, free: 55.5 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01149/0.3371, allocations: 4.77 MB / 472.6 MB, free: 53.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02027/0.3574, allocations: 12 MB / 484.6 MB, free: 49.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.3574, allocations: 0.625 kB / 484.6 MB, free: 49.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3574, allocations: 2.75 kB / 484.6 MB, free: 49.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.001022/0.3584, allocations: 1.375 kB / 484.6 MB, free: 49.04 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3296 * Number of variables: 3296 Notification: Performance of Generate backend data structure: time 0.03629/0.3947, allocations: 15.82 MB / 0.4887 GB, free: 41.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.3948, allocations: 11.78 kB / 0.4887 GB, free: 41.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04427/0.4391, allocations: 13.37 MB / 0.5018 GB, free: 39.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01383/0.4529, allocations: 6.823 MB / 0.5084 GB, free: 34.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007116/0.4536, allocations: 0.8861 MB / 0.5093 GB, free: 33.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004675/0.4583, allocations: 1.187 MB / 0.5104 GB, free: 32.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.036/0.4943, allocations: 8.434 MB / 0.5187 GB, free: 24.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00061/0.4949, allocations: 19.83 kB / 0.5187 GB, free: 24.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004498/0.4994, allocations: 496.7 kB / 0.5192 GB, free: 24.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004628/0.4998, allocations: 0.655 MB / 0.5198 GB, free: 23.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02298/0.5228, allocations: 6.204 MB / 0.5259 GB, free: 17.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08794/0.6108, allocations: 46.62 MB / 0.5714 GB, free: 2.738 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01266/0.6234, allocations: 7.375 MB / 0.5786 GB, free: 11.89 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002827/0.6262, allocations: 1.58 MB / 0.5801 GB, free: 10.29 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003584/0.6266, allocations: 227.1 kB / 0.5804 GB, free: 10.07 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.715e-05/0.6267, allocations: 110.5 kB / 0.5805 GB, free: 9.945 MB / 458.7 MB Notification: Performance of pre-optimization done (n=653): time 8.335e-06/0.6267, allocations: 0 / 0.5805 GB, free: 9.945 MB / 458.7 MB Notification: Performance of matching and sorting (n=653): time 0.01169/0.6384, allocations: 4.774 MB / 0.5851 GB, free: 5.086 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.638e-05/0.6385, allocations: 124.5 kB / 0.5852 GB, free: 4.949 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005749/0.6442, allocations: 3.559 MB / 0.5887 GB, free: 1.375 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001467/0.6457, allocations: 133.7 kB / 0.5889 GB, free: 1.238 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003255/0.6489, allocations: 4.98 MB / 0.5937 GB, free: 12.23 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003066/0.652, allocations: 2.38 MB / 0.596 GB, free: 9.883 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002195/0.6542, allocations: 1.648 MB / 0.5976 GB, free: 8.227 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.6543, allocations: 484.5 kB / 0.5981 GB, free: 7.754 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002111/0.6564, allocations: 1.053 MB / 0.5991 GB, free: 6.703 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1802/0.8367, allocations: 5.275 MB / 0.6043 GB, free: 126.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0104/0.8471, allocations: 7.11 MB / 0.6112 GB, free: 120.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001746/0.8472, allocations: 25.69 kB / 0.6113 GB, free: 120.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=977) (initialization): time 0.01291/0.8601, allocations: 6.044 MB / 0.6172 GB, free: 119.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.223e-05/0.8602, allocations: 46.56 kB / 0.6172 GB, free: 119.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001259/0.8603, allocations: 91.56 kB / 0.6173 GB, free: 119.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001015/0.8614, allocations: 425 kB / 0.6177 GB, free: 119.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004513/0.8659, allocations: 2.018 MB / 0.6197 GB, free: 119.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00378/0.8697, allocations: 10.87 MB / 0.6303 GB, free: 109.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005067/0.8747, allocations: 1.021 MB / 0.6313 GB, free: 109.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001092/0.8758, allocations: 387.5 kB / 0.6316 GB, free: 109.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 414 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (971): * Single equations (assignments): 965 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003842/0.8797, allocations: 0.6885 MB / 0.6323 GB, free: 108.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001312/0.881, allocations: 0.6693 MB / 0.633 GB, free: 108.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009566/0.8905, allocations: 5.869 MB / 0.6387 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.725e-05/0.8906, allocations: 73.34 kB / 0.6388 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-05/0.8906, allocations: 0 / 0.6388 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.436e-05/0.8906, allocations: 35.7 kB / 0.6388 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05476/0.9454, allocations: 24.33 MB / 0.6626 GB, free: 101.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001712/0.9456, allocations: 86.88 kB / 0.6627 GB, free: 101.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004034/0.9496, allocations: 1.556 MB / 0.6642 GB, free: 101.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008991/0.9505, allocations: 400.6 kB / 0.6646 GB, free: 101.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006272/0.9511, allocations: 257.6 kB / 0.6648 GB, free: 101.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003919/0.955, allocations: 10.79 MB / 0.6753 GB, free: 90.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-05/0.9551, allocations: 139.5 kB / 0.6755 GB, free: 90.45 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01285/0.9679, allocations: 10.62 MB / 0.6858 GB, free: 80.46 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003785/0.9717, allocations: 1.376 MB / 0.6872 GB, free: 79.26 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001358/0.9731, allocations: 250.8 kB / 0.6874 GB, free: 79.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003608/0.9767, allocations: 0.539 MB / 0.6879 GB, free: 78.65 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009919/0.9777, allocations: 0.7647 MB / 0.6887 GB, free: 78.12 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004357/0.9781, allocations: 319.2 kB / 0.689 GB, free: 77.82 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002285/0.9804, allocations: 1.59 MB / 0.6906 GB, free: 76.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.9804, allocations: 0 / 0.6906 GB, free: 76.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008472/0.9889, allocations: 2.947 MB / 0.6934 GB, free: 73.54 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 389 * Number of states: 1 (currentSource.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (721): * Single equations (assignments): 715 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0014/0.9903, allocations: 0.4977 MB / 0.6939 GB, free: 73.05 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008575/0.9988, allocations: 5.629 MB / 0.6994 GB, free: 67.88 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.629e-05/0.9989, allocations: 12.5 kB / 0.6994 GB, free: 67.87 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00448/1.003, allocations: 3.285 MB / 0.7026 GB, free: 64.81 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008026/1.011, allocations: 1.311 MB / 0.7039 GB, free: 63.74 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0345/1.046, allocations: 21 MB / 0.7244 GB, free: 42.79 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00446/1.05, allocations: 3.406 MB / 0.7277 GB, free: 40.27 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005129/1.056, allocations: 2.64 MB / 0.7303 GB, free: 38.68 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001559/1.057, allocations: 0.5268 MB / 0.7308 GB, free: 38.2 MB / 474.7 MB Notification: Performance of SimCode: time 3.106e-06/1.057, allocations: 0 / 0.7308 GB, free: 38.2 MB / 474.7 MB Notification: Performance of Templates: time 0.2798/1.337, allocations: 76.48 MB / 0.8055 GB, free: 144.5 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.SerialConnection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/SerialConnection/SerialConnection.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.482615596847609]