Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001591/0.001591, allocations: 108.3 kB / 19.17 MB, free: 3.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001897/0.001897, allocations: 205 kB / 22.12 MB, free: 0.9648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.581/1.581, allocations: 230.3 MB / 255.2 MB, free: 15.19 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2472/0.2472, allocations: 46.92 MB / 358.2 MB, free: 10.48 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 75.88 kB / 0.4925 GB, free: 7.691 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1467, allocations: 66 MB / 0.557 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02698/0.1736, allocations: 22.83 MB / 0.5793 GB, free: 14.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01485/0.1885, allocations: 5.533 MB / 0.5847 GB, free: 9.066 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005828/0.1943, allocations: 230.8 kB / 0.5849 GB, free: 8.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3336/0.5279, allocations: 9.569 MB / 0.5942 GB, free: 4.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008645/0.5366, allocations: 2.155 MB / 0.5963 GB, free: 4.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005721/0.5423, allocations: 1.908 MB / 0.5982 GB, free: 4.324 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02035/0.5626, allocations: 14.46 MB / 0.6123 GB, free: 3.496 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04767/0.6103, allocations: 26.53 MB / 0.6382 GB, free: 7.086 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01616/0.6265, allocations: 8.158 MB / 0.6462 GB, free: 0 / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01736/0.6438, allocations: 8.8 MB / 0.6548 GB, free: 8.66 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006652/0.6505, allocations: 2.102 MB / 0.6568 GB, free: 6.559 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009567/0.6601, allocations: 2.361 MB / 0.6591 GB, free: 4.238 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009377/0.6694, allocations: 4.334 MB / 0.6634 GB, free: 12 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01878/0.6882, allocations: 8.426 MB / 0.6716 GB, free: 7.648 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03835/0.7266, allocations: 28.77 MB / 0.6997 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.7266, allocations: 0 / 0.6997 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7266, allocations: 0 / 0.6997 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0008558/0.7274, allocations: 0 / 0.6997 GB, free: 11.41 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3858 * Number of variables: 3858 Notification: Performance of Generate backend data structure: time 0.06501/0.7925, allocations: 19 MB / 0.7183 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.7925, allocations: 12.03 kB / 0.7183 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06314/0.8556, allocations: 11.49 MB / 0.7295 GB, free: 13.08 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02357/0.8792, allocations: 8.891 MB / 0.7382 GB, free: 4.16 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001657/0.8809, allocations: 1.069 MB / 0.7392 GB, free: 3.102 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007022/0.8879, allocations: 1.37 MB / 0.7406 GB, free: 1.742 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07543/0.9633, allocations: 23.63 MB / 0.7636 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008377/0.9642, allocations: 19.89 kB / 0.7636 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006042/0.9702, allocations: 0.5722 MB / 0.7642 GB, free: 9.465 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000955/0.9712, allocations: 0.7017 MB / 0.7649 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05304/1.024, allocations: 21.74 MB / 0.7861 GB, free: 3 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7336/1.758, allocations: 72.03 MB / 0.8565 GB, free: 160.4 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02327/1.781, allocations: 28.08 MB / 0.8839 GB, free: 139.2 MB / 0.6388 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008068/1.789, allocations: 4.511 MB / 0.8883 GB, free: 139.1 MB / 0.6388 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0316/1.821, allocations: 16.55 MB / 0.9045 GB, free: 132.7 MB / 0.6388 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.832e-05/1.821, allocations: 81.61 kB / 0.9045 GB, free: 132.6 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=465): time 6.332e-06/1.821, allocations: 0 / 0.9045 GB, free: 132.6 MB / 0.6388 GB Notification: Performance of matching and sorting (n=465): time 0.03508/1.856, allocations: 15.68 MB / 0.9198 GB, free: 126.3 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/1.856, allocations: 130.1 kB / 0.92 GB, free: 126.2 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007107/1.863, allocations: 5.116 MB / 0.925 GB, free: 123.6 MB / 0.6388 GB Notification: Performance of collectPreVariables (initialization): time 0.000901/1.864, allocations: 97.52 kB / 0.9251 GB, free: 123.5 MB / 0.6388 GB Notification: Performance of collectInitialEqns (initialization): time 0.003086/1.867, allocations: 6.1 MB / 0.931 GB, free: 119.2 MB / 0.6388 GB Notification: Performance of collectInitialBindings (initialization): time 0.001766/1.869, allocations: 1.665 MB / 0.9326 GB, free: 117.9 MB / 0.6388 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002207/1.871, allocations: 1.555 MB / 0.9342 GB, free: 117 MB / 0.6388 GB Notification: Performance of setup shared object (initialization): time 4.494e-05/1.871, allocations: 304.7 kB / 0.9345 GB, free: 116.7 MB / 0.6388 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006445/1.877, allocations: 4.154 MB / 0.9385 GB, free: 114.5 MB / 0.6388 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008269/1.886, allocations: 7.267 MB / 0.9456 GB, free: 108.1 MB / 0.6388 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01387/1.9, allocations: 11.95 MB / 0.9573 GB, free: 98.66 MB / 0.6388 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.13e-05/1.9, allocations: 36 kB / 0.9573 GB, free: 98.63 MB / 0.6388 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02219/1.922, allocations: 13.08 MB / 0.9701 GB, free: 85.53 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 9.973e-05/1.922, allocations: 51.98 kB / 0.9701 GB, free: 85.48 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001809/1.922, allocations: 104 kB / 0.9702 GB, free: 85.38 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006036/1.928, allocations: 3.095 MB / 0.9733 GB, free: 82.27 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005632/1.934, allocations: 1.606 MB / 0.9748 GB, free: 80.66 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008716/1.935, allocations: 335 kB / 0.9751 GB, free: 80.32 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006244/1.941, allocations: 1.071 MB / 0.9762 GB, free: 79.24 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00141/1.942, allocations: 392 kB / 0.9766 GB, free: 78.86 MB / 0.6388 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep4[3].y,booleanStep4[2].y,booleanStep4[1].y,booleanStep3[3].y,booleanStep3[2].y,booleanStep3[1].y,booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,booleanStep1[3].y,booleanStep1[2].y,booleanStep1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (814): * Single equations (assignments): 811 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.008914/1.951, allocations: 5.386 MB / 0.9818 GB, free: 73.46 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001223/1.953, allocations: 0.524 MB / 0.9823 GB, free: 72.93 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01416/1.967, allocations: 9.549 MB / 0.9917 GB, free: 63.35 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-05/1.967, allocations: 44 kB / 0.9917 GB, free: 63.3 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/1.967, allocations: 7.938 kB / 0.9917 GB, free: 63.3 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.222e-05/1.967, allocations: 27.91 kB / 0.9917 GB, free: 63.27 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03478/2.002, allocations: 20.73 MB / 1.012 GB, free: 42.56 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/2.002, allocations: 3.938 kB / 1.012 GB, free: 42.55 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003173/2.005, allocations: 0.741 MB / 1.013 GB, free: 41.81 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005858/2.011, allocations: 2.969 MB / 1.016 GB, free: 38.83 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000835/2.011, allocations: 108 kB / 1.016 GB, free: 38.73 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006272/2.012, allocations: 142.5 kB / 1.016 GB, free: 38.58 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/2.012, allocations: 0 / 1.016 GB, free: 38.58 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02011/2.032, allocations: 14.19 MB / 1.03 GB, free: 24.35 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003662/2.036, allocations: 1.387 MB / 1.031 GB, free: 22.94 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001293/2.037, allocations: 83.94 kB / 1.031 GB, free: 22.86 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003517/2.041, allocations: 367.5 kB / 1.031 GB, free: 22.5 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008681/2.042, allocations: 323.4 kB / 1.032 GB, free: 22.18 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003287/2.042, allocations: 135.9 kB / 1.032 GB, free: 22.05 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.005205/2.047, allocations: 3.423 MB / 1.035 GB, free: 18.63 MB / 0.6388 GB Notification: Performance of sort global known variables: time 2.61e-07/2.047, allocations: 0 / 1.035 GB, free: 18.63 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.009927/2.057, allocations: 3.238 MB / 1.038 GB, free: 15.38 MB / 0.6388 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001255/2.058, allocations: 252.6 kB / 1.039 GB, free: 15.13 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.01552/2.074, allocations: 9.512 MB / 1.048 GB, free: 5.617 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/2.074, allocations: 4 kB / 1.048 GB, free: 5.613 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.007893/2.082, allocations: 4.119 MB / 1.052 GB, free: 1.473 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007905/2.09, allocations: 1.269 MB / 1.053 GB, free: 244 kB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05928/2.149, allocations: 23.85 MB / 1.077 GB, free: 8.371 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01815/2.167, allocations: 8.711 MB / 1.085 GB, free: 15.62 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002769/2.17, allocations: 475.3 kB / 1.085 GB, free: 15.16 MB / 0.6857 GB Notification: Performance of SimCode: time 1.382e-06/2.17, allocations: 0 / 1.085 GB, free: 15.16 MB / 0.6857 GB Notification: Performance of Templates: time 0.9865/3.156, allocations: 385.9 MB / 1.462 GB, free: 175.1 MB / 0.7013 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 23.327677419001702]