Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.00159/0.00159, allocations: 115.5 kB / 18.45 MB, free: 4.602 MB / 14.72 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.001637/0.001637, allocations: 192.3 kB / 21.4 MB, free: 1.664 MB / 14.72 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 1.418/1.418, allocations: 225.6 MB / 249.8 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] 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.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 51.92 kB / 366.8 MB, free: 432 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1089, allocations: 52.15 MB / 419 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004975/0.1139, allocations: 2.826 MB / 421.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002543/0.1165, allocations: 1.242 MB / 423 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002926/0.1168, allocations: 4 kB / 423 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000368/0.1171, allocations: 67.44 kB / 423.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008379/0.118, allocations: 230.7 kB / 423.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.1183, allocations: 115.8 kB / 423.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006709/0.119, allocations: 467 kB / 423.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001931/0.1192, allocations: 64.64 kB / 424 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003786/0.1196, allocations: 179.5 kB / 424.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004438/0.12, allocations: 219.1 kB / 424.3 MB, free: 6.766 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.1201, allocations: 51.88 kB / 424.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003762/0.1205, allocations: 163.9 kB / 424.6 MB, free: 6.555 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.1206, allocations: 87.72 kB / 424.6 MB, free: 6.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002308/0.1208, allocations: 187.1 kB / 424.8 MB, free: 6.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007498/0.1216, allocations: 0.5098 MB / 425.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1216, allocations: 0 / 425.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1216, allocations: 0 / 425.3 MB, free: 5.773 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.845e-05/0.1216, allocations: 0 / 425.3 MB, free: 5.773 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001965/0.1236, allocations: 0.709 MB / 426 MB, free: 5.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.1236, allocations: 12.03 kB / 426.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.1237, allocations: 40.7 kB / 426.1 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000664/0.1244, allocations: 325.5 kB / 426.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.835e-05/0.1245, allocations: 50.83 kB / 426.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.1247, allocations: 36.48 kB / 426.5 MB, free: 4.512 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006945/0.1254, allocations: 328.4 kB / 426.8 MB, free: 4.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.1254, allocations: 0 / 426.8 MB, free: 4.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.948e-05/0.1254, allocations: 12 kB / 426.8 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/0.1254, allocations: 11.98 kB / 426.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007789/0.1262, allocations: 302 kB / 427.1 MB, free: 3.863 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00207/0.1283, allocations: 1.164 MB / 428.3 MB, free: 2.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006663/0.1289, allocations: 291.3 kB / 428.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003508/0.1293, allocations: 153.7 kB / 428.7 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.1293, allocations: 7.984 kB / 428.7 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.1294, allocations: 42.55 kB / 428.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.353e-06/0.1294, allocations: 0 / 428.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.009963/0.1393, allocations: 2.413 MB / 431.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.046e-05/0.1394, allocations: 85.05 kB / 431.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/0.1398, allocations: 293 kB / 431.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.736e-05/0.1399, allocations: 33.7 kB / 431.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.14, allocations: 164.7 kB / 431.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/0.1401, allocations: 158.6 kB / 431.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001655/0.1403, allocations: 82.09 kB / 432 MB, free: 14.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1405, allocations: 342.8 kB / 432.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004282/0.1409, allocations: 156.8 kB / 432.5 MB, free: 14.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000472/0.1414, allocations: 230.7 kB / 432.7 MB, free: 14.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000921/0.1423, allocations: 415.5 kB / 433.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1423, allocations: 0 / 433.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001109/0.1434, allocations: 488.5 kB / 433.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.1434, allocations: 10.34 kB / 433.6 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.1434, allocations: 7.922 kB / 433.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.1434, allocations: 4 kB / 433.6 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006325/0.1441, allocations: 115.9 kB / 433.7 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.1441, allocations: 128 / 433.7 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003959/0.1445, allocations: 39.92 kB / 433.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-05/0.1445, allocations: 19.98 kB / 433.8 MB, free: 12.94 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 52 * 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.000199/0.1447, allocations: 154.3 kB / 433.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.1448, allocations: 35.8 kB / 434 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/0.1468, allocations: 0.6525 MB / 434.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.1468, allocations: 8 kB / 434.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1469, allocations: 0 / 434.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.1469, allocations: 0 / 434.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003403/0.1503, allocations: 1.272 MB / 435.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1503, allocations: 0 / 435.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004807/0.1507, allocations: 95.88 kB / 436 MB, free: 10.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001656/0.1524, allocations: 276.5 kB / 436.3 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.97e-05/0.1524, allocations: 11.98 kB / 436.3 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004525/0.157, allocations: 2.432 MB / 438.7 MB, free: 7.789 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.157, allocations: 3.984 kB / 438.7 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002472/0.1594, allocations: 1.015 MB / 439.7 MB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002139/0.1597, allocations: 145.2 kB / 439.9 MB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.659e-05/0.1597, allocations: 12 kB / 439.9 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004456/0.1602, allocations: 35.91 kB / 439.9 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.1603, allocations: 32.39 kB / 439.9 MB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.533e-05/0.1603, allocations: 16 kB / 440 MB, free: 6.496 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002622/0.1606, allocations: 212.5 kB / 440.2 MB, free: 6.285 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1606, allocations: 0 / 440.2 MB, free: 6.285 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005898/0.1612, allocations: 119.9 kB / 440.3 MB, free: 6.168 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * 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 (40): * Single equations (assignments): 39 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003098/0.1615, allocations: 147 kB / 440.4 MB, free: 6.016 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.1625, allocations: 409.9 kB / 440.8 MB, free: 5.617 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1625, allocations: 0 / 440.8 MB, free: 5.617 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007815/0.1633, allocations: 377.2 kB / 441.2 MB, free: 5.238 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004794/0.1638, allocations: 32.44 kB / 441.2 MB, free: 5.207 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001958/0.1657, allocations: 1.003 MB / 442.2 MB, free: 4.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004442/0.1662, allocations: 0.7852 MB / 443 MB, free: 3.348 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001735/0.1664, allocations: 47.34 kB / 443.1 MB, free: 3.301 MB / 366.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1664, allocations: 0 / 443.1 MB, free: 3.301 MB / 366.1 MB Notification: Performance of Templates: time 0.1891/0.3555, allocations: 5.736 MB / 448.8 MB, free: 30.29 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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: 7.364086621906608]