Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001416/0.001416, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001531/0.001531, allocations: 215.1 kB / 24.48 MB, free: 3.84 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.448/1.448, allocations: 230.6 MB / 258.2 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2311/0.2311, allocations: 44.94 MB / 359.6 MB, free: 6.07 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00237/0.00237, allocations: 75.88 kB / 0.4943 GB, free: 10.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4147, allocations: 65.47 MB / 0.5582 GB, free: 7.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02613/0.4408, allocations: 19.52 MB / 0.5773 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0155/0.4563, allocations: 5.401 MB / 0.5825 GB, free: 14.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00635/0.4627, allocations: 230.8 kB / 0.5828 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02328/0.486, allocations: 8.842 MB / 0.5914 GB, free: 5.379 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01066/0.4966, allocations: 2.183 MB / 0.5935 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007246/0.5039, allocations: 1.874 MB / 0.5954 GB, free: 1.32 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02071/0.5246, allocations: 14.56 MB / 0.6096 GB, free: 2.711 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04396/0.5685, allocations: 21.12 MB / 0.6302 GB, free: 13.36 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01507/0.5836, allocations: 8.167 MB / 0.6382 GB, free: 5.176 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01786/0.6015, allocations: 8.721 MB / 0.6467 GB, free: 12.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007859/0.6093, allocations: 2.098 MB / 0.6487 GB, free: 10.33 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01011/0.6194, allocations: 2.343 MB / 0.651 GB, free: 7.984 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008792/0.6282, allocations: 4.329 MB / 0.6552 GB, free: 3.645 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01784/0.6461, allocations: 6.596 MB / 0.6617 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.04189/0.688, allocations: 28.91 MB / 0.6899 GB, free: 24 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.688, allocations: 0 / 0.6899 GB, free: 24 kB / 0.5137 GB Notification: Performance of FrontEnd: time 2.185e-06/0.688, allocations: 0 / 0.6899 GB, free: 24 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0009808/0.6889, allocations: 0 / 0.6899 GB, free: 24 kB / 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.06405/0.753, allocations: 18.93 MB / 0.7084 GB, free: 12.99 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.753, allocations: 12.03 kB / 0.7084 GB, free: 12.98 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06294/0.816, allocations: 11.49 MB / 0.7196 GB, free: 1.465 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02272/0.8387, allocations: 9.044 MB / 0.7285 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001373/0.8401, allocations: 1.071 MB / 0.7295 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006066/0.8461, allocations: 1.371 MB / 0.7309 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6727/1.519, allocations: 23.93 MB / 0.7542 GB, free: 129.7 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007125/1.52, allocations: 13.95 kB / 0.7542 GB, free: 129.7 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004734/1.524, allocations: 0.5775 MB / 0.7548 GB, free: 129.3 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006464/1.525, allocations: 0.7006 MB / 0.7555 GB, free: 129.2 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04262/1.568, allocations: 21.66 MB / 0.7766 GB, free: 110.7 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1096/1.677, allocations: 61.13 MB / 0.8363 GB, free: 49.55 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0169/1.694, allocations: 11.33 MB / 0.8474 GB, free: 39.63 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006965/1.701, allocations: 4.504 MB / 0.8518 GB, free: 35.11 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02808/1.729, allocations: 14.31 MB / 0.8658 GB, free: 20.99 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.779e-05/1.729, allocations: 86.11 kB / 0.8659 GB, free: 20.89 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=465): time 8.375e-06/1.729, allocations: 4 kB / 0.8659 GB, free: 20.89 MB / 0.5607 GB Notification: Performance of matching and sorting (n=465): time 0.0333/1.762, allocations: 15.43 MB / 0.8809 GB, free: 5.43 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/1.762, allocations: 124.7 kB / 0.881 GB, free: 5.289 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006744/1.769, allocations: 4.987 MB / 0.8859 GB, free: 436 kB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0009043/1.77, allocations: 97.7 kB / 0.886 GB, free: 332 kB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.005231/1.775, allocations: 6.107 MB / 0.892 GB, free: 10.67 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.003573/1.779, allocations: 1.662 MB / 0.8936 GB, free: 8.992 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003191/1.782, allocations: 1.559 MB / 0.8951 GB, free: 7.426 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001328/1.782, allocations: 301.1 kB / 0.8954 GB, free: 7.129 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007527/1.79, allocations: 4.148 MB / 0.8995 GB, free: 2.977 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01133/1.801, allocations: 7.274 MB / 0.9066 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01796/1.819, allocations: 11.95 MB / 0.9182 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001326/1.819, allocations: 31.98 kB / 0.9183 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02798/1.847, allocations: 13.06 MB / 0.931 GB, free: 15.72 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001624/1.847, allocations: 48 kB / 0.9311 GB, free: 15.68 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000245/1.848, allocations: 104 kB / 0.9312 GB, free: 15.57 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00711/1.855, allocations: 3.087 MB / 0.9342 GB, free: 12.47 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006339/1.861, allocations: 1.606 MB / 0.9357 GB, free: 10.86 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009295/1.862, allocations: 343 kB / 0.9361 GB, free: 10.52 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006737/1.869, allocations: 1.048 MB / 0.9371 GB, free: 9.465 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001566/1.87, allocations: 391.9 kB / 0.9375 GB, free: 9.082 MB / 0.6232 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.01118/1.881, allocations: 5.386 MB / 0.9427 GB, free: 3.68 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001748/1.883, allocations: 0.5045 MB / 0.9432 GB, free: 3.172 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02044/1.904, allocations: 9.536 MB / 0.9525 GB, free: 9.605 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.751e-05/1.904, allocations: 51.98 kB / 0.9526 GB, free: 9.555 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.159e-05/1.904, allocations: 0 / 0.9526 GB, free: 9.555 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.622e-05/1.904, allocations: 23.91 kB / 0.9526 GB, free: 9.531 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04678/1.951, allocations: 17.97 MB / 0.9702 GB, free: 7.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.911e-05/1.951, allocations: 0 / 0.9702 GB, free: 7.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003589/1.954, allocations: 0.7332 MB / 0.9709 GB, free: 6.766 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006837/1.961, allocations: 2.969 MB / 0.9738 GB, free: 3.781 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008511/1.962, allocations: 111.9 kB / 0.9739 GB, free: 3.672 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006969/1.963, allocations: 150.4 kB / 0.974 GB, free: 3.516 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/1.963, allocations: 0 / 0.974 GB, free: 3.516 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02663/1.989, allocations: 14.16 MB / 0.9879 GB, free: 5.316 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004422/1.994, allocations: 1.337 MB / 0.9892 GB, free: 3.977 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001853/1.995, allocations: 80 kB / 0.9892 GB, free: 3.898 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00426/2, allocations: 367.5 kB / 0.9896 GB, free: 3.539 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00136/2.001, allocations: 331.2 kB / 0.9899 GB, free: 3.215 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008517/2.002, allocations: 148 kB / 0.99 GB, free: 3.07 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.3515/2.353, allocations: 3.202 MB / 0.9932 GB, free: 227.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.51e-07/2.353, allocations: 2.219 kB / 0.9932 GB, free: 227.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01085/2.364, allocations: 3.249 MB / 0.9963 GB, free: 227.9 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.00122/2.366, allocations: 254.9 kB / 0.9966 GB, free: 227.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01528/2.381, allocations: 9.509 MB / 1.006 GB, free: 225.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/2.381, allocations: 7.688 kB / 1.006 GB, free: 225.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008075/2.389, allocations: 4.116 MB / 1.01 GB, free: 224.6 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006711/2.396, allocations: 1.262 MB / 1.011 GB, free: 224.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04235/2.438, allocations: 24.06 MB / 1.035 GB, free: 209.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009964/2.448, allocations: 8.336 MB / 1.043 GB, free: 203 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001938/2.45, allocations: 467.8 kB / 1.043 GB, free: 202.6 MB / 0.67 GB Notification: Performance of SimCode: time 1.994e-06/2.45, allocations: 0 / 1.043 GB, free: 202.6 MB / 0.67 GB Notification: Performance of Templates: time 0.7211/3.171, allocations: 389.7 MB / 1.424 GB, free: 86.33 MB / 0.6857 GB " [Timeout remaining time 657] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 22.93178022140637]