Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_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 trunk/package.mo): time 0.001096/0.001096, allocations: 207.8 kB / 8.537 MB, free: 476 kB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.301/1.301, allocations: 225.5 MB / 234.4 MB, free: 9.461 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001055/0.001054, allocations: 100.1 kB / 286.3 MB, free: 5.844 MB / 226.8 MB Notification: Performance of FrontEnd - loaded program: time 7.965e-06/7.995e-06, allocations: 0 / 343.1 MB, free: 13.03 MB / 290.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2726, allocations: 51.46 MB / 394.6 MB, free: 47.59 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1109/0.3835, allocations: 89 MB / 483.6 MB, free: 2.945 MB / 354.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002027/0.3838, allocations: 83.95 kB / 483.7 MB, free: 2.863 MB / 354.8 MB Notification: Performance of FrontEnd: time 0.02974/0.4135, allocations: 9.219 MB / 492.9 MB, free: 9.703 MB / 370.8 MB Notification: Performance of Transformations before backend: time 2.329e-05/0.4136, allocations: 8 kB / 492.9 MB, free: 9.695 MB / 370.8 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.001255/0.4149, allocations: 0.5998 MB / 493.5 MB, free: 9.051 MB / 370.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.4149, allocations: 8.031 kB / 493.5 MB, free: 9.043 MB / 370.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002515/0.4152, allocations: 55.52 kB / 493.6 MB, free: 8.988 MB / 370.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005652/0.4157, allocations: 308.2 kB / 493.9 MB, free: 8.645 MB / 370.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.12e-05/0.4158, allocations: 38.36 kB / 493.9 MB, free: 8.602 MB / 370.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001864/0.416, allocations: 31.89 kB / 493.9 MB, free: 8.57 MB / 370.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005207/0.4166, allocations: 245.7 kB / 494.2 MB, free: 8.332 MB / 370.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/0.4171, allocations: 260.3 kB / 494.4 MB, free: 8.062 MB / 370.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.4171, allocations: 3.938 kB / 494.4 MB, free: 8.059 MB / 370.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.175e-05/0.4171, allocations: 0 / 494.4 MB, free: 8.059 MB / 370.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.4171, allocations: 8 kB / 494.4 MB, free: 8.051 MB / 370.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.4191, allocations: 1.113 MB / 495.6 MB, free: 6.879 MB / 370.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/0.4195, allocations: 182.3 kB / 495.7 MB, free: 6.688 MB / 370.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002146/0.4197, allocations: 134.1 kB / 495.9 MB, free: 6.551 MB / 370.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.4197, allocations: 11.98 kB / 495.9 MB, free: 6.539 MB / 370.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.4198, allocations: 46.55 kB / 495.9 MB, free: 6.484 MB / 370.8 MB Notification: Performance of pre-optimization done (n=31): time 1.884e-06/0.4198, allocations: 0 / 495.9 MB, free: 6.484 MB / 370.8 MB Notification: Performance of matching and sorting (n=42): time 0.007928/0.4277, allocations: 1.911 MB / 497.8 MB, free: 4.52 MB / 370.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/0.4278, allocations: 81.11 kB / 497.9 MB, free: 4.422 MB / 370.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003353/0.4281, allocations: 244 kB / 498.2 MB, free: 4.176 MB / 370.8 MB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/0.4282, allocations: 29.7 kB / 498.2 MB, free: 4.141 MB / 370.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.485e-05/0.4283, allocations: 148.4 kB / 498.3 MB, free: 3.992 MB / 370.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.4284, allocations: 137.9 kB / 498.5 MB, free: 3.855 MB / 370.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.4284, allocations: 0 / 498.5 MB, free: 3.855 MB / 370.8 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.4286, allocations: 342.8 kB / 498.8 MB, free: 3.512 MB / 370.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.4288, allocations: 128.9 kB / 498.9 MB, free: 3.383 MB / 370.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002911/0.4291, allocations: 193 kB / 499.1 MB, free: 3.176 MB / 370.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000282/0.4294, allocations: 149.6 kB / 499.3 MB, free: 3.031 MB / 370.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.4294, allocations: 3.938 kB / 499.3 MB, free: 3.027 MB / 370.8 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.006554/0.436, allocations: 1.451 MB / 0.489 GB, free: 1.562 MB / 370.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.436, allocations: 4 kB / 0.489 GB, free: 1.559 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.4361, allocations: 4 kB / 0.489 GB, free: 1.555 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006253/0.4423, allocations: 1.041 MB / 0.49 GB, free: 0.5117 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003315/0.4427, allocations: 63.91 kB / 0.4901 GB, free: 460 kB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01065/0.4533, allocations: 4.214 MB / 0.4942 GB, free: 12.12 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005166/0.4539, allocations: 35.95 kB / 0.4942 GB, free: 12.09 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.867e-05/0.454, allocations: 15.98 kB / 0.4942 GB, free: 12.07 MB / 386.8 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.0002011/0.4542, allocations: 112.9 kB / 0.4943 GB, free: 11.95 MB / 386.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.4543, allocations: 31.62 kB / 0.4944 GB, free: 11.92 MB / 386.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001507/0.4558, allocations: 0.554 MB / 0.4949 GB, free: 11.36 MB / 386.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.4559, allocations: 4 kB / 0.4949 GB, free: 11.36 MB / 386.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.4559, allocations: 1.031 kB / 0.4949 GB, free: 11.36 MB / 386.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.4559, allocations: 8 kB / 0.4949 GB, free: 11.35 MB / 386.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003006/0.4589, allocations: 1.142 MB / 0.496 GB, free: 10.16 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.4589, allocations: 4 kB / 0.496 GB, free: 10.16 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000505/0.4594, allocations: 99.88 kB / 0.4961 GB, free: 10.06 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001544/0.461, allocations: 260.5 kB / 0.4964 GB, free: 9.801 MB / 386.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.125e-05/0.461, allocations: 6.438 kB / 0.4964 GB, free: 9.797 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003322/0.4644, allocations: 2.052 MB / 0.4984 GB, free: 7.625 MB / 386.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4644, allocations: 4 kB / 0.4984 GB, free: 7.621 MB / 386.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001853/0.4663, allocations: 0.8985 MB / 0.4993 GB, free: 6.695 MB / 386.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/0.4665, allocations: 148.7 kB / 0.4994 GB, free: 6.531 MB / 386.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.675e-05/0.4666, allocations: 7.891 kB / 0.4994 GB, free: 6.523 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004785/0.467, allocations: 23.98 kB / 0.4994 GB, free: 6.5 MB / 386.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.362e-05/0.4671, allocations: 32.39 kB / 0.4995 GB, free: 6.469 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/0.4672, allocations: 15.98 kB / 0.4995 GB, free: 6.453 MB / 386.8 MB Notification: Performance of sort global known variables: time 0.0002207/0.4674, allocations: 192.5 kB / 0.4997 GB, free: 6.266 MB / 386.8 MB Notification: Performance of remove unused functions: time 0.0007062/0.4681, allocations: 123.9 kB / 0.4998 GB, free: 6.145 MB / 386.8 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.0003339/0.4685, allocations: 165.4 kB / 0.5 GB, free: 5.98 MB / 386.8 MB Notification: Performance of simCode: created initialization part: time 0.0009028/0.4694, allocations: 485.7 kB / 0.5004 GB, free: 5.496 MB / 386.8 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.4694, allocations: 4.312 kB / 0.5004 GB, free: 5.492 MB / 386.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004361/0.4698, allocations: 311.3 kB / 0.5007 GB, free: 5.176 MB / 386.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.4702, allocations: 20.42 kB / 0.5007 GB, free: 5.156 MB / 386.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.472, allocations: 0.7198 MB / 0.5014 GB, free: 4.422 MB / 386.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004633/0.4724, allocations: 0.8353 MB / 0.5023 GB, free: 3.559 MB / 386.8 MB Notification: Performance of SimCode: time 2.71e-07/0.4724, allocations: 0 / 0.5023 GB, free: 3.559 MB / 386.8 MB Notification: Performance of Templates: time 0.01358/0.486, allocations: 7.848 MB / 0.5099 GB, free: 11.82 MB / 402.8 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches