Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance") [: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.001021/0.001021, allocations: 182.8 kB / 8.137 MB, free: 2.184 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.216/1.216, allocations: 221.4 MB / 229.9 MB, free: 3 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.0009531/0.0009531, allocations: 102.9 kB / 280.8 MB, free: 1.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.224e-06/7.254e-06, allocations: 4 kB / 336.5 MB, free: 9.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2157, allocations: 50.4 MB / 386.9 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0917/0.3075, allocations: 82.01 MB / 468.9 MB, free: 4.789 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002287/0.3078, allocations: 91.59 kB / 469 MB, free: 4.703 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03803/0.3458, allocations: 14.96 MB / 484 MB, free: 5.621 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.475e-05/0.3459, allocations: 4 kB / 484 MB, free: 5.617 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.00171/0.3476, allocations: 0.7406 MB / 484.7 MB, free: 4.832 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3476, allocations: 15.97 kB / 484.7 MB, free: 4.816 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002589/0.3502, allocations: 383 kB / 485.1 MB, free: 4.441 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000416/0.3507, allocations: 306.4 kB / 485.4 MB, free: 4.102 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.3507, allocations: 16.75 kB / 485.4 MB, free: 4.086 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.666e-05/0.3508, allocations: 32 kB / 485.5 MB, free: 4.055 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000992/0.3518, allocations: 0.5024 MB / 486 MB, free: 3.551 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007297/0.3525, allocations: 399.9 kB / 486.3 MB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.3526, allocations: 0 / 486.3 MB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-05/0.3526, allocations: 4 kB / 486.3 MB, free: 3.152 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.618e-05/0.3526, allocations: 12 kB / 486.4 MB, free: 3.141 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002957/0.3556, allocations: 1.785 MB / 488.1 MB, free: 1.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007693/0.3564, allocations: 424.1 kB / 488.6 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/0.3567, allocations: 162.2 kB / 488.7 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.962e-05/0.3568, allocations: 93.52 kB / 488.8 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/0.3568, allocations: 39 kB / 488.8 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of pre-optimization done (n=47): time 2.695e-06/0.3568, allocations: 0 / 488.8 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of matching and sorting (n=47): time 0.001058/0.3579, allocations: 431.6 kB / 489.3 MB, free: 72 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.3579, allocations: 55.84 kB / 489.3 MB, free: 4 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.3581, allocations: 153.2 kB / 489.5 MB, free: 15.85 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.052e-05/0.3582, allocations: 29.64 kB / 489.5 MB, free: 15.81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.3583, allocations: 220.3 kB / 489.7 MB, free: 15.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.3584, allocations: 149.8 kB / 489.9 MB, free: 15.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.981e-05/0.3584, allocations: 0 / 489.9 MB, free: 15.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3586, allocations: 338.7 kB / 490.2 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00022/0.3588, allocations: 133 kB / 490.3 MB, free: 14.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000304/0.3591, allocations: 199.3 kB / 490.5 MB, free: 14.76 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004528/0.3596, allocations: 188.7 kB / 490.7 MB, free: 14.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3596, allocations: 0 / 490.7 MB, free: 14.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001035/0.3606, allocations: 0.4919 MB / 491.2 MB, free: 14.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.3606, allocations: 8 kB / 491.2 MB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/0.3607, allocations: 7.984 kB / 491.2 MB, free: 14.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003454/0.361, allocations: 80.81 kB / 491.3 MB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000431/0.3615, allocations: 95.83 kB / 491.4 MB, free: 13.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002046/0.3635, allocations: 1.728 MB / 493.1 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003305/0.3639, allocations: 39.66 kB / 493.1 MB, free: 12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.181e-05/0.3639, 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: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 49 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.364, allocations: 112.9 kB / 493.3 MB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.599e-05/0.3641, allocations: 27.72 kB / 493.3 MB, free: 11.83 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001148/0.3653, allocations: 0.5023 MB / 493.8 MB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3653, allocations: 4 kB / 493.8 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.3653, allocations: 4 kB / 493.8 MB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/0.3653, allocations: 3.984 kB / 493.8 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001717/0.367, allocations: 1.044 MB / 494.9 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.3671, allocations: 0 / 494.9 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004082/0.3675, allocations: 79.83 kB / 494.9 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003041/0.3678, allocations: 88.81 kB / 495 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.3678, allocations: 4 kB / 495 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/0.3697, allocations: 1.716 MB / 496.8 MB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/0.3697, allocations: 7.906 kB / 496.8 MB, free: 8.188 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001314/0.371, allocations: 0.7355 MB / 497.5 MB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.969e-05/0.3711, allocations: 108.8 kB / 497.6 MB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.405e-05/0.3712, allocations: 0 / 497.6 MB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.3715, allocations: 19.98 kB / 497.6 MB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.277e-05/0.3715, allocations: 20.48 kB / 497.6 MB, free: 7.273 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.3716, allocations: 27.84 kB / 497.7 MB, free: 7.246 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.979e-05/0.3717, allocations: 115.3 kB / 497.8 MB, free: 7.133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006106/0.3723, allocations: 147.5 kB / 497.9 MB, free: 6.988 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (capacitor.pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * 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%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002624/0.3726, allocations: 139.1 kB / 498.1 MB, free: 6.844 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008668/0.3735, allocations: 0.4896 MB / 498.6 MB, free: 6.344 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3735, allocations: 0 / 498.6 MB, free: 6.344 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004723/0.3739, allocations: 335.6 kB / 498.9 MB, free: 6.008 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.3742, allocations: 16.11 kB / 498.9 MB, free: 5.992 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.3754, allocations: 0.5369 MB / 499.4 MB, free: 5.422 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005389/0.376, allocations: 0.8617 MB / 0.4886 GB, free: 4.535 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.376, allocations: 0 / 0.4886 GB, free: 4.535 MB / 378.7 MB Notification: Performance of Templates: time 0.1281/0.5041, allocations: 4.936 MB / 0.4934 GB, free: 132.7 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches