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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001608/0.001608, allocations: 181.8 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.722/1.722, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009167/0.0009166, allocations: 82.89 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2638/0.2638, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004352/0.0004353, allocations: 11.98 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1474, allocations: 58.86 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4817/0.6291, allocations: 113.2 MB / 0.5893 GB, free: 2.734 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/0.6295, allocations: 84.08 kB / 0.5894 GB, free: 2.691 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.525/2.154, allocations: 469.4 MB / 1.048 GB, free: 29.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.487e-06/2.154, allocations: 0 / 1.048 GB, free: 29.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0008169/2.155, allocations: 302.3 kB / 1.048 GB, free: 29.45 MB / 0.4948 GB 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.06181/2.217, allocations: 14.07 MB / 1.062 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/2.217, allocations: 12.03 kB / 1.062 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04524/2.262, allocations: 8.574 MB / 1.07 GB, free: 6.887 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02875/2.291, allocations: 8.828 MB / 1.079 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002174/2.293, allocations: 1.031 MB / 1.08 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00843/2.302, allocations: 1.309 MB / 1.081 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8783/3.18, allocations: 24.94 MB / 1.105 GB, free: 42.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001474/3.182, allocations: 19.48 kB / 1.105 GB, free: 42.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01087/3.193, allocations: 0.5688 MB / 1.106 GB, free: 42.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003097/3.196, allocations: 0.9291 MB / 1.107 GB, free: 42.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06821/3.264, allocations: 22.55 MB / 1.129 GB, free: 42.78 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2008/3.465, allocations: 76.38 MB / 1.204 GB, free: 20.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0373/3.502, allocations: 21.07 MB / 1.224 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1219/3.624, allocations: 37.43 MB / 1.261 GB, free: 4.09 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/3.624, allocations: 133.9 kB / 1.261 GB, free: 3.949 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=1188): time 2.387e-05/3.624, allocations: 0 / 1.261 GB, free: 3.949 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1188): time 0.1105/3.735, allocations: 38.18 MB / 1.298 GB, free: 4.336 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002736/3.735, allocations: 179.5 kB / 1.298 GB, free: 4.145 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01014/3.746, allocations: 3.095 MB / 1.301 GB, free: 1.598 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.004464/3.75, allocations: 173.7 kB / 1.301 GB, free: 1.422 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.5203/4.27, allocations: 4.47 MB / 1.306 GB, free: 94.55 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.009696/4.28, allocations: 3.87 MB / 1.31 GB, free: 92.04 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001926/4.282, allocations: 172.4 kB / 1.31 GB, free: 92.04 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.001347/4.283, allocations: 0.7497 MB / 1.311 GB, free: 91.72 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0178/4.301, allocations: 8.076 MB / 1.318 GB, free: 91.7 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02415/4.325, allocations: 9.57 MB / 1.328 GB, free: 90.41 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02261/4.348, allocations: 9.408 MB / 1.337 GB, free: 90.29 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002425/4.348, allocations: 10.88 kB / 1.337 GB, free: 90.29 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1360) (initialization): time 0.07428/4.423, allocations: 23.95 MB / 1.36 GB, free: 89.63 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001911/4.423, allocations: 21.72 kB / 1.36 GB, free: 89.63 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002274/4.423, allocations: 37.16 kB / 1.36 GB, free: 89.63 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02675/4.45, allocations: 10.35 MB / 1.37 GB, free: 89.27 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007638/4.458, allocations: 1.349 MB / 1.372 GB, free: 89.27 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04249/4.5, allocations: 19.53 MB / 1.391 GB, free: 84.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01242/4.513, allocations: 1.121 MB / 1.392 GB, free: 83.7 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00558/4.518, allocations: 391.7 kB / 1.392 GB, free: 83.61 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * 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 initialization (695): * Single equations (assignments): 628 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 63 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,99 312} Notification: Performance of prepare postOptimizeDAE: time 0.02397/4.542, allocations: 5.384 MB / 1.398 GB, free: 81.32 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00671/4.549, allocations: 0.5967 MB / 1.398 GB, free: 81 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0787/4.628, allocations: 24.71 MB / 1.422 GB, free: 70.93 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008511/4.629, allocations: 331.9 kB / 1.423 GB, free: 70.76 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.934e-05/4.629, allocations: 0 / 1.423 GB, free: 70.76 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003992/4.629, allocations: 49.83 kB / 1.423 GB, free: 70.76 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1187/4.748, allocations: 43.7 MB / 1.465 GB, free: 36.93 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002012/4.748, allocations: 4 kB / 1.465 GB, free: 36.93 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00603/4.754, allocations: 1.085 MB / 1.466 GB, free: 36.11 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02355/4.778, allocations: 10.32 MB / 1.477 GB, free: 27.56 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003776/4.782, allocations: 247.5 kB / 1.477 GB, free: 27.35 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03333/4.815, allocations: 19.47 MB / 1.496 GB, free: 10.3 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/4.815, allocations: 3.625 kB / 1.496 GB, free: 10.3 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5956/5.411, allocations: 38.35 MB / 1.533 GB, free: 87.35 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01186/5.423, allocations: 2.688 MB / 1.536 GB, free: 87.25 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004568/5.427, allocations: 153 kB / 1.536 GB, free: 87.25 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009246/5.437, allocations: 0.5295 MB / 1.536 GB, free: 87.25 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00529/5.442, allocations: 0.8911 MB / 1.537 GB, free: 87.25 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002365/5.444, allocations: 307 kB / 1.538 GB, free: 87.25 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.004252/5.449, allocations: 2.366 MB / 1.54 GB, free: 87.1 MB / 0.5574 GB Notification: Performance of sort global known variables: time 3.81e-07/5.449, allocations: 0.7656 kB / 1.54 GB, free: 87.1 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01735/5.466, allocations: 3.476 MB / 1.543 GB, free: 86.95 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealClosingSwitch.idealClosingSwitch[1].pin_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 (565): * Single equations (assignments): 498 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 63 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {6 9,6 9,6 9,99 312} Notification: Performance of Backend phase and start with SimCode phase: time 0.003985/5.47, allocations: 359.6 kB / 1.544 GB, free: 86.87 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.04873/5.519, allocations: 20.18 MB / 1.563 GB, free: 86.49 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/5.519, allocations: 6.188 kB / 1.563 GB, free: 86.49 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.03122/5.55, allocations: 11.13 MB / 1.574 GB, free: 86.07 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01377/5.564, allocations: 1.166 MB / 1.575 GB, free: 86.04 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.111/5.675, allocations: 37.99 MB / 1.613 GB, free: 73.82 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02924/5.704, allocations: 9.711 MB / 1.622 GB, free: 71.14 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01085/5.715, allocations: 2.113 MB / 1.624 GB, free: 70.93 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003583/5.719, allocations: 384.5 kB / 1.624 GB, free: 70.89 MB / 0.5574 GB Notification: Performance of SimCode: time 2.915e-06/5.719, allocations: 0 / 1.624 GB, free: 70.89 MB / 0.5574 GB Notification: Performance of Templates: time 0.8621/6.581, allocations: 201.7 MB / 1.821 GB, free: 79.05 MB / 0.5574 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/Ideal/Ideal.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches