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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009053/0.0009053, allocations: 76.81 kB / 22.28 MB, free: 2.207 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 164.2 kB / 25.69 MB, free: 7.957 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9224/0.9224, allocations: 158.6 MB / 187.6 MB, free: 2.789 MB / 170.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 251.6 MB, free: 7.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.409e-05/1.532e-05, allocations: 10.25 kB / 251.6 MB, free: 7.207 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.003433/0.003449, allocations: 3.351 MB / 254.9 MB, free: 3.836 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.005143, allocations: 1.415 MB / 256.3 MB, free: 2.41 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.005318, allocations: 11.94 kB / 256.4 MB, free: 2.398 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002164/0.007482, allocations: 3.122 MB / 259.5 MB, free: 15.27 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003765/0.007858, allocations: 190.5 kB / 259.7 MB, free: 15.08 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004833/0.008342, allocations: 279.4 kB / 259.9 MB, free: 14.8 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001121/0.009462, allocations: 1.598 MB / 261.5 MB, free: 13.2 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.009604, allocations: 104.3 kB / 261.6 MB, free: 13.1 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007071/0.01031, allocations: 480 kB / 262.1 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.01056, allocations: 299.3 kB / 262.4 MB, free: 12.35 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.595e-05/0.01062, allocations: 44 kB / 262.4 MB, free: 12.31 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.01076, allocations: 75.86 kB / 262.5 MB, free: 12.23 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000588/0.01135, allocations: 0.861 MB / 263.4 MB, free: 11.37 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004807/0.01183, allocations: 482 kB / 263.8 MB, free: 10.9 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.01318, allocations: 1.467 MB / 265.3 MB, free: 9.426 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.354e-05/0.01319, allocations: 4 kB / 265.3 MB, free: 9.422 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.01319, allocations: 4 kB / 265.3 MB, free: 9.418 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.956e-05/0.01322, allocations: 3.938 kB / 265.3 MB, free: 9.414 MB / 250.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.002132/0.01535, allocations: 2.635 MB / 268 MB, free: 6.738 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.603e-05/0.01538, allocations: 8.031 kB / 268 MB, free: 6.73 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.01554, allocations: 184.7 kB / 268.1 MB, free: 6.551 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009533/0.01649, allocations: 1.121 MB / 269.3 MB, free: 5.391 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.537e-05/0.01656, allocations: 110.7 kB / 269.4 MB, free: 5.266 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.572e-05/0.01665, allocations: 52.72 kB / 269.4 MB, free: 5.215 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/0.01694, allocations: 363 kB / 269.8 MB, free: 4.828 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.01695, allocations: 0 / 269.8 MB, free: 4.828 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.01697, allocations: 20 kB / 269.8 MB, free: 4.809 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.01697, allocations: 8 kB / 269.8 MB, free: 4.801 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/0.01715, allocations: 142.8 kB / 270 MB, free: 4.66 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001425/0.01857, allocations: 1.412 MB / 271.4 MB, free: 3.188 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.01878, allocations: 212.7 kB / 271.6 MB, free: 2.961 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.515e-05/0.01886, allocations: 81.62 kB / 271.6 MB, free: 2.875 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.01888, allocations: 8 kB / 271.7 MB, free: 2.867 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.9e-05/0.0189, allocations: 38.5 kB / 271.7 MB, free: 2.82 MB / 250.7 MB Notification: Performance of pre-optimization done (n=37): time 1.332e-06/0.0189, allocations: 0 / 271.7 MB, free: 2.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=48): time 0.001995/0.0209, allocations: 1.137 MB / 272.8 MB, free: 1.645 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.83e-05/0.02092, allocations: 85.64 kB / 272.9 MB, free: 1.543 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001969/0.02289, allocations: 2.924 MB / 275.8 MB, free: 14.61 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.02291, allocations: 37.7 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002778/0.02319, allocations: 0.5257 MB / 276.4 MB, free: 14.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.549e-05/0.02327, allocations: 182.4 kB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.352e-05/0.02335, allocations: 86.14 kB / 276.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.778e-05/0.02342, allocations: 325.9 kB / 277 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.57e-05/0.02348, allocations: 52.91 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.696e-05/0.02358, allocations: 129.1 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.02377, allocations: 232.3 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.02377, allocations: 0 / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0003303/0.0241, allocations: 366.4 kB / 277.7 MB, free: 12.62 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.02411, allocations: 11.98 kB / 277.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.02412, allocations: 4 kB / 277.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.02413, allocations: 4 kB / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003076/0.02444, allocations: 147.6 kB / 277.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.02444, allocations: 4 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001641/0.02461, allocations: 12 kB / 277.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.02463, allocations: 16 kB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001888/0.02482, allocations: 148.4 kB / 278.1 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.02495, allocations: 151.8 kB / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004696/0.02542, allocations: 483.8 kB / 278.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.02543, allocations: 8 kB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.02543, allocations: 0 / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.02544, allocations: 3.984 kB / 278.7 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.02644, allocations: 0.7159 MB / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.02644, allocations: 0 / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003876/0.02683, allocations: 123.8 kB / 279.6 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002086/0.02704, allocations: 60.8 kB / 279.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.778e-05/0.02706, allocations: 4 kB / 279.6 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006955/0.02776, allocations: 0.8329 MB / 280.5 MB, free: 9.836 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.02776, allocations: 4 kB / 280.5 MB, free: 9.832 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008069/0.02857, allocations: 0.6348 MB / 281.1 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004621/0.02903, allocations: 333.9 kB / 281.4 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.02919, allocations: 12 kB / 281.4 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003876/0.02958, allocations: 19.98 kB / 281.4 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.45e-05/0.02964, allocations: 28.44 kB / 281.5 MB, free: 8.785 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.02967, allocations: 8 kB / 281.5 MB, free: 8.777 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001734/0.0314, allocations: 1.44 MB / 282.9 MB, free: 7.344 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0314, allocations: 3.938 kB / 282.9 MB, free: 7.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006003/0.032, allocations: 208 kB / 283.1 MB, free: 7.137 MB / 266.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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001456/0.03346, allocations: 0.5074 MB / 283.6 MB, free: 6.668 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003483/0.03381, allocations: 208.5 kB / 283.8 MB, free: 6.461 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-05/0.03383, allocations: 36.12 kB / 283.9 MB, free: 6.426 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002377/0.03407, allocations: 137.7 kB / 284 MB, free: 6.293 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008771/0.03495, allocations: 206.9 kB / 284.2 MB, free: 6.086 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005347/0.04029, allocations: 3.837 MB / 288 MB, free: 2.191 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006545/0.04095, allocations: 0.5551 MB / 288.6 MB, free: 1.609 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0004046/0.04135, allocations: 175.8 kB / 288.8 MB, free: 1.434 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005013/0.04185, allocations: 239.3 kB / 289 MB, free: 1.199 MB / 266.7 MB Notification: Performance of SimCode: time 1.172e-06/0.04186, allocations: 0 / 289 MB, free: 1.199 MB / 266.7 MB Notification: Performance of Templates: time 0.02327/0.06513, allocations: 16.33 MB / 305.3 MB, free: 0.8438 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.009163049980998]