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.001484/0.001484, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001916/0.001916, allocations: 214.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.531/1.531, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.228/0.228, allocations: 44.93 MB / 358.8 MB, free: 6.152 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.002447/0.002447, allocations: 67.91 kB / 0.4935 GB, free: 10.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3696, allocations: 65.48 MB / 0.5575 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.02486/0.3944, allocations: 19.53 MB / 0.5765 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01455/0.409, allocations: 5.388 MB / 0.5818 GB, free: 14.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00521/0.4142, allocations: 238.7 kB / 0.582 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02411/0.4383, allocations: 8.843 MB / 0.5907 GB, free: 5.352 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01124/0.4496, allocations: 2.179 MB / 0.5928 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00731/0.4569, allocations: 1.881 MB / 0.5946 GB, free: 1.301 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02139/0.4783, allocations: 14.54 MB / 0.6088 GB, free: 2.703 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0528/0.5311, allocations: 21.12 MB / 0.6295 GB, free: 13.36 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01608/0.5471, allocations: 8.167 MB / 0.6374 GB, free: 5.168 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01742/0.5646, allocations: 8.725 MB / 0.6459 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007236/0.5718, allocations: 2.098 MB / 0.648 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009817/0.5816, allocations: 2.34 MB / 0.6503 GB, free: 7.977 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009423/0.591, allocations: 4.333 MB / 0.6545 GB, free: 3.633 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01848/0.6095, allocations: 6.592 MB / 0.6609 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0407/0.6502, allocations: 28.92 MB / 0.6892 GB, free: 12 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.6502, allocations: 4 kB / 0.6892 GB, free: 8 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6502, allocations: 3.938 kB / 0.6892 GB, free: 4 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0008394/0.6511, allocations: 0 / 0.6892 GB, free: 4 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.06745/0.7185, allocations: 18.93 MB / 0.7077 GB, free: 12.96 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.7186, allocations: 12.03 kB / 0.7077 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06389/0.7825, allocations: 11.48 MB / 0.7189 GB, free: 1.449 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02302/0.8055, allocations: 9.055 MB / 0.7277 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00148/0.8069, allocations: 1.056 MB / 0.7288 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00632/0.8133, allocations: 1.375 MB / 0.7301 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5796/1.393, allocations: 23.92 MB / 0.7535 GB, free: 129.8 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009177/1.394, allocations: 28.08 kB / 0.7535 GB, free: 129.8 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006115/1.4, allocations: 0.5716 MB / 0.7541 GB, free: 129.3 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007714/1.401, allocations: 0.697 MB / 0.7548 GB, free: 129.3 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04729/1.448, allocations: 21.66 MB / 0.7759 GB, free: 110.7 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1088/1.557, allocations: 61.11 MB / 0.8356 GB, free: 49.55 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01786/1.575, allocations: 11.34 MB / 0.8467 GB, free: 39.62 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007606/1.582, allocations: 4.512 MB / 0.8511 GB, free: 35.09 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0254/1.608, allocations: 14.31 MB / 0.865 GB, free: 20.94 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.251e-05/1.608, allocations: 82.11 kB / 0.8651 GB, free: 20.85 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=465): time 7.884e-06/1.608, allocations: 0 / 0.8651 GB, free: 20.85 MB / 0.5607 GB Notification: Performance of matching and sorting (n=465): time 0.033/1.641, allocations: 15.43 MB / 0.8802 GB, free: 5.387 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/1.641, allocations: 124.7 kB / 0.8803 GB, free: 5.246 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007571/1.648, allocations: 4.99 MB / 0.8852 GB, free: 388 kB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001494/1.65, allocations: 97.7 kB / 0.8853 GB, free: 284 kB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.006331/1.656, allocations: 6.108 MB / 0.8912 GB, free: 10.62 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002964/1.659, allocations: 1.662 MB / 0.8929 GB, free: 8.945 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003326/1.662, allocations: 1.555 MB / 0.8944 GB, free: 7.383 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001451/1.663, allocations: 301.1 kB / 0.8947 GB, free: 7.086 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007518/1.67, allocations: 4.152 MB / 0.8987 GB, free: 2.93 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01075/1.681, allocations: 7.274 MB / 0.9058 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01917/1.7, allocations: 11.95 MB / 0.9175 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001774/1.7, allocations: 28 kB / 0.9175 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.02904/1.729, allocations: 13.07 MB / 0.9303 GB, free: 15.68 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001236/1.729, allocations: 48 kB / 0.9303 GB, free: 15.63 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000245/1.73, allocations: 104 kB / 0.9304 GB, free: 15.53 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007303/1.737, allocations: 3.086 MB / 0.9334 GB, free: 12.43 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006727/1.744, allocations: 1.603 MB / 0.935 GB, free: 10.82 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/1.745, allocations: 347 kB / 0.9353 GB, free: 10.48 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006615/1.751, allocations: 1.044 MB / 0.9364 GB, free: 9.426 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001437/1.753, allocations: 391.9 kB / 0.9367 GB, free: 9.043 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.0107/1.763, allocations: 5.39 MB / 0.942 GB, free: 3.637 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001331/1.765, allocations: 0.5006 MB / 0.9425 GB, free: 3.133 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01847/1.783, allocations: 9.532 MB / 0.9518 GB, free: 9.57 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.287e-05/1.783, allocations: 48 kB / 0.9518 GB, free: 9.523 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-05/1.783, allocations: 0 / 0.9518 GB, free: 9.523 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.205e-05/1.783, allocations: 23.91 kB / 0.9519 GB, free: 9.5 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0442/1.828, allocations: 17.98 MB / 0.9694 GB, free: 7.457 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.422e-05/1.828, allocations: 0 / 0.9694 GB, free: 7.457 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003721/1.831, allocations: 0.7411 MB / 0.9701 GB, free: 6.715 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007035/1.838, allocations: 2.965 MB / 0.973 GB, free: 3.734 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008063/1.839, allocations: 107.9 kB / 0.9731 GB, free: 3.629 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007006/1.84, allocations: 150.4 kB / 0.9733 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.84, allocations: 0 / 0.9733 GB, free: 3.473 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02526/1.865, allocations: 14.17 MB / 0.9871 GB, free: 5.262 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00435/1.869, allocations: 1.333 MB / 0.9884 GB, free: 3.926 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001158/1.871, allocations: 76 kB / 0.9885 GB, free: 3.852 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003145/1.874, allocations: 367.5 kB / 0.9889 GB, free: 3.492 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007891/1.875, allocations: 339.1 kB / 0.9892 GB, free: 3.16 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003482/1.875, allocations: 140 kB / 0.9893 GB, free: 3.023 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.3138/2.189, allocations: 3.199 MB / 0.9924 GB, free: 227.9 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.4e-07/2.189, allocations: 0.6562 kB / 0.9924 GB, free: 227.9 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01137/2.2, allocations: 3.251 MB / 0.9956 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.001486/2.202, allocations: 254 kB / 0.9958 GB, free: 227.8 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01671/2.218, allocations: 9.514 MB / 1.005 GB, free: 225.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/2.218, allocations: 2.406 kB / 1.005 GB, free: 225.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.008388/2.227, allocations: 4.11 MB / 1.009 GB, free: 224.5 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006925/2.234, allocations: 1.268 MB / 1.01 GB, free: 224.1 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04515/2.279, allocations: 24.51 MB / 1.034 GB, free: 209 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01459/2.293, allocations: 8.634 MB / 1.043 GB, free: 202.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.006603/2.3, allocations: 2.852 MB / 1.046 GB, free: 200.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001225/2.301, allocations: 387.8 kB / 1.046 GB, free: 200.2 MB / 0.67 GB Notification: Performance of SimCode: time 1.433e-06/2.301, allocations: 4 kB / 1.046 GB, free: 200.2 MB / 0.67 GB Notification: Performance of Templates: time 0.1367/2.438, allocations: 95.78 MB / 1.139 GB, free: 106.8 MB / 0.67 GB " [Timeout remaining time 658] 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/Ideal/Ideal.csv","/var/lib/jenkins/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: 10.482281954959035]