Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [: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.001245/0.001245, allocations: 184.2 kB / 8.136 MB, free: 2.207 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.364/1.364, allocations: 221.4 MB / 229.9 MB, free: 3.074 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.0009322/0.0009321, allocations: 102.1 kB / 280.8 MB, free: 1.273 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.34e-06/5.36e-06, allocations: 0 / 336.5 MB, free: 9.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1656, allocations: 50.39 MB / 386.9 MB, free: 37.98 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08876/0.2544, allocations: 85.74 MB / 472.7 MB, free: 1.051 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.2547, allocations: 88.61 kB / 472.7 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1982/0.4529, allocations: 38.36 MB / 0.4991 GB, free: 99.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001148/0.4531, allocations: 33.78 kB / 0.4992 GB, free: 99.17 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001744/0.4548, allocations: 1.937 MB / 0.501 GB, free: 98.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.122e-05/0.4548, allocations: 10 kB / 0.5011 GB, free: 98.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002857/0.4551, allocations: 278.8 kB / 0.5013 GB, free: 97.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/0.4576, allocations: 1.883 MB / 0.5032 GB, free: 97.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.319e-05/0.4577, allocations: 44.58 kB / 0.5032 GB, free: 97.36 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.4578, allocations: 38.28 kB / 0.5032 GB, free: 97.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004571/0.4583, allocations: 270 kB / 0.5035 GB, free: 97.36 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004376/0.4587, allocations: 323.8 kB / 0.5038 GB, free: 97.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.424e-05/0.4588, allocations: 0 / 0.5038 GB, free: 97.29 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.098e-05/0.4588, allocations: 3.375 kB / 0.5038 GB, free: 97.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.4588, allocations: 6.469 kB / 0.5038 GB, free: 97.29 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003364/0.4622, allocations: 3.006 MB / 0.5067 GB, free: 96.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.4624, allocations: 180.9 kB / 0.5069 GB, free: 96.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/0.4626, allocations: 141.1 kB / 0.5071 GB, free: 95.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.4627, allocations: 14.44 kB / 0.5071 GB, free: 95.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.42e-05/0.4627, allocations: 35.62 kB / 0.5071 GB, free: 95.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=37): time 1.643e-06/0.4627, allocations: 3.625 kB / 0.5071 GB, free: 95.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.002865/0.4656, allocations: 2.043 MB / 0.5091 GB, free: 94.68 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.822e-05/0.4656, allocations: 93.36 kB / 0.5092 GB, free: 94.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007663/0.4733, allocations: 4.691 MB / 0.5138 GB, free: 92.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.205e-05/0.4734, allocations: 25.7 kB / 0.5138 GB, free: 92.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002663/0.4736, allocations: 495.9 kB / 0.5143 GB, free: 92.19 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.4737, allocations: 161.9 kB / 0.5144 GB, free: 92.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.4738, allocations: 0 / 0.5144 GB, free: 92.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.264e-05/0.4738, allocations: 321.4 kB / 0.5147 GB, free: 91.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002006/0.4741, allocations: 125.4 kB / 0.5149 GB, free: 91.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.4743, allocations: 197.3 kB / 0.515 GB, free: 91.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/0.4745, allocations: 150.1 kB / 0.5152 GB, free: 91.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4745, allocations: 4 kB / 0.5152 GB, free: 91.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002298/0.4768, allocations: 1.016 MB / 0.5162 GB, free: 90.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.4769, allocations: 8 kB / 0.5162 GB, free: 90.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.4769, allocations: 0 / 0.5162 GB, free: 90.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000435/0.4773, allocations: 144.8 kB / 0.5163 GB, free: 90.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/0.4777, allocations: 98.66 kB / 0.5164 GB, free: 90.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006981/0.4784, allocations: 0.7611 MB / 0.5172 GB, free: 89.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005638/0.479, allocations: 15.45 kB / 0.5172 GB, free: 89.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.038e-05/0.4791, allocations: 20 kB / 0.5172 GB, free: 89.37 MB / 378.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: core.Hstat:VARIABLE(unit = "A/m" ) "Static (ferromagnetic) portion of the magnetic field strength" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001327/0.4792, allocations: 104.9 kB / 0.5173 GB, free: 89.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003181/0.4795, allocations: 272.5 kB / 0.5176 GB, free: 88.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001146/0.4807, allocations: 0.7383 MB / 0.5183 GB, free: 88.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.4807, allocations: 8.688 kB / 0.5183 GB, free: 88.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.4807, allocations: 3.938 kB / 0.5183 GB, free: 88.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.4807, allocations: 3.891 kB / 0.5183 GB, free: 88.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.4822, allocations: 1.616 MB / 0.5199 GB, free: 87.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4822, allocations: 0 / 0.5199 GB, free: 87.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004679/0.4827, allocations: 104.2 kB / 0.52 GB, free: 87.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002282/0.4829, allocations: 88.56 kB / 0.5201 GB, free: 87.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.808e-05/0.483, allocations: 8 kB / 0.5201 GB, free: 87.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004286/0.4834, allocations: 0.6479 MB / 0.5207 GB, free: 86.37 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4834, allocations: 0 / 0.5207 GB, free: 86.37 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001136/0.4845, allocations: 1.036 MB / 0.5217 GB, free: 85.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009175/0.4855, allocations: 0.6715 MB / 0.5224 GB, free: 84.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002907/0.4858, allocations: 4.938 kB / 0.5224 GB, free: 84.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005594/0.4863, allocations: 23.73 kB / 0.5224 GB, free: 84.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.12e-05/0.4864, allocations: 23.03 kB / 0.5224 GB, free: 84.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.4865, allocations: 12 kB / 0.5224 GB, free: 84.67 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.004015/0.4905, allocations: 3.647 MB / 0.526 GB, free: 81.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000784/0.4913, allocations: 292 kB / 0.5263 GB, free: 81.13 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006282/0.4919, allocations: 334.8 kB / 0.5266 GB, free: 80.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000587/0.4925, allocations: 341.2 kB / 0.5269 GB, free: 80.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4925, allocations: 0 / 0.5269 GB, free: 80.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00027/0.4928, allocations: 192.5 kB / 0.5271 GB, free: 80.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008133/0.4936, allocations: 160.1 kB / 0.5272 GB, free: 80.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006658/0.5003, allocations: 4.814 MB / 0.5319 GB, free: 75.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001592/0.5019, allocations: 1.993 MB / 0.5339 GB, free: 73.73 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5019, allocations: 0 / 0.5339 GB, free: 73.73 MB / 378.7 MB Notification: Performance of Templates: time 0.02883/0.5308, allocations: 13.34 MB / 0.5469 GB, free: 60.5 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches