Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.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.001219/0.001219, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.001382/0.001382, allocations: 162.5 kB / 24.5 MB, free: 3.711 MB / 14.72 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.433/1.433, allocations: 177.2 MB / 204.9 MB, free: 9 MB / 190.1 MB " [Timeout remaining time 178] 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.2123/0.2123, allocations: 34.27 MB / 295.5 MB, free: 14.56 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+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.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_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_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 67.89 kB / 443.2 MB, free: 6.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3406, allocations: 66.01 MB / 0.4972 GB, free: 29.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.0189/0.3595, allocations: 19.53 MB / 0.5163 GB, free: 16.78 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0137/0.3732, allocations: 5.391 MB / 0.5216 GB, free: 13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006099/0.3793, allocations: 231.2 kB / 0.5218 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02302/0.4023, allocations: 9.351 MB / 0.5309 GB, free: 7.574 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01116/0.4135, allocations: 2.184 MB / 0.5331 GB, free: 6.227 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006874/0.4203, allocations: 1.876 MB / 0.5349 GB, free: 5.117 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.02199/0.4423, allocations: 14.55 MB / 0.5491 GB, free: 13.68 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04494/0.4873, allocations: 21.12 MB / 0.5697 GB, free: 11.16 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01745/0.5047, allocations: 8.171 MB / 0.5777 GB, free: 2.969 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.018/0.5227, allocations: 8.717 MB / 0.5862 GB, free: 10.22 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007091/0.5298, allocations: 2.098 MB / 0.5883 GB, free: 8.125 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01017/0.54, allocations: 2.343 MB / 0.5906 GB, free: 5.781 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009989/0.55, allocations: 4.329 MB / 0.5948 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01977/0.5698, allocations: 6.592 MB / 0.6012 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.04224/0.612, allocations: 28.92 MB / 0.6295 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.612, allocations: 7.875 kB / 0.6295 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.154e-06/0.612, allocations: 0 / 0.6295 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0009108/0.6129, allocations: 0 / 0.6295 GB, free: 13.8 MB / 0.5294 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.06369/0.6766, allocations: 18.92 MB / 0.648 GB, free: 10.78 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.6767, allocations: 12.03 kB / 0.648 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0655/0.7422, allocations: 11.48 MB / 0.6592 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02137/0.7635, allocations: 9.055 MB / 0.668 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001297/0.7648, allocations: 1.056 MB / 0.6691 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005931/0.7708, allocations: 1.371 MB / 0.6704 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5732/1.344, allocations: 23.93 MB / 0.6938 GB, free: 120 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005483/1.345, allocations: 22.06 kB / 0.6938 GB, free: 120 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004294/1.349, allocations: 0.5677 MB / 0.6943 GB, free: 119.9 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008512/1.35, allocations: 0.7002 MB / 0.695 GB, free: 119.8 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04903/1.399, allocations: 21.66 MB / 0.7162 GB, free: 112.3 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1118/1.51, allocations: 61.16 MB / 0.7759 GB, free: 75.8 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01645/1.527, allocations: 11.33 MB / 0.787 GB, free: 68.55 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006024/1.533, allocations: 4.508 MB / 0.7914 GB, free: 64.02 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02255/1.556, allocations: 14.32 MB / 0.8054 GB, free: 49.89 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.158e-05/1.556, allocations: 90.05 kB / 0.8054 GB, free: 49.79 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=465): time 8.506e-06/1.556, allocations: 0 / 0.8054 GB, free: 49.79 MB / 0.5763 GB Notification: Performance of matching and sorting (n=465): time 0.03248/1.588, allocations: 15.43 MB / 0.8205 GB, free: 34.33 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.876e-05/1.588, allocations: 128.6 kB / 0.8206 GB, free: 34.19 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006995/1.595, allocations: 4.981 MB / 0.8255 GB, free: 29.33 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.000612/1.596, allocations: 105.7 kB / 0.8256 GB, free: 29.22 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002782/1.598, allocations: 6.108 MB / 0.8316 GB, free: 23.56 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001631/1.6, allocations: 1.662 MB / 0.8332 GB, free: 21.89 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002019/1.602, allocations: 1.559 MB / 0.8347 GB, free: 20.32 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.437e-05/1.602, allocations: 305.1 kB / 0.835 GB, free: 20.02 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005122/1.607, allocations: 4.144 MB / 0.839 GB, free: 15.87 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006818/1.614, allocations: 7.27 MB / 0.8461 GB, free: 7.156 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01839/1.633, allocations: 11.96 MB / 0.8578 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001659/1.633, allocations: 32 kB / 0.8579 GB, free: 9.699 MB / 0.5919 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.03019/1.663, allocations: 13.06 MB / 0.8706 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001778/1.663, allocations: 50.41 kB / 0.8706 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002619/1.663, allocations: 104 kB / 0.8707 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007591/1.671, allocations: 3.093 MB / 0.8738 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007224/1.678, allocations: 1.603 MB / 0.8753 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/1.679, allocations: 335.2 kB / 0.8757 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008702/1.688, allocations: 1.048 MB / 0.8767 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002252/1.69, allocations: 391.9 kB / 0.8771 GB, free: 5.984 MB / 0.6075 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.01385/1.704, allocations: 5.386 MB / 0.8823 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001999/1.706, allocations: 0.5006 MB / 0.8828 GB, free: 80 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02234/1.728, allocations: 9.532 MB / 0.8921 GB, free: 6.516 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.166e-05/1.728, allocations: 48 kB / 0.8922 GB, free: 6.469 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.177e-05/1.728, allocations: 3.938 kB / 0.8922 GB, free: 6.465 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000101/1.729, allocations: 23.91 kB / 0.8922 GB, free: 6.441 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04794/1.777, allocations: 17.97 MB / 0.9097 GB, free: 4.406 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-05/1.777, allocations: 0 / 0.9097 GB, free: 4.406 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004079/1.781, allocations: 0.741 MB / 0.9105 GB, free: 3.664 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007554/1.788, allocations: 2.972 MB / 0.9134 GB, free: 0.6797 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001295/1.789, allocations: 103.9 kB / 0.9135 GB, free: 0.5781 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007886/1.79, allocations: 150.4 kB / 0.9136 GB, free: 432 kB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.79, allocations: 0 / 0.9136 GB, free: 432 kB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02919/1.819, allocations: 14.17 MB / 0.9274 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004648/1.824, allocations: 1.341 MB / 0.9288 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001627/1.826, allocations: 76 kB / 0.9288 GB, free: 0.793 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00387/1.83, allocations: 367.5 kB / 0.9292 GB, free: 444 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00122/1.831, allocations: 335.2 kB / 0.9295 GB, free: 104 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007265/1.832, allocations: 136 kB / 0.9296 GB, free: 15.97 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.007113/1.839, allocations: 3.207 MB / 0.9328 GB, free: 12.76 MB / 0.67 GB Notification: Performance of sort global known variables: time 1e-07/1.839, allocations: 0 / 0.9328 GB, free: 12.76 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01231/1.851, allocations: 3.254 MB / 0.9359 GB, free: 9.496 MB / 0.67 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.00144/1.852, allocations: 254.6 kB / 0.9362 GB, free: 9.238 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.3448/2.197, allocations: 9.512 MB / 0.9455 GB, free: 211.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/2.197, allocations: 1.125 kB / 0.9455 GB, free: 211.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.01021/2.207, allocations: 4.117 MB / 0.9495 GB, free: 210.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006447/2.214, allocations: 1.261 MB / 0.9507 GB, free: 210.7 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05248/2.266, allocations: 24.51 MB / 0.9747 GB, free: 200.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02291/2.289, allocations: 8.635 MB / 0.9831 GB, free: 198.1 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.01054/2.3, allocations: 2.848 MB / 0.9859 GB, free: 197.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002524/2.302, allocations: 392.3 kB / 0.9862 GB, free: 197.8 MB / 0.67 GB Notification: Performance of SimCode: time 1.543e-06/2.302, allocations: 1.375 kB / 0.9862 GB, free: 197.8 MB / 0.67 GB Notification: Performance of Templates: time 0.1355/2.438, allocations: 82.7 MB / 1.067 GB, free: 133.4 MB / 0.67 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_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: 10.086675912025385]