Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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) 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(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 182.3 kB / 18.04 MB, free: 3.758 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.477/1.477, allocations: 205.4 MB / 224.2 MB, free: 9.039 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.0007972/0.0007971, allocations: 81.56 kB / 272.5 MB, free: 8.273 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003258/0.0003257, allocations: 15.98 kB / 329.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.225, allocations: 47.57 MB / 377 MB, free: 45.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09255/0.3176, allocations: 81.39 MB / 458.4 MB, free: 15.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.3179, allocations: 71.97 kB / 458.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0399/0.3579, allocations: 16 MB / 474.5 MB, free: 14.79 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.165e-06/0.3579, allocations: 4 kB / 474.5 MB, free: 14.79 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.825e-05/0.358, allocations: 35.98 kB / 474.5 MB, free: 14.75 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002072/0.3601, allocations: 1.11 MB / 475.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.3601, allocations: 8.031 kB / 475.6 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003148/0.3605, allocations: 131.3 kB / 475.8 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.3615, allocations: 0.5714 MB / 476.3 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.968e-05/0.3616, allocations: 74.38 kB / 476.4 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/0.3618, allocations: 104.3 kB / 476.5 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/0.3636, allocations: 1.032 MB / 477.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.42e-05/0.3636, allocations: 8.109 kB / 477.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.245e-05/0.3637, allocations: 47.94 kB / 477.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.368e-05/0.3638, allocations: 32 kB / 477.6 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001252/0.365, allocations: 0.5539 MB / 478.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005529/0.3706, allocations: 5.544 MB / 483.7 MB, free: 5.035 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000631/0.3713, allocations: 236.9 kB / 484 MB, free: 4.785 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003327/0.3716, allocations: 160.6 kB / 484.1 MB, free: 4.625 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002008/0.3718, allocations: 93.03 kB / 484.2 MB, free: 4.516 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/0.3719, allocations: 42.55 kB / 484.3 MB, free: 4.465 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 3.707e-06/0.3719, allocations: 0 / 484.3 MB, free: 4.465 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.004256/0.3762, allocations: 1.741 MB / 486 MB, free: 2.617 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.768e-05/0.3763, allocations: 85.11 kB / 486.1 MB, free: 2.516 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009219/0.3772, allocations: 0.6255 MB / 486.7 MB, free: 1.883 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.173e-05/0.3773, allocations: 33.7 kB / 486.7 MB, free: 1.844 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004142/0.3777, allocations: 0.5948 MB / 487.3 MB, free: 1.238 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.3778, allocations: 149.9 kB / 487.5 MB, free: 1.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.511e-05/0.3778, allocations: 16 kB / 487.5 MB, free: 1.074 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.3781, allocations: 390.7 kB / 487.9 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/0.3784, allocations: 157.9 kB / 488 MB, free: 0.5312 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005837/0.379, allocations: 0.4933 MB / 488.5 MB, free: 15.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.38, allocations: 0.7092 MB / 489.2 MB, free: 15 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.38, allocations: 4 kB / 489.2 MB, free: 15 MB / 378.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001219/0.3813, allocations: 0.724 MB / 490 MB, free: 14.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.341e-05/0.3813, allocations: 13 kB / 490 MB, free: 14.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/0.3813, allocations: 12 kB / 490 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.113e-05/0.3814, allocations: 23.98 kB / 490 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006847/0.3821, allocations: 195.7 kB / 490.2 MB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.23e-05/0.3821, allocations: 23.92 kB / 490.2 MB, free: 14.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003656/0.3825, allocations: 35.98 kB / 490.3 MB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.494e-05/0.3825, allocations: 39.94 kB / 490.3 MB, free: 13.93 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003879/0.3829, allocations: 233.5 kB / 490.5 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.383, allocations: 75.06 kB / 490.6 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.3832, allocations: 74.53 kB / 490.7 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.769e-06/0.3832, allocations: 8 kB / 490.7 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.3832, allocations: 3.938 kB / 490.7 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.3832, allocations: 0 / 490.7 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002174/0.3854, allocations: 1.364 MB / 492 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3854, allocations: 0 / 492 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004567/0.3859, allocations: 107.9 kB / 492.1 MB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.3859, allocations: 0 / 492.1 MB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.3859, allocations: 16.16 kB / 492.2 MB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.3859, allocations: 4 kB / 492.2 MB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.386, allocations: 7.984 kB / 492.2 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.3871, allocations: 0.7242 MB / 492.9 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.3872, allocations: 136.2 kB / 493 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.796e-05/0.3873, allocations: 12 kB / 493 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003289/0.3876, allocations: 28.02 kB / 493.1 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.293e-05/0.3877, allocations: 31.91 kB / 493.1 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.3877, allocations: 15.98 kB / 493.1 MB, free: 10.97 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004794/0.3882, allocations: 419 kB / 493.5 MB, free: 10.56 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3882, allocations: 0 / 493.5 MB, free: 10.56 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007044/0.3889, allocations: 140 kB / 493.7 MB, free: 10.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001738/0.3891, allocations: 126.8 kB / 493.8 MB, free: 10.3 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000836/0.39, allocations: 447.6 kB / 494.2 MB, free: 9.863 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.39, allocations: 0 / 494.2 MB, free: 9.863 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002893/0.3903, allocations: 165 kB / 494.4 MB, free: 9.703 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006937/0.391, allocations: 79.28 kB / 494.5 MB, free: 9.625 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003089/0.3941, allocations: 2.097 MB / 496.6 MB, free: 7.484 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005481/0.3946, allocations: 1 MB / 497.6 MB, free: 6.457 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003543/0.395, allocations: 94 kB / 497.7 MB, free: 6.363 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.3951, allocations: 63.41 kB / 497.7 MB, free: 6.301 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.3952, allocations: 0 / 497.7 MB, free: 6.301 MB / 378.7 MB Notification: Performance of Templates: time 0.01062/0.4058, allocations: 4.543 MB / 0.4905 GB, free: 1.762 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ResonanceCircuits.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches