Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00143/0.00143, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001535/0.001535, allocations: 161.7 kB / 24.26 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.175e-05/2.341e-05, allocations: 6.312 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005321/0.005344, allocations: 3.215 MB / 275.5 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003074/0.008418, allocations: 1.597 MB / 277.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001878/0.008606, allocations: 4 kB / 277.1 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003584/0.01219, allocations: 2.678 MB / 279.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008344/0.01302, allocations: 234.3 kB / 280 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007819/0.01381, allocations: 319.2 kB / 280.4 MB, free: 9.762 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002143/0.01595, allocations: 1.84 MB / 282.2 MB, free: 7.918 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.01615, allocations: 92.36 kB / 282.3 MB, free: 7.824 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000608/0.01676, allocations: 433 kB / 282.7 MB, free: 7.402 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004518/0.01721, allocations: 295.3 kB / 283 MB, free: 7.113 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.713e-05/0.01731, allocations: 48 kB / 283 MB, free: 7.066 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002168/0.01753, allocations: 91.91 kB / 283.1 MB, free: 6.977 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008013/0.01833, allocations: 0.8571 MB / 284 MB, free: 6.117 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005625/0.01889, allocations: 482 kB / 284.5 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002793/0.02169, allocations: 2.515 MB / 287 MB, free: 3.121 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.02169, allocations: 4 kB / 287 MB, free: 3.117 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.02169, allocations: 0 / 287 MB, free: 3.117 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.436e-05/0.02172, allocations: 0 / 287 MB, free: 3.117 MB / 266.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.004605/0.02632, allocations: 2.812 MB / 289.8 MB, free: 260 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.02637, allocations: 15.98 kB / 289.8 MB, free: 244 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1172/0.1436, allocations: 328.8 kB / 290.1 MB, free: 20.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00294/0.1465, allocations: 1.8 MB / 291.9 MB, free: 19.7 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.772e-05/0.1466, allocations: 114.5 kB / 292 MB, free: 19.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002012/0.1468, allocations: 50.48 kB / 292.1 MB, free: 19.6 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007225/0.1475, allocations: 451.2 kB / 292.5 MB, free: 19.47 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.771e-05/0.1475, allocations: 1.031 kB / 292.5 MB, free: 19.47 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.809e-05/0.1476, allocations: 17.53 kB / 292.5 MB, free: 19.47 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.1476, allocations: 9.625 kB / 292.6 MB, free: 19.47 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000686/0.1483, allocations: 328 kB / 292.9 MB, free: 19.46 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004068/0.1523, allocations: 2.564 MB / 295.4 MB, free: 18.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006064/0.1529, allocations: 299.7 kB / 295.7 MB, free: 18.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002961/0.1532, allocations: 162.1 kB / 295.9 MB, free: 18.63 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/0.1533, allocations: 7.969 kB / 295.9 MB, free: 18.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.1533, allocations: 38.16 kB / 295.9 MB, free: 18.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.843e-06/0.1533, allocations: 0.5625 kB / 295.9 MB, free: 18.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.004726/0.158, allocations: 2.406 MB / 298.3 MB, free: 17.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.1581, allocations: 84.97 kB / 298.4 MB, free: 17.17 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005819/0.1639, allocations: 5.468 MB / 303.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.917e-05/0.1639, allocations: 37.2 kB / 303.9 MB, free: 15.44 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007416/0.1647, allocations: 1.17 MB / 305.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.609e-05/0.1648, allocations: 168.9 kB / 305.3 MB, free: 14.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.1649, allocations: 93.8 kB / 305.4 MB, free: 14.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.018e-05/0.1649, allocations: 323.6 kB / 305.7 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002954/0.1652, allocations: 140.6 kB / 305.8 MB, free: 14.03 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002939/0.1655, allocations: 221.7 kB / 306 MB, free: 13.91 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000584/0.1661, allocations: 383 kB / 306.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1661, allocations: 0 / 306.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001247/0.1674, allocations: 0.722 MB / 307.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.1674, allocations: 3.281 kB / 307.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.1674, allocations: 5.578 kB / 307.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.108e-05/0.1674, allocations: 10.09 kB / 307.1 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005299/0.168, allocations: 121.3 kB / 307.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.168, allocations: 8.375 kB / 307.3 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005016/0.1685, allocations: 17.08 kB / 307.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/0.1685, allocations: 17.53 kB / 307.3 MB, free: 13.34 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.0007628/0.1693, allocations: 0.9231 MB / 308.2 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000278/0.1695, allocations: 302.1 kB / 308.5 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.1707, allocations: 0.7887 MB / 309.3 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.1707, allocations: 10.3 kB / 309.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1707, allocations: 3.938 kB / 309.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/0.1708, allocations: 6.797 kB / 309.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001291/0.172, allocations: 1.18 MB / 310.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.172, allocations: 2 kB / 310.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004174/0.1725, allocations: 98.27 kB / 310.6 MB, free: 10.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003054/0.1728, allocations: 94 kB / 310.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/0.1728, allocations: 11.89 kB / 310.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003852/0.1732, allocations: 0.6422 MB / 311.3 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.1732, allocations: 3.469 kB / 311.4 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/0.1746, allocations: 1.102 MB / 312.5 MB, free: 9.066 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006089/0.1752, allocations: 426.2 kB / 312.9 MB, free: 8.684 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/0.1754, allocations: 12 kB / 312.9 MB, free: 8.672 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004804/0.1759, allocations: 22.73 kB / 312.9 MB, free: 8.652 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.926e-05/0.176, allocations: 33.22 kB / 312.9 MB, free: 8.637 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.176, allocations: 22.8 kB / 313 MB, free: 8.621 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.003437/0.1794, allocations: 3.985 MB / 316.9 MB, free: 4.758 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1794, allocations: 0 / 316.9 MB, free: 4.758 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006685/0.1801, allocations: 206.5 kB / 317.1 MB, free: 4.559 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.001961/0.182, allocations: 455.1 kB / 317.6 MB, free: 4.371 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007189/0.1828, allocations: 356.3 kB / 317.9 MB, free: 4.035 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1828, allocations: 0 / 317.9 MB, free: 4.035 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003977/0.1832, allocations: 210.6 kB / 318.1 MB, free: 3.84 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.1842, allocations: 187.3 kB / 318.3 MB, free: 3.652 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006382/0.1906, allocations: 5.425 MB / 323.8 MB, free: 14.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001751/0.1923, allocations: 1.246 MB / 325 MB, free: 12.92 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006478/0.193, allocations: 275.8 kB / 325.3 MB, free: 12.65 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002889/0.1932, allocations: 96.48 kB / 325.4 MB, free: 12.55 MB / 282.7 MB Notification: Performance of SimCode: time 1.372e-06/0.1933, allocations: 0 / 325.4 MB, free: 12.55 MB / 282.7 MB Notification: Performance of Templates: time 0.03407/0.2273, allocations: 15.31 MB / 340.7 MB, free: 13.35 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.857355342013761]