Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 186.7 kB / 8.134 MB, free: 2.09 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.223/1.223, allocations: 221.4 MB / 230 MB, free: 3.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009282/0.0009282, allocations: 97.38 kB / 280.8 MB, free: 1.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.081e-06/6.091e-06, allocations: 0 / 336.5 MB, free: 9.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.201, allocations: 50.39 MB / 386.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08967/0.2907, allocations: 82.03 MB / 468.9 MB, free: 4.785 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.291, allocations: 75.95 kB / 469 MB, free: 4.711 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03661/0.3276, allocations: 15.05 MB / 484.1 MB, free: 5.531 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.954e-05/0.3277, allocations: 11.94 kB / 484.1 MB, free: 5.52 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.001558/0.3293, allocations: 0.7485 MB / 484.8 MB, free: 4.727 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3293, allocations: 12.03 kB / 484.8 MB, free: 4.715 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002529/0.3318, allocations: 383 kB / 485.2 MB, free: 4.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.3322, allocations: 302.4 kB / 485.5 MB, free: 4.004 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.3323, allocations: 16 kB / 485.5 MB, free: 3.988 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-05/0.3324, allocations: 35.94 kB / 485.6 MB, free: 3.953 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008816/0.3333, allocations: 0.5189 MB / 486.1 MB, free: 3.434 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006911/0.334, allocations: 407.9 kB / 486.5 MB, free: 3.031 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.334, allocations: 4 kB / 486.5 MB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.058e-05/0.334, allocations: 0 / 486.5 MB, free: 3.027 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.3341, allocations: 12 kB / 486.5 MB, free: 3.016 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002984/0.337, allocations: 1.818 MB / 488.3 MB, free: 1.105 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000617/0.3377, allocations: 399.4 kB / 488.7 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003359/0.338, allocations: 222.1 kB / 488.9 MB, free: 496 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.676e-05/0.3381, allocations: 93.52 kB / 489 MB, free: 380 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.3382, allocations: 43.84 kB / 489 MB, free: 328 kB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 2.525e-06/0.3382, allocations: 0 / 489 MB, free: 328 kB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.001012/0.3392, allocations: 427.6 kB / 489.5 MB, free: 15.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.154e-05/0.3392, allocations: 55.84 kB / 489.5 MB, free: 15.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.3394, allocations: 145.4 kB / 489.7 MB, free: 15.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.239e-05/0.3395, allocations: 29.7 kB / 489.7 MB, free: 15.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.3396, allocations: 220.3 kB / 489.9 MB, free: 15.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.3397, allocations: 157.7 kB / 490.1 MB, free: 15.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/0.3397, allocations: 0 / 490.1 MB, free: 15.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.3398, allocations: 334.7 kB / 490.4 MB, free: 14.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.3401, allocations: 137 kB / 490.5 MB, free: 14.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002592/0.3403, allocations: 213 kB / 490.7 MB, free: 14.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004392/0.3408, allocations: 184.7 kB / 490.9 MB, free: 14.38 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.3408, allocations: 0 / 490.9 MB, free: 14.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001022/0.3418, allocations: 0.4956 MB / 491.4 MB, free: 13.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3418, allocations: 4 kB / 491.4 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.3418, allocations: 0 / 491.4 MB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003633/0.3422, allocations: 85.08 kB / 491.5 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004565/0.3427, allocations: 95.89 kB / 491.6 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.3443, allocations: 1.548 MB / 493.1 MB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003099/0.3446, allocations: 35.66 kB / 493.2 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.845e-05/0.3447, allocations: 23.98 kB / 493.2 MB, free: 11.97 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001162/0.3448, allocations: 123.6 kB / 493.3 MB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.916e-05/0.3449, allocations: 19.72 kB / 493.3 MB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.3461, allocations: 0.5065 MB / 493.8 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.3461, allocations: 4 kB / 493.8 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.3461, allocations: 4 kB / 493.8 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.3461, allocations: 0 / 493.8 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.3478, allocations: 1.089 MB / 494.9 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.3478, allocations: 0 / 494.9 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003879/0.3482, allocations: 87.95 kB / 495 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002694/0.3485, allocations: 76.72 kB / 495.1 MB, free: 9.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-05/0.3485, allocations: 8 kB / 495.1 MB, free: 9.973 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001484/0.35, allocations: 1.53 MB / 496.6 MB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.3501, allocations: 8 kB / 496.6 MB, free: 8.32 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001241/0.3513, allocations: 0.7743 MB / 497.4 MB, free: 7.508 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.841e-05/0.3514, allocations: 108.7 kB / 497.5 MB, free: 7.383 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.3515, allocations: 7.906 kB / 497.5 MB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.3517, allocations: 15.92 kB / 497.5 MB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.151e-05/0.3518, allocations: 28.41 kB / 497.6 MB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.063e-05/0.3519, allocations: 15.98 kB / 497.6 MB, free: 7.316 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.324e-05/0.3519, allocations: 123.3 kB / 497.7 MB, free: 7.195 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005311/0.3525, allocations: 135.5 kB / 497.8 MB, free: 7.062 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 43 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002576/0.3527, allocations: 143.1 kB / 498 MB, free: 6.914 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008322/0.3536, allocations: 0.4974 MB / 498.5 MB, free: 6.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3536, allocations: 0.5625 kB / 498.5 MB, free: 6.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004559/0.3541, allocations: 343.1 kB / 498.8 MB, free: 6.062 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.3543, allocations: 13.3 kB / 498.8 MB, free: 6.051 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.3555, allocations: 0.5581 MB / 499.4 MB, free: 5.457 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004673/0.3559, allocations: 0.8462 MB / 0.4885 GB, free: 4.582 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.3559, allocations: 0 / 0.4885 GB, free: 4.582 MB / 378.7 MB Notification: Performance of Templates: time 0.1152/0.4711, allocations: 4.95 MB / 0.4933 GB, free: 133 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches