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.001862/0.001862, allocations: 111.1 kB / 20.44 MB, free: 1.059 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.002652/0.002652, allocations: 209.3 kB / 23.73 MB, free: 4.16 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.524/1.524, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.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.2328/0.2328, allocations: 46.96 MB / 360.9 MB, free: 4.039 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.002281/0.002281, allocations: 63.91 kB / 0.4966 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3841, allocations: 66.04 MB / 0.5611 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02409/0.4081, allocations: 19.53 MB / 0.5802 GB, free: 0.543 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0124/0.4205, allocations: 5.393 MB / 0.5854 GB, free: 11.14 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004373/0.4249, allocations: 234.8 kB / 0.5856 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02286/0.4478, allocations: 8.839 MB / 0.5943 GB, free: 2.051 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009211/0.457, allocations: 2.191 MB / 0.5964 GB, free: 15.85 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006605/0.4636, allocations: 1.871 MB / 0.5982 GB, free: 14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0219/0.4855, allocations: 14.55 MB / 0.6125 GB, free: 15.4 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04446/0.53, allocations: 21.12 MB / 0.6331 GB, free: 10.05 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01511/0.5451, allocations: 8.167 MB / 0.6411 GB, free: 1.859 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01786/0.5629, allocations: 8.721 MB / 0.6496 GB, free: 9.109 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007105/0.57, allocations: 2.105 MB / 0.6516 GB, free: 7.004 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009269/0.5793, allocations: 2.34 MB / 0.6539 GB, free: 4.664 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007713/0.587, allocations: 4.333 MB / 0.6581 GB, free: 328 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01598/0.603, allocations: 6.592 MB / 0.6646 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.04037/0.6434, allocations: 28.91 MB / 0.6928 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.6434, allocations: 0 / 0.6928 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.064e-06/0.6434, allocations: 3.938 kB / 0.6928 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0009608/0.6443, allocations: 4 kB / 0.6928 GB, free: 12.7 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.06461/0.7089, allocations: 18.93 MB / 0.7113 GB, free: 9.66 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.709, allocations: 8.031 kB / 0.7113 GB, free: 9.652 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06449/0.7735, allocations: 11.49 MB / 0.7225 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02559/0.7991, allocations: 9.048 MB / 0.7314 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001273/0.8003, allocations: 1.063 MB / 0.7324 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005764/0.8061, allocations: 1.375 MB / 0.7337 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6616/1.468, allocations: 23.93 MB / 0.7571 GB, free: 126.8 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005618/1.468, allocations: 16.61 kB / 0.7571 GB, free: 126.8 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005934/1.474, allocations: 0.5666 MB / 0.7577 GB, free: 126.3 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006412/1.475, allocations: 0.7008 MB / 0.7584 GB, free: 125.9 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04177/1.517, allocations: 21.67 MB / 0.7795 GB, free: 104.5 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1083/1.625, allocations: 61.12 MB / 0.8392 GB, free: 43.34 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01686/1.642, allocations: 11.34 MB / 0.8503 GB, free: 33.41 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006699/1.648, allocations: 4.504 MB / 0.8547 GB, free: 28.89 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02452/1.673, allocations: 14.32 MB / 0.8687 GB, free: 14.79 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.23e-05/1.673, allocations: 90.05 kB / 0.8688 GB, free: 14.69 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=465): time 9.158e-06/1.673, allocations: 0 / 0.8688 GB, free: 14.69 MB / 0.5607 GB Notification: Performance of matching and sorting (n=465): time 0.03284/1.706, allocations: 15.43 MB / 0.8838 GB, free: 15.23 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/1.706, allocations: 128.6 kB / 0.8839 GB, free: 15.09 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009782/1.716, allocations: 4.981 MB / 0.8888 GB, free: 10.23 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.001099/1.717, allocations: 101.7 kB / 0.8889 GB, free: 10.12 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.005191/1.722, allocations: 6.105 MB / 0.8949 GB, free: 4.469 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002723/1.725, allocations: 1.666 MB / 0.8965 GB, free: 2.789 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003014/1.728, allocations: 1.555 MB / 0.898 GB, free: 1.227 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.728, allocations: 301.1 kB / 0.8983 GB, free: 0.9297 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007735/1.736, allocations: 4.152 MB / 0.9023 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01357/1.749, allocations: 7.27 MB / 0.9094 GB, free: 4.059 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01968/1.769, allocations: 11.95 MB / 0.9211 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001385/1.769, allocations: 36 kB / 0.9212 GB, free: 6.605 MB / 0.6075 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.03091/1.8, allocations: 13.06 MB / 0.9339 GB, free: 9.527 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001593/1.8, allocations: 50.19 kB / 0.934 GB, free: 9.48 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002245/1.8, allocations: 104 kB / 0.9341 GB, free: 9.379 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00729/1.808, allocations: 3.099 MB / 0.9371 GB, free: 6.27 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006724/1.814, allocations: 1.595 MB / 0.9386 GB, free: 4.672 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001018/1.815, allocations: 350.9 kB / 0.939 GB, free: 4.32 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007443/1.823, allocations: 1.044 MB / 0.94 GB, free: 3.27 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002146/1.825, allocations: 391.9 kB / 0.9404 GB, free: 2.887 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.01182/1.837, allocations: 5.386 MB / 0.9456 GB, free: 13.48 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001298/1.838, allocations: 0.5045 MB / 0.9461 GB, free: 12.98 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01784/1.856, allocations: 9.528 MB / 0.9554 GB, free: 3.418 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.051e-05/1.856, allocations: 51.94 kB / 0.9555 GB, free: 3.367 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/1.856, allocations: 0 / 0.9555 GB, free: 3.367 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.268e-05/1.856, allocations: 23.91 kB / 0.9555 GB, free: 3.344 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04092/1.897, allocations: 17.97 MB / 0.973 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-05/1.897, allocations: 0 / 0.973 GB, free: 1.305 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004042/1.901, allocations: 0.7449 MB / 0.9738 GB, free: 0.5586 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006924/1.908, allocations: 2.961 MB / 0.9767 GB, free: 13.58 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00103/1.909, allocations: 104 kB / 0.9768 GB, free: 13.48 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000681/1.91, allocations: 150.4 kB / 0.9769 GB, free: 13.32 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/1.91, allocations: 0 / 0.9769 GB, free: 13.32 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3571/2.267, allocations: 14.16 MB / 0.9907 GB, free: 222.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007046/2.274, allocations: 1.333 MB / 0.992 GB, free: 222.4 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001894/2.276, allocations: 77.17 kB / 0.9921 GB, free: 222.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004147/2.28, allocations: 372 kB / 0.9925 GB, free: 222.4 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009809/2.281, allocations: 339.5 kB / 0.9928 GB, free: 222.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003287/2.281, allocations: 137.8 kB / 0.9929 GB, free: 222.4 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.005217/2.286, allocations: 3.208 MB / 0.9961 GB, free: 222.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/2.286, allocations: 0 / 0.9961 GB, free: 222.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01002/2.296, allocations: 3.251 MB / 0.9992 GB, free: 221.8 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.001253/2.298, allocations: 260.7 kB / 0.9995 GB, free: 221.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01684/2.314, allocations: 9.512 MB / 1.009 GB, free: 218.6 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/2.314, allocations: 0 / 1.009 GB, free: 218.6 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008002/2.322, allocations: 4.113 MB / 1.013 GB, free: 217.2 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008157/2.331, allocations: 1.268 MB / 1.014 GB, free: 216.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04802/2.379, allocations: 24.51 MB / 1.038 GB, free: 201.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01236/2.391, allocations: 8.634 MB / 1.046 GB, free: 194.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006705/2.398, allocations: 2.848 MB / 1.049 GB, free: 192.9 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001278/2.399, allocations: 394.6 kB / 1.05 GB, free: 192.5 MB / 0.67 GB Notification: Performance of SimCode: time 1.864e-06/2.399, allocations: 0 / 1.05 GB, free: 192.5 MB / 0.67 GB Notification: Performance of Templates: time 0.156/2.555, allocations: 95.77 MB / 1.143 GB, free: 98.15 MB / 0.67 GB " [Timeout remaining time 657] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins/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.603636402636766]