Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [: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 3.2.3+maint.om/package.mo): time 0.0009826/0.0009826, allocations: 175.3 kB / 8.476 MB, free: 1.883 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.133/1.133, allocations: 205.2 MB / 214.1 MB, free: 5.418 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001357/0.001357, allocations: 98.22 kB / 262.1 MB, free: 5.484 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.392e-06/6.422e-06, allocations: 0 / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07618/0.0762, allocations: 47.57 MB / 362.5 MB, free: 9.977 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2541/0.3304, allocations: 85.37 MB / 447.9 MB, free: 10.33 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.3306, allocations: 81.7 kB / 448 MB, free: 10.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02582/0.3565, allocations: 8.882 MB / 456.9 MB, free: 7.395 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.3565, allocations: 5 kB / 456.9 MB, free: 7.395 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001158/0.3577, allocations: 0.602 MB / 457.5 MB, free: 6.906 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3578, allocations: 8.312 kB / 457.5 MB, free: 6.906 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.889e-05/0.3579, allocations: 37.72 kB / 457.5 MB, free: 6.887 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004761/0.3584, allocations: 317.6 kB / 457.8 MB, free: 6.637 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.261e-05/0.3584, allocations: 39.36 kB / 457.9 MB, free: 6.605 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.3586, allocations: 34.38 kB / 457.9 MB, free: 6.594 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004631/0.3591, allocations: 242.6 kB / 458.2 MB, free: 6.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004204/0.3595, allocations: 265.8 kB / 458.4 MB, free: 6.461 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.3595, allocations: 0 / 458.4 MB, free: 6.461 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.3596, allocations: 1.406 kB / 458.4 MB, free: 6.461 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.3596, allocations: 5.125 kB / 458.4 MB, free: 6.461 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001597/0.3612, allocations: 1.115 MB / 459.5 MB, free: 5.738 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.3615, allocations: 178 kB / 459.7 MB, free: 5.688 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002097/0.3617, allocations: 140.9 kB / 459.8 MB, free: 5.664 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.3618, allocations: 11.08 kB / 459.9 MB, free: 5.66 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.3618, allocations: 45.92 kB / 459.9 MB, free: 5.613 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 1.563e-06/0.3618, allocations: 0 / 459.9 MB, free: 5.613 MB / 314.7 MB Notification: Performance of matching and sorting (n=42): time 0.007916/0.3697, allocations: 1.912 MB / 461.8 MB, free: 4.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.644e-05/0.3698, allocations: 80.55 kB / 461.9 MB, free: 4.816 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/0.3701, allocations: 250.9 kB / 462.1 MB, free: 4.699 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.325e-05/0.3701, allocations: 26.83 kB / 462.2 MB, free: 4.668 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.214e-05/0.3702, allocations: 152.8 kB / 462.3 MB, free: 4.539 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.3703, allocations: 135.1 kB / 462.4 MB, free: 4.434 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.3703, allocations: 0 / 462.4 MB, free: 4.434 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.609e-05/0.3704, allocations: 344.3 kB / 462.8 MB, free: 4.105 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.3707, allocations: 130.9 kB / 462.9 MB, free: 4.105 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.3709, allocations: 189.1 kB / 463.1 MB, free: 4.047 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.3712, allocations: 154 kB / 463.2 MB, free: 4.027 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3712, allocations: 1.375 kB / 463.2 MB, free: 4.027 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.006786/0.378, allocations: 1.458 MB / 464.7 MB, free: 3.625 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.378, allocations: 5.531 kB / 464.7 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.378, allocations: 1.281 kB / 464.7 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006266/0.3843, allocations: 1.044 MB / 465.8 MB, free: 3.383 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003466/0.3847, allocations: 63.16 kB / 465.8 MB, free: 3.371 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.3952, allocations: 4.198 MB / 470 MB, free: 1.488 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005733/0.3958, allocations: 33.55 kB / 470 MB, free: 1.477 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.243e-05/0.3959, allocations: 22.95 kB / 470.1 MB, free: 1.469 MB / 314.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: 6 * 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 (31): * Single equations (assignments): 30 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0001767/0.396, allocations: 111 kB / 470.2 MB, free: 1.355 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.3962, allocations: 30.75 kB / 470.2 MB, free: 1.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/0.3977, allocations: 0.5664 MB / 470.8 MB, free: 1.176 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.3977, allocations: 9.062 kB / 470.8 MB, free: 1.172 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.3977, allocations: 1.062 kB / 470.8 MB, free: 1.172 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3977, allocations: 1 kB / 470.8 MB, free: 1.172 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002804/0.4005, allocations: 1.15 MB / 471.9 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.4005, allocations: 0 / 471.9 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005094/0.401, allocations: 99.81 kB / 472 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001579/0.4026, allocations: 260.2 kB / 472.3 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/0.4027, allocations: 3.25 kB / 472.3 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003264/0.406, allocations: 2.059 MB / 474.3 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.406, allocations: 0 / 474.3 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001809/0.4078, allocations: 0.9055 MB / 475.3 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.408, allocations: 143.9 kB / 475.4 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.132e-05/0.4081, allocations: 3.984 kB / 475.4 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004995/0.4086, allocations: 31.89 kB / 475.4 MB, free: 14.08 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.4087, allocations: 28.33 kB / 475.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.066e-05/0.4087, allocations: 19.8 kB / 475.5 MB, free: 14.04 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.000211/0.409, allocations: 194 kB / 475.7 MB, free: 13.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007846/0.4097, allocations: 120 kB / 475.8 MB, free: 13.77 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002979/0.4101, allocations: 154.5 kB / 475.9 MB, free: 13.62 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000846/0.4109, allocations: 474.5 kB / 476.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.4109, allocations: 4.062 kB / 476.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000402/0.4113, allocations: 311.8 kB / 476.7 MB, free: 13.03 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.4117, allocations: 32.19 kB / 476.7 MB, free: 13 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.4134, allocations: 0.7193 MB / 477.5 MB, free: 12.33 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004803/0.4139, allocations: 0.8275 MB / 478.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4139, allocations: 0 / 478.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of Templates: time 0.01328/0.4272, allocations: 7.849 MB / 486.1 MB, free: 3.652 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches