Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009933/0.0009933, allocations: 85.05 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009257/0.0009257, allocations: 148.2 kB / 24.9 MB, free: 9.156 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8696/0.8696, allocations: 173.3 MB / 201.5 MB, free: 9.227 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 268.5 MB, free: 6.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.385e-05/1.494e-05, allocations: 2.312 kB / 268.5 MB, free: 6.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.003261/0.003276, allocations: 3.418 MB / 271.9 MB, free: 2.734 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.005063, allocations: 1.457 MB / 273.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.005215, allocations: 4 kB / 273.4 MB, free: 1.266 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002138/0.007353, allocations: 3.134 MB / 276.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002989/0.007652, allocations: 182.5 kB / 276.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004068/0.008059, allocations: 311.2 kB / 277 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001006/0.009065, allocations: 1.598 MB / 278.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.009211, allocations: 104.3 kB / 278.7 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007036/0.009914, allocations: 487.9 kB / 279.2 MB, free: 11.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000258/0.01017, allocations: 299.3 kB / 279.5 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.651e-05/0.01023, allocations: 40 kB / 279.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001133/0.01034, allocations: 87.92 kB / 279.6 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003779/0.01072, allocations: 0.861 MB / 280.5 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002638/0.01098, allocations: 478.1 kB / 280.9 MB, free: 9.727 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009292/0.01191, allocations: 1.483 MB / 282.4 MB, free: 8.238 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.01191, allocations: 4 kB / 282.4 MB, free: 8.234 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.01192, allocations: 0 / 282.4 MB, free: 8.234 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.955e-05/0.01194, allocations: 0 / 282.4 MB, free: 8.234 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.001941/0.01388, allocations: 2.646 MB / 285.1 MB, free: 5.543 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.902e-05/0.0139, allocations: 8.922 kB / 285.1 MB, free: 5.535 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002824/0.01419, allocations: 180.7 kB / 285.3 MB, free: 5.359 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008148/0.015, allocations: 1.113 MB / 286.4 MB, free: 4.207 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.78e-05/0.01507, allocations: 106.7 kB / 286.5 MB, free: 4.086 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.434e-05/0.01516, allocations: 56.62 kB / 286.5 MB, free: 4.031 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.01546, allocations: 359 kB / 286.9 MB, free: 3.648 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.01547, allocations: 4 kB / 286.9 MB, free: 3.645 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.01549, allocations: 12 kB / 286.9 MB, free: 3.633 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.0155, allocations: 12 kB / 286.9 MB, free: 3.621 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.01567, allocations: 146.8 kB / 287 MB, free: 3.48 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.01705, allocations: 1.415 MB / 288.5 MB, free: 2.004 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002102/0.01726, allocations: 205 kB / 288.7 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003252/0.01758, allocations: 78.27 kB / 288.7 MB, free: 1.703 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.01761, allocations: 15.86 kB / 288.8 MB, free: 1.688 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.01763, allocations: 38.56 kB / 288.8 MB, free: 1.641 MB / 266.7 MB Notification: Performance of pre-optimization done (n=37): time 1.383e-06/0.01763, allocations: 0 / 288.8 MB, free: 1.641 MB / 266.7 MB Notification: Performance of matching and sorting (n=48): time 0.001779/0.01941, allocations: 1.171 MB / 290 MB, free: 444 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.01944, allocations: 85.55 kB / 290 MB, free: 340 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1057/0.1251, allocations: 2.918 MB / 293 MB, free: 27.29 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.872e-05/0.1252, allocations: 36.42 kB / 293 MB, free: 27.26 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003752/0.1256, allocations: 0.527 MB / 293.5 MB, free: 27.15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.1257, allocations: 174.8 kB / 293.7 MB, free: 27.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.1258, allocations: 90.94 kB / 293.8 MB, free: 27.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.147e-05/0.1258, allocations: 329.1 kB / 294.1 MB, free: 26.83 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.47e-05/0.1259, allocations: 47.33 kB / 294.2 MB, free: 26.83 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001073/0.126, allocations: 130 kB / 294.3 MB, free: 26.76 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.1262, allocations: 224.7 kB / 294.5 MB, free: 26.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1262, allocations: 4.781 kB / 294.5 MB, free: 26.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0004965/0.1267, allocations: 363.6 kB / 294.9 MB, free: 26.64 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.1268, allocations: 6.656 kB / 294.9 MB, free: 26.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.1268, allocations: 2.203 kB / 294.9 MB, free: 26.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.1268, allocations: 8.547 kB / 294.9 MB, free: 26.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004017/0.1272, allocations: 148.9 kB / 295 MB, free: 26.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1272, allocations: 5.844 kB / 295 MB, free: 26.64 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002265/0.1274, allocations: 13.81 kB / 295 MB, free: 26.64 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.275e-05/0.1274, allocations: 13.36 kB / 295.1 MB, free: 26.64 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.0002197/0.1277, allocations: 143.7 kB / 295.2 MB, free: 26.52 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.1278, allocations: 152.7 kB / 295.3 MB, free: 26.52 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006217/0.1285, allocations: 490.5 kB / 295.8 MB, free: 26.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.1285, allocations: 5.219 kB / 295.8 MB, free: 26.43 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.1285, allocations: 2.156 kB / 295.8 MB, free: 26.43 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1285, allocations: 2.203 kB / 295.8 MB, free: 26.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008173/0.1293, allocations: 0.7144 MB / 296.5 MB, free: 26.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.1293, allocations: 5.938 kB / 296.6 MB, free: 26.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004212/0.1297, allocations: 121.6 kB / 296.7 MB, free: 26.34 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001989/0.1299, allocations: 68.56 kB / 296.7 MB, free: 26.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.1299, allocations: 11.11 kB / 296.7 MB, free: 26.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004863/0.1304, allocations: 0.8325 MB / 297.6 MB, free: 25.8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1304, allocations: 0.8906 kB / 297.6 MB, free: 25.8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006791/0.1311, allocations: 0.6572 MB / 298.2 MB, free: 25.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003527/0.1315, allocations: 333.3 kB / 298.6 MB, free: 25.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.1316, allocations: 10.45 kB / 298.6 MB, free: 25.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.1318, allocations: 13.83 kB / 298.6 MB, free: 25.43 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/0.1319, allocations: 30.52 kB / 298.6 MB, free: 25.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.885e-05/0.1319, allocations: 12.23 kB / 298.6 MB, free: 25.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001571/0.1335, allocations: 1.441 MB / 300.1 MB, free: 25.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1335, allocations: 1.125 kB / 300.1 MB, free: 25.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005242/0.134, allocations: 210.6 kB / 300.3 MB, free: 25.27 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.001129/0.1352, allocations: 0.5167 MB / 300.8 MB, free: 25.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003471/0.1355, allocations: 214.8 kB / 301 MB, free: 25.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.515e-05/0.1355, allocations: 28.72 kB / 301 MB, free: 25.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001977/0.1357, allocations: 131.9 kB / 301.2 MB, free: 25.1 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006068/0.1363, allocations: 196.3 kB / 301.4 MB, free: 25.08 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003529/0.1399, allocations: 3.864 MB / 305.2 MB, free: 23.35 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.1403, allocations: 0.5544 MB / 305.8 MB, free: 23.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002922/0.1405, allocations: 171.8 kB / 305.9 MB, free: 23.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002921/0.1408, allocations: 235 kB / 306.2 MB, free: 23.05 MB / 266.7 MB Notification: Performance of SimCode: time 1.362e-06/0.1408, allocations: 0 / 306.2 MB, free: 23.05 MB / 266.7 MB Notification: Performance of Templates: time 0.02628/0.1671, allocations: 16.35 MB / 322.5 MB, free: 7.684 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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: 2.8343736226670444]