Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 108.5 kB / 17.03 MB, free: 5.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 192.1 kB / 17.96 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2168/0.2168, allocations: 43.54 MB / 314.7 MB, free: 476 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 70.03 kB / 384.2 MB, free: 56.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1177, allocations: 57.79 MB / 442 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.02345/0.1412, allocations: 22.88 MB / 464.9 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01696/0.1582, allocations: 5.502 MB / 470.4 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006352/0.1646, allocations: 163.5 kB / 470.5 MB, free: 9.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02189/0.1865, allocations: 9.499 MB / 480 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008612/0.1952, allocations: 2.389 MB / 482.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005871/0.2011, allocations: 1.712 MB / 484.1 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02048/0.2215, allocations: 14.69 MB / 498.8 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06104/0.2826, allocations: 34.3 MB / 0.5206 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01407/0.2968, allocations: 8.062 MB / 0.5285 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2602/0.557, allocations: 8.833 MB / 0.5371 GB, free: 37.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007866/0.5649, allocations: 2.113 MB / 0.5392 GB, free: 37.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01161/0.5765, allocations: 2.345 MB / 0.5415 GB, free: 37.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01043/0.587, allocations: 4.396 MB / 0.5458 GB, free: 37.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02508/0.6121, allocations: 8.532 MB / 0.5541 GB, free: 34.6 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02989/0.642, allocations: 28.69 MB / 0.5821 GB, free: 18.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.6421, allocations: 0 / 0.5821 GB, free: 18.65 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.6421, allocations: 0 / 0.5821 GB, free: 18.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0008881/0.643, allocations: 0.5938 kB / 0.5821 GB, free: 18.65 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3927 * Number of variables: 3927 Notification: Performance of Generate backend data structure: time 0.06021/0.7032, allocations: 18.93 MB / 0.6006 GB, free: 6.102 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.7033, allocations: 12.03 kB / 0.6006 GB, free: 6.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06526/0.7685, allocations: 12.68 MB / 0.613 GB, free: 9.531 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02329/0.7919, allocations: 7.937 MB / 0.6207 GB, free: 1.934 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001335/0.7932, allocations: 1.078 MB / 0.6218 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005932/0.7992, allocations: 1.392 MB / 0.6231 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06982/0.869, allocations: 24.1 MB / 0.6467 GB, free: 7.336 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007685/0.8699, allocations: 19.73 kB / 0.6467 GB, free: 7.32 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004914/0.8748, allocations: 0.5795 MB / 0.6473 GB, free: 6.754 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007816/0.8756, allocations: 0.7335 MB / 0.648 GB, free: 6.02 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05142/0.927, allocations: 22.44 MB / 0.6699 GB, free: 15.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4433/1.37, allocations: 72.41 MB / 0.7406 GB, free: 118.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02667/1.397, allocations: 31.63 MB / 0.7715 GB, free: 94.76 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008785/1.406, allocations: 5.066 MB / 0.7764 GB, free: 94.69 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03481/1.441, allocations: 15.8 MB / 0.7919 GB, free: 93.14 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.93e-05/1.441, allocations: 87.28 kB / 0.7919 GB, free: 93.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=465): time 7.464e-06/1.441, allocations: 0 / 0.7919 GB, free: 93.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=465): time 0.03311/1.474, allocations: 15.66 MB / 0.8072 GB, free: 92.14 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/1.474, allocations: 129.1 kB / 0.8074 GB, free: 92.04 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008807/1.483, allocations: 5.25 MB / 0.8125 GB, free: 90.41 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.001093/1.484, allocations: 108.1 kB / 0.8126 GB, free: 90.32 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003697/1.488, allocations: 6.033 MB / 0.8185 GB, free: 85.23 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.002264/1.49, allocations: 1.601 MB / 0.82 GB, free: 83.86 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002726/1.493, allocations: 1.594 MB / 0.8216 GB, free: 82.98 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 5.486e-05/1.493, allocations: 305.1 kB / 0.8219 GB, free: 82.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005732/1.499, allocations: 4.207 MB / 0.826 GB, free: 80.47 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007056/1.506, allocations: 7.556 MB / 0.8334 GB, free: 73.26 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01392/1.52, allocations: 12.32 MB / 0.8454 GB, free: 59.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001046/1.52, allocations: 32 kB / 0.8454 GB, free: 59.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.02043/1.54, allocations: 13.45 MB / 0.8586 GB, free: 47 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.954e-05/1.54, allocations: 52 kB / 0.8586 GB, free: 46.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001851/1.541, allocations: 116 kB / 0.8587 GB, free: 46.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005361/1.546, allocations: 3.101 MB / 0.8618 GB, free: 43.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006097/1.552, allocations: 1.664 MB / 0.8634 GB, free: 42.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006776/1.553, allocations: 325.3 kB / 0.8637 GB, free: 41.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007681/1.561, allocations: 1.1 MB / 0.8648 GB, free: 40.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001891/1.562, allocations: 408 kB / 0.8652 GB, free: 40.42 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * 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 (853): * Single equations (assignments): 850 * 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.01176/1.574, allocations: 5.453 MB / 0.8705 GB, free: 35.08 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001795/1.576, allocations: 0.5054 MB / 0.871 GB, free: 34.57 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01606/1.592, allocations: 9.654 MB / 0.8804 GB, free: 24.89 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.235e-05/1.592, allocations: 55.88 kB / 0.8805 GB, free: 24.84 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/1.592, allocations: 0 / 0.8805 GB, free: 24.84 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-05/1.592, allocations: 27.91 kB / 0.8805 GB, free: 24.81 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03622/1.628, allocations: 20.85 MB / 0.9008 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/1.629, allocations: 3.984 kB / 0.9009 GB, free: 4.02 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002855/1.631, allocations: 0.7341 MB / 0.9016 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005202/1.637, allocations: 2.957 MB / 0.9045 GB, free: 360 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006611/1.637, allocations: 99.92 kB / 0.9046 GB, free: 260 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004572/1.638, allocations: 126.5 kB / 0.9047 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.638, allocations: 6.828 kB / 0.9047 GB, free: 120 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02362/1.661, allocations: 14.15 MB / 0.9185 GB, free: 1.941 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00449/1.666, allocations: 1.368 MB / 0.9198 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001471/1.667, allocations: 76 kB / 0.9199 GB, free: 484 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003111/1.671, allocations: 371.6 kB / 0.9203 GB, free: 112 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007323/1.671, allocations: 311.4 kB / 0.9206 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003501/1.672, allocations: 132 kB / 0.9207 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006689/1.678, allocations: 3.505 MB / 0.9241 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.028e-06/1.678, allocations: 0 / 0.9241 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01246/1.691, allocations: 3.242 MB / 0.9273 GB, free: 8.93 MB / 0.5606 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.001336/1.692, allocations: 262 kB / 0.9275 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02001/1.712, allocations: 10.04 MB / 0.9373 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.006e-06/1.712, allocations: 0 / 0.9373 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00912/1.721, allocations: 4.437 MB / 0.9417 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006856/1.728, allocations: 1.277 MB / 0.9429 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3021/2.03, allocations: 24.34 MB / 0.9667 GB, free: 203.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02056/2.051, allocations: 9.112 MB / 0.9756 GB, free: 202.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.009752/2.061, allocations: 2.941 MB / 0.9784 GB, free: 202.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002081/2.063, allocations: 387 kB / 0.9788 GB, free: 202.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.142e-06/2.063, allocations: 0 / 0.9788 GB, free: 202.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.1715/2.234, allocations: 91.72 MB / 1.068 GB, free: 131.4 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/Ideal/Ideal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches