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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 102 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 185.2 kB / 24.51 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 253.3 MB, free: 13.03 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.2882/0.2882, allocations: 44.91 MB / 353.5 MB, free: 11.82 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 71.88 kB / 497.7 MB, free: 1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4121, allocations: 64.28 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.Ideal): time 0.0296/0.4417, allocations: 22.86 MB / 0.5711 GB, free: 8.488 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01544/0.4572, allocations: 5.482 MB / 0.5765 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006676/0.4639, allocations: 230.8 kB / 0.5767 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02336/0.4872, allocations: 9.59 MB / 0.5861 GB, free: 9.156 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009852/0.4971, allocations: 2.377 MB / 0.5884 GB, free: 6.773 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007644/0.5047, allocations: 1.742 MB / 0.5901 GB, free: 5.051 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02242/0.5271, allocations: 14.54 MB / 0.6043 GB, free: 6.457 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04055/0.5677, allocations: 20.04 MB / 0.6239 GB, free: 2.191 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01414/0.5818, allocations: 8.148 MB / 0.6318 GB, free: 10.02 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01874/0.6006, allocations: 8.81 MB / 0.6404 GB, free: 1.18 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007014/0.6076, allocations: 2.098 MB / 0.6425 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00993/0.6175, allocations: 2.339 MB / 0.6448 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0102/0.6277, allocations: 4.329 MB / 0.649 GB, free: 8.406 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02206/0.6498, allocations: 8.432 MB / 0.6572 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0494/0.6992, allocations: 28.76 MB / 0.6853 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.6992, allocations: 0 / 0.6853 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of FrontEnd: time 5.42e-06/0.6992, allocations: 4 kB / 0.6853 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.001178/0.7004, allocations: 0 / 0.6853 GB, free: 3.086 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.07629/0.7767, allocations: 18.94 MB / 0.7038 GB, free: 36 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.7767, allocations: 8.031 kB / 0.7038 GB, free: 28 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06545/0.8422, allocations: 11.75 MB / 0.7153 GB, free: 4.25 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02507/0.8672, allocations: 9.021 MB / 0.7241 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001792/0.869, allocations: 1.053 MB / 0.7252 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01021/0.8792, allocations: 1.375 MB / 0.7265 GB, free: 8.703 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8085/1.688, allocations: 23.58 MB / 0.7495 GB, free: 133.7 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009248/1.689, allocations: 17.7 kB / 0.7495 GB, free: 133.7 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006653/1.695, allocations: 0.5761 MB / 0.7501 GB, free: 133.3 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007346/1.696, allocations: 0.6957 MB / 0.7508 GB, free: 133.2 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0506/1.747, allocations: 21.69 MB / 0.772 GB, free: 121.6 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1434/1.89, allocations: 69.62 MB / 0.84 GB, free: 51.66 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02012/1.91, allocations: 11.37 MB / 0.8511 GB, free: 41.7 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009805/1.92, allocations: 4.512 MB / 0.8555 GB, free: 37.17 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04266/1.963, allocations: 15.15 MB / 0.8703 GB, free: 22.18 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.635e-05/1.963, allocations: 86.11 kB / 0.8703 GB, free: 22.09 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=465): time 1.422e-05/1.963, allocations: 0 / 0.8703 GB, free: 22.09 MB / 0.5607 GB Notification: Performance of matching and sorting (n=465): time 0.05419/2.017, allocations: 15.41 MB / 0.8854 GB, free: 6.652 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.929e-05/2.017, allocations: 124.7 kB / 0.8855 GB, free: 6.512 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01574/2.033, allocations: 5.107 MB / 0.8905 GB, free: 1.469 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.001482/2.034, allocations: 101.7 kB / 0.8906 GB, free: 1.363 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.007347/2.042, allocations: 6.106 MB / 0.8966 GB, free: 11.77 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.003855/2.045, allocations: 1.662 MB / 0.8982 GB, free: 10.09 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006981/2.052, allocations: 1.54 MB / 0.8997 GB, free: 8.543 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001412/2.053, allocations: 301.1 kB / 0.9 GB, free: 8.246 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008845/2.061, allocations: 4.148 MB / 0.904 GB, free: 4.094 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01305/2.074, allocations: 7.266 MB / 0.9111 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02391/2.098, allocations: 11.92 MB / 0.9228 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002364/2.099, allocations: 32 kB / 0.9228 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of matching and sorting (n=961) (initialization): time 0.03717/2.136, allocations: 13.05 MB / 0.9355 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001672/2.136, allocations: 55.98 kB / 0.9356 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002637/2.136, allocations: 104 kB / 0.9357 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00818/2.144, allocations: 3.091 MB / 0.9387 GB, free: 13.63 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007188/2.152, allocations: 1.599 MB / 0.9403 GB, free: 12.03 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/2.153, allocations: 335 kB / 0.9406 GB, free: 11.69 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008174/2.161, allocations: 1.079 MB / 0.9416 GB, free: 10.61 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002391/2.163, allocations: 384 kB / 0.942 GB, free: 10.23 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.01643/2.18, allocations: 5.394 MB / 0.9473 GB, free: 4.82 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002495/2.182, allocations: 0.5201 MB / 0.9478 GB, free: 4.297 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02361/2.206, allocations: 9.549 MB / 0.9571 GB, free: 10.71 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.595e-05/2.206, allocations: 44 kB / 0.9571 GB, free: 10.67 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.572e-05/2.206, allocations: 8 kB / 0.9572 GB, free: 10.66 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001075/2.206, allocations: 23.91 kB / 0.9572 GB, free: 10.64 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05712/2.263, allocations: 20.81 MB / 0.9775 GB, free: 5.746 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.049e-05/2.263, allocations: 0 / 0.9775 GB, free: 5.746 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003997/2.267, allocations: 0.7255 MB / 0.9782 GB, free: 5.02 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007837/2.275, allocations: 2.977 MB / 0.9811 GB, free: 2.027 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001264/2.276, allocations: 91.98 kB / 0.9812 GB, free: 1.938 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008154/2.277, allocations: 154.3 kB / 0.9814 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/2.277, allocations: 0 / 0.9814 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.421/2.698, allocations: 14.15 MB / 0.9952 GB, free: 212.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003845/2.702, allocations: 1.367 MB / 0.9965 GB, free: 212.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001089/2.703, allocations: 75.88 kB / 0.9966 GB, free: 212.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002829/2.706, allocations: 370.8 kB / 0.9969 GB, free: 212.4 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000629/2.707, allocations: 334.9 kB / 0.9972 GB, free: 212.3 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002866/2.707, allocations: 134.5 kB / 0.9974 GB, free: 212.3 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.004974/2.712, allocations: 3.428 MB / 1.001 GB, free: 211.1 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/2.712, allocations: 0 / 1.001 GB, free: 211.1 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.009199/2.721, allocations: 3.224 MB / 1.004 GB, free: 210.6 MB / 0.6544 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.001026/2.722, allocations: 249.6 kB / 1.004 GB, free: 210.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0212/2.743, allocations: 9.506 MB / 1.013 GB, free: 207.3 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.176e-05/2.743, allocations: 0 / 1.013 GB, free: 207.3 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.009452/2.753, allocations: 4.092 MB / 1.017 GB, free: 205.9 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008441/2.761, allocations: 1.275 MB / 1.019 GB, free: 205.5 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05391/2.815, allocations: 24.55 MB / 1.043 GB, free: 186.7 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01826/2.833, allocations: 9.012 MB / 1.051 GB, free: 179.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.008518/2.842, allocations: 2.869 MB / 1.054 GB, free: 176.4 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002022/2.844, allocations: 375.4 kB / 1.055 GB, free: 176 MB / 0.6544 GB Notification: Performance of SimCode: time 1.523e-06/2.844, allocations: 0 / 1.055 GB, free: 176 MB / 0.6544 GB Notification: Performance of Templates: time 0.1592/3.003, allocations: 98.25 MB / 1.151 GB, free: 78.4 MB / 0.6544 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/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: 11.088440196588635]