Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001635/0.001635, allocations: 173.8 kB / 8.141 MB, free: 0.7266 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.986/1.986, allocations: 205.2 MB / 213.7 MB, free: 1.895 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.0013/0.001299, allocations: 79.41 kB / 261.8 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.558e-06/9.648e-06, allocations: 0 / 314.3 MB, free: 23.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09902/0.09906, allocations: 47.58 MB / 361.8 MB, free: 7.766 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3264/0.4256, allocations: 85.69 MB / 447.5 MB, free: 10.01 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/0.426, allocations: 78.64 kB / 447.6 MB, free: 9.973 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.04563/0.4716, allocations: 8.892 MB / 456.5 MB, free: 2.742 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.974e-05/0.4717, allocations: 4 kB / 456.5 MB, free: 2.738 MB / 330.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.001698/0.4734, allocations: 0.5971 MB / 457.1 MB, free: 2.117 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.4734, allocations: 8.031 kB / 457.1 MB, free: 2.109 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.4736, allocations: 43.47 kB / 457.2 MB, free: 2.066 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006051/0.4742, allocations: 313.2 kB / 457.5 MB, free: 1.766 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.474e-05/0.4743, allocations: 46.34 kB / 457.5 MB, free: 1.715 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002517/0.4746, allocations: 35.86 kB / 457.5 MB, free: 1.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007402/0.4753, allocations: 244 kB / 457.8 MB, free: 1.523 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006524/0.476, allocations: 257.8 kB / 458 MB, free: 1.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.476, allocations: 3.984 kB / 458 MB, free: 1.316 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.086e-05/0.4761, allocations: 4 kB / 458 MB, free: 1.312 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.4761, allocations: 4 kB / 458 MB, free: 1.309 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002518/0.4786, allocations: 1.113 MB / 459.2 MB, free: 352 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004647/0.4791, allocations: 187.3 kB / 459.3 MB, free: 208 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003351/0.4794, allocations: 143.1 kB / 459.5 MB, free: 112 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.4795, allocations: 3.906 kB / 459.5 MB, free: 108 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.4795, allocations: 35.75 kB / 459.5 MB, free: 64 kB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 2.675e-06/0.4795, allocations: 0 / 459.5 MB, free: 64 kB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.01464/0.4942, allocations: 1.912 MB / 461.4 MB, free: 14.4 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.614e-05/0.4943, allocations: 89.05 kB / 461.5 MB, free: 14.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005577/0.4949, allocations: 252.9 kB / 461.8 MB, free: 14.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.495, allocations: 25.7 kB / 461.8 MB, free: 14.06 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.4951, allocations: 202.1 kB / 462 MB, free: 13.87 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.4953, allocations: 134.6 kB / 462.1 MB, free: 13.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.4954, allocations: 3.984 kB / 462.1 MB, free: 13.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4955, allocations: 326.3 kB / 462.4 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004242/0.496, allocations: 134 kB / 462.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000469/0.4964, allocations: 191.9 kB / 462.8 MB, free: 13.22 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004861/0.497, allocations: 146.3 kB / 462.9 MB, free: 13.14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.497, allocations: 4 kB / 462.9 MB, free: 13.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.01327/0.5103, allocations: 1.443 MB / 464.3 MB, free: 11.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.5103, allocations: 4 kB / 464.3 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.5104, allocations: 4 kB / 464.4 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0109/0.5213, allocations: 0.9386 MB / 465.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005838/0.5219, allocations: 63.89 kB / 465.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01923/0.5412, allocations: 4.247 MB / 469.6 MB, free: 7.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006758/0.5419, allocations: 31.98 kB / 469.6 MB, free: 7.629 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-05/0.542, allocations: 19.8 kB / 469.7 MB, free: 7.613 MB / 346.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.0002047/0.5422, allocations: 41.55 kB / 469.7 MB, free: 7.566 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.5424, allocations: 23.72 kB / 469.7 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002612/0.545, allocations: 0.5648 MB / 470.3 MB, free: 7.125 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.545, allocations: 8 kB / 470.3 MB, free: 7.117 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.948e-06/0.545, allocations: 4 kB / 470.3 MB, free: 7.113 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/0.5451, allocations: 3.984 kB / 470.3 MB, free: 7.109 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005018/0.5501, allocations: 1.15 MB / 471.4 MB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/0.5501, allocations: 0 / 471.4 MB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.5512, allocations: 99.75 kB / 471.5 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002826/0.554, allocations: 251.1 kB / 471.8 MB, free: 5.871 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001224/0.5542, allocations: 15.8 kB / 471.8 MB, free: 5.859 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005635/0.5599, allocations: 2.041 MB / 473.8 MB, free: 4.012 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.5599, allocations: 0 / 473.8 MB, free: 4.012 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003217/0.5631, allocations: 0.9149 MB / 474.8 MB, free: 3.297 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002746/0.5635, allocations: 145.6 kB / 474.9 MB, free: 3.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.5636, allocations: 4 kB / 474.9 MB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008495/0.5644, allocations: 27.97 kB / 474.9 MB, free: 3.129 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.5646, allocations: 31.14 kB / 475 MB, free: 3.102 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.448e-05/0.5647, allocations: 14.19 kB / 475 MB, free: 3.094 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0003082/0.565, allocations: 196.8 kB / 475.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008934/0.5659, allocations: 115.9 kB / 475.3 MB, free: 2.828 MB / 346.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.0003865/0.5663, allocations: 158.2 kB / 475.4 MB, free: 2.668 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001264/0.5676, allocations: 473.8 kB / 475.9 MB, free: 2.324 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.5676, allocations: 320 / 475.9 MB, free: 2.324 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006753/0.5683, allocations: 322.9 kB / 476.2 MB, free: 2.07 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004884/0.5688, allocations: 19.86 kB / 476.2 MB, free: 2.059 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.5714, allocations: 0.7493 MB / 477 MB, free: 1.344 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007248/0.5722, allocations: 0.8388 MB / 477.8 MB, free: 488 kB / 346.7 MB Notification: Performance of SimCode: time 1.303e-06/0.5722, allocations: 0 / 477.8 MB, free: 488 kB / 346.7 MB Notification: Performance of Templates: time 0.01386/0.5861, allocations: 6.337 MB / 484.2 MB, free: 10.17 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches