Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 178.4 kB / 8.475 MB, free: 1.863 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.169/1.169, allocations: 205.2 MB / 214.1 MB, free: 1.883 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.0008523/0.0008525, allocations: 83.39 kB / 262.1 MB, free: 1.836 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.195e-06/8.215e-06, allocations: 4 kB / 315 MB, free: 23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09601/0.09603, allocations: 47.58 MB / 362.6 MB, free: 7.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2367/0.3327, allocations: 83.39 MB / 446 MB, free: 12.12 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.333, allocations: 83.95 kB / 446 MB, free: 12.08 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.07605/0.4091, allocations: 37.88 MB / 483.9 MB, free: 9.688 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001667/0.4093, allocations: 39.98 kB / 484 MB, free: 9.648 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.002268/0.4116, allocations: 1.927 MB / 485.9 MB, free: 7.797 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.4116, allocations: 8.031 kB / 485.9 MB, free: 7.789 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003354/0.412, allocations: 284.3 kB / 486.2 MB, free: 7.508 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002755/0.4147, allocations: 1.882 MB / 488.1 MB, free: 5.883 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.232e-05/0.4148, allocations: 46.48 kB / 488.1 MB, free: 5.832 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.415, allocations: 39.83 kB / 488.1 MB, free: 5.797 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005048/0.4155, allocations: 273.7 kB / 488.4 MB, free: 5.617 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004986/0.416, allocations: 321.7 kB / 488.7 MB, free: 5.371 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.416, allocations: 3.984 kB / 488.7 MB, free: 5.367 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.033e-05/0.4161, allocations: 0 / 488.7 MB, free: 5.367 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.4161, allocations: 16 kB / 488.7 MB, free: 5.352 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004035/0.4201, allocations: 2.994 MB / 491.7 MB, free: 2.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.4204, allocations: 183.1 kB / 491.9 MB, free: 2.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.4206, allocations: 138.3 kB / 492 MB, free: 2.746 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.839e-05/0.4207, allocations: 4 kB / 492 MB, free: 2.742 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.4207, allocations: 42.22 kB / 492.1 MB, free: 2.695 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 3.135e-06/0.4207, allocations: 0 / 492.1 MB, free: 2.695 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.00324/0.424, allocations: 2.019 MB / 494.1 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.424, allocations: 85.55 kB / 494.2 MB, free: 0.707 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008575/0.4326, allocations: 4.688 MB / 498.9 MB, free: 12.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.4327, allocations: 29.7 kB / 498.9 MB, free: 12.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003588/0.4331, allocations: 0.4957 MB / 499.4 MB, free: 12.42 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.4333, allocations: 149.7 kB / 499.6 MB, free: 12.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/0.4333, allocations: 4 kB / 499.6 MB, free: 12.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.4334, allocations: 329.9 kB / 499.9 MB, free: 11.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.4336, allocations: 121 kB / 500 MB, free: 11.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002534/0.4339, allocations: 199.3 kB / 0.4885 GB, free: 11.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.4342, allocations: 146 kB / 0.4886 GB, free: 11.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.4342, allocations: 4 kB / 0.4886 GB, free: 11.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002401/0.4366, allocations: 0.9689 MB / 0.4896 GB, free: 10.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.4366, allocations: 4 kB / 0.4896 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.4367, allocations: 4 kB / 0.4896 GB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004807/0.4371, allocations: 140.9 kB / 0.4897 GB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000428/0.4376, allocations: 95.89 kB / 0.4898 GB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008286/0.4384, allocations: 0.7669 MB / 0.4905 GB, free: 9.441 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005888/0.439, allocations: 7.984 kB / 0.4905 GB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.504e-05/0.4391, allocations: 16 kB / 0.4906 GB, free: 9.418 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.0001763/0.4392, allocations: 121 kB / 0.4907 GB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004164/0.4397, allocations: 268.4 kB / 0.4909 GB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/0.4413, allocations: 0.715 MB / 0.4916 GB, free: 8.305 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.4413, allocations: 4 kB / 0.4916 GB, free: 8.301 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.4413, allocations: 7.938 kB / 0.4916 GB, free: 8.293 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/0.4414, allocations: 7.922 kB / 0.4916 GB, free: 8.285 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/0.4435, allocations: 1.621 MB / 0.4932 GB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4436, allocations: 0 / 0.4932 GB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004977/0.4441, allocations: 95.88 kB / 0.4933 GB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002706/0.4443, allocations: 96.7 kB / 0.4934 GB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.125e-05/0.4444, allocations: 4 kB / 0.4934 GB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005721/0.445, allocations: 0.6421 MB / 0.494 GB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.445, allocations: 4 kB / 0.4941 GB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001351/0.4463, allocations: 1.008 MB / 0.495 GB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/0.4475, allocations: 0.6733 MB / 0.4957 GB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002787/0.4478, allocations: 4.125 kB / 0.4957 GB, free: 4.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005534/0.4483, allocations: 27.89 kB / 0.4957 GB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.385e-05/0.4484, allocations: 24.39 kB / 0.4957 GB, free: 3.969 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.275e-05/0.4485, allocations: 15.98 kB / 0.4958 GB, free: 3.953 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.004905/0.4534, allocations: 3.646 MB / 0.4993 GB, free: 324 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.00102/0.4544, allocations: 292 kB / 0.4996 GB, free: 32 kB / 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.0007432/0.4552, allocations: 319 kB / 0.4999 GB, free: 15.71 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007592/0.4559, allocations: 339.2 kB / 0.5002 GB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.456, allocations: 4.375 kB / 0.5002 GB, free: 15.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003096/0.4563, allocations: 189.6 kB / 0.5004 GB, free: 15.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009396/0.4572, allocations: 167 kB / 0.5006 GB, free: 15.03 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00828/0.4655, allocations: 4.801 MB / 0.5053 GB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002039/0.4676, allocations: 2 MB / 0.5072 GB, free: 8.141 MB / 394.7 MB Notification: Performance of SimCode: time 5.61e-07/0.4676, allocations: 0 / 0.5072 GB, free: 8.141 MB / 394.7 MB Notification: Performance of Templates: time 0.03426/0.5019, allocations: 13.35 MB / 0.5203 GB, free: 10.74 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches