Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.00243/0.002429, allocations: 181.3 kB / 8.154 MB, free: 2.102 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.888/1.888, allocations: 205.2 MB / 213.7 MB, free: 13.88 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001323/0.001323, allocations: 90.64 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.326e-05/1.343e-05, allocations: 0 / 314.3 MB, free: 9.062 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2529, allocations: 47.57 MB / 361.8 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1341/0.3871, allocations: 83.11 MB / 445 MB, free: 2.934 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/0.3875, allocations: 87.94 kB / 445 MB, free: 2.848 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1678/0.5553, allocations: 37.88 MB / 482.9 MB, free: 12.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004042/0.5557, allocations: 39.98 kB / 483 MB, free: 12.71 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.005263/0.561, allocations: 1.92 MB / 484.9 MB, free: 10.74 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.5611, allocations: 8.031 kB / 484.9 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008439/0.5619, allocations: 280.3 kB / 485.2 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006095/0.568, allocations: 1.884 MB / 487.1 MB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001085/0.5682, allocations: 46.42 kB / 487.1 MB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002997/0.5685, allocations: 39.89 kB / 487.1 MB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009433/0.5695, allocations: 277.5 kB / 487.4 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000917/0.5704, allocations: 314.3 kB / 487.7 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.5705, allocations: 0 / 487.7 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.84e-05/0.5705, allocations: 0 / 487.7 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.744e-05/0.5706, allocations: 8 kB / 487.7 MB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0084/0.579, allocations: 3.016 MB / 490.7 MB, free: 4.719 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005632/0.5796, allocations: 176.2 kB / 490.9 MB, free: 4.531 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003641/0.58, allocations: 141.7 kB / 491 MB, free: 4.387 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.999e-05/0.58, allocations: 7.938 kB / 491.1 MB, free: 4.379 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.5801, allocations: 43.14 kB / 491.1 MB, free: 4.328 MB / 378.7 MB Notification: Performance of pre-optimization done (n=37): time 3.376e-06/0.5801, allocations: 4.656 kB / 491.1 MB, free: 4.324 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.006691/0.5868, allocations: 2.008 MB / 493.1 MB, free: 2.238 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.5869, allocations: 89.55 kB / 493.2 MB, free: 2.133 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01892/0.6059, allocations: 4.686 MB / 497.9 MB, free: 13.44 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001253/0.6061, allocations: 29.7 kB / 497.9 MB, free: 13.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.6062, allocations: 230.7 kB / 498.1 MB, free: 13.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002276/0.6065, allocations: 161.7 kB / 498.3 MB, free: 13.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.6065, allocations: 2.344 kB / 498.3 MB, free: 13.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.6067, allocations: 334.7 kB / 498.6 MB, free: 12.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004213/0.6071, allocations: 121 kB / 498.7 MB, free: 12.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004542/0.6076, allocations: 199.2 kB / 498.9 MB, free: 12.35 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004711/0.6081, allocations: 150.1 kB / 499.1 MB, free: 12.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.6081, allocations: 0 / 499.1 MB, free: 12.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.003794/0.6119, allocations: 0.7298 MB / 499.8 MB, free: 11.47 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.612, allocations: 8 kB / 499.8 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.612, allocations: 0 / 499.8 MB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007226/0.6127, allocations: 136.9 kB / 500 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008399/0.6136, allocations: 99.81 kB / 0.4883 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/0.6147, allocations: 0.7691 MB / 0.4891 GB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004535/0.6152, allocations: 4 kB / 0.4891 GB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.424e-05/0.6153, allocations: 16 kB / 0.4891 GB, free: 10.42 MB / 394.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.0002157/0.6155, allocations: 46.39 kB / 0.4891 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/0.6165, allocations: 268.4 kB / 0.4894 GB, free: 10.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002793/0.6193, allocations: 0.7074 MB / 0.4901 GB, free: 9.383 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.705e-05/0.6194, allocations: 4 kB / 0.4901 GB, free: 9.379 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.6194, allocations: 11.84 kB / 0.4901 GB, free: 9.367 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.6195, allocations: 0 / 0.4901 GB, free: 9.367 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004292/0.6238, allocations: 1.621 MB / 0.4917 GB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.6238, allocations: 0 / 0.4917 GB, free: 7.703 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.6249, allocations: 95.88 kB / 0.4918 GB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004982/0.6255, allocations: 92.64 kB / 0.4919 GB, free: 7.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.413e-05/0.6256, allocations: 10.42 kB / 0.4919 GB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/0.6267, allocations: 0.6498 MB / 0.4925 GB, free: 6.836 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.538e-06/0.6268, allocations: 7.984 kB / 0.4925 GB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002905/0.6297, allocations: 1.008 MB / 0.4935 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002074/0.6318, allocations: 0.6694 MB / 0.4942 GB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000559/0.6324, allocations: 0 / 0.4942 GB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.6336, allocations: 15.98 kB / 0.4942 GB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.6338, allocations: 32.39 kB / 0.4942 GB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-05/0.6338, allocations: 12 kB / 0.4942 GB, free: 5.039 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.01087/0.6447, allocations: 3.653 MB / 0.4978 GB, free: 1.395 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001968/0.6468, allocations: 292 kB / 0.4981 GB, free: 1.109 MB / 394.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.001091/0.6479, allocations: 329 kB / 0.4984 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.6491, allocations: 331.3 kB / 0.4987 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6491, allocations: 0 / 0.4987 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005398/0.6497, allocations: 185.6 kB / 0.4989 GB, free: 320 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/0.6516, allocations: 167 kB / 0.499 GB, free: 152 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1415/0.7932, allocations: 4.986 MB / 0.5039 GB, free: 157.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004175/0.7974, allocations: 1.998 MB / 0.5059 GB, free: 156.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.804e-06/0.7975, allocations: 0 / 0.5059 GB, free: 156.5 MB / 394.7 MB Notification: Performance of Templates: time 0.09617/0.8937, allocations: 39.99 MB / 0.5449 GB, free: 134.9 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches