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.002742/0.002742, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.002957/0.002957, allocations: 153.1 kB / 24.27 MB, free: 168 kB / 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 1.622/1.622, allocations: 173.3 MB / 200.8 MB, free: 9.312 MB / 186.7 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 1.423e-06/1.423e-06, allocations: 0 / 267.3 MB, free: 6.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.281e-05/3.423e-05, allocations: 6.25 kB / 267.3 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004922/0.004956, allocations: 2.811 MB / 270.1 MB, free: 3.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002401/0.007357, allocations: 1.199 MB / 271.3 MB, free: 2.703 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001858/0.007543, allocations: 8 kB / 271.3 MB, free: 2.695 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000316/0.007859, allocations: 71.31 kB / 271.4 MB, free: 2.625 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006319/0.008491, allocations: 230.5 kB / 271.6 MB, free: 2.398 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.008802, allocations: 119.7 kB / 271.7 MB, free: 2.281 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005574/0.00936, allocations: 474.8 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.009517, allocations: 52.91 kB / 272.3 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004169/0.009934, allocations: 271.5 kB / 272.5 MB, free: 1.496 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003131/0.01025, allocations: 171.5 kB / 272.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.622e-05/0.01032, allocations: 40 kB / 272.7 MB, free: 1.289 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000326/0.01065, allocations: 159.8 kB / 272.9 MB, free: 1.133 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.01076, allocations: 99.69 kB / 273 MB, free: 1.035 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.01094, allocations: 135.6 kB / 273.1 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000776/0.01172, allocations: 0.5451 MB / 273.7 MB, free: 364 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.01172, allocations: 0 / 273.7 MB, free: 364 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01172, allocations: 0 / 273.7 MB, free: 364 kB / 250.7 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.01173, allocations: 0 / 273.7 MB, free: 364 kB / 250.7 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.001804/0.01353, allocations: 0.7528 MB / 274.4 MB, free: 15.57 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.01357, allocations: 12.92 kB / 274.4 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.01372, allocations: 60.7 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004796/0.0142, allocations: 269.4 kB / 274.8 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.01433, allocations: 98.33 kB / 274.8 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.0145, allocations: 40.73 kB / 274.9 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006671/0.01517, allocations: 352.3 kB / 275.2 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.01519, allocations: 7.938 kB / 275.2 MB, free: 14.67 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.493e-05/0.01523, allocations: 12 kB / 275.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.01524, allocations: 7.984 kB / 275.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006932/0.01593, allocations: 285.8 kB / 275.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002218/0.01815, allocations: 1.196 MB / 276.7 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006328/0.01878, allocations: 282 kB / 277 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003252/0.01911, allocations: 151.3 kB / 277.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.01915, allocations: 11.94 kB / 277.2 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.01918, allocations: 41.33 kB / 277.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.443e-06/0.01919, allocations: 0 / 277.2 MB, free: 12.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.009675/0.02886, allocations: 2.233 MB / 279.4 MB, free: 10.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/0.02894, allocations: 81.11 kB / 279.5 MB, free: 10.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004548/0.02939, allocations: 356.3 kB / 279.9 MB, free: 9.855 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.681e-05/0.02944, allocations: 33.7 kB / 279.9 MB, free: 9.816 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002079/0.02965, allocations: 231.3 kB / 280.1 MB, free: 9.586 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/0.02983, allocations: 154.7 kB / 280.3 MB, free: 9.434 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/0.03002, allocations: 95.81 kB / 280.4 MB, free: 9.332 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003333/0.03036, allocations: 0.5235 MB / 280.9 MB, free: 8.797 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003957/0.03075, allocations: 152.9 kB / 281 MB, free: 8.645 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004864/0.03124, allocations: 255 kB / 281.3 MB, free: 8.367 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008724/0.03211, allocations: 415.6 kB / 281.7 MB, free: 7.934 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.03211, allocations: 7.938 kB / 281.7 MB, free: 7.926 MB / 266.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001056/0.03317, allocations: 496.6 kB / 282.2 MB, free: 7.434 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.0332, allocations: 11.94 kB / 282.2 MB, free: 7.422 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.03321, allocations: 0 / 282.2 MB, free: 7.422 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.03323, allocations: 4 kB / 282.2 MB, free: 7.418 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005988/0.03383, allocations: 116 kB / 282.3 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.03384, allocations: 4 kB / 282.3 MB, free: 7.301 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/0.03419, allocations: 31.92 kB / 282.4 MB, free: 7.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.601e-05/0.03424, allocations: 19.98 kB / 282.4 MB, free: 7.25 MB / 266.7 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.0002312/0.03447, allocations: 192.5 kB / 282.6 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.0346, allocations: 47.75 kB / 282.6 MB, free: 7.004 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.03659, allocations: 0.6218 MB / 283.2 MB, free: 6.375 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/0.03661, allocations: 11.94 kB / 283.2 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.03661, allocations: 0 / 283.2 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.03662, allocations: 7.984 kB / 283.3 MB, free: 6.355 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003332/0.03996, allocations: 1.181 MB / 284.4 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/0.03997, allocations: 3.938 kB / 284.4 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004546/0.04042, allocations: 91.89 kB / 284.5 MB, free: 5.031 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001632/0.04205, allocations: 271.3 kB / 284.8 MB, free: 4.762 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.485e-05/0.0421, allocations: 12 kB / 284.8 MB, free: 4.75 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004712/0.04681, allocations: 2.872 MB / 287.7 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.04681, allocations: 0 / 287.7 MB, free: 1.758 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002444/0.04925, allocations: 1.099 MB / 288.8 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.04946, allocations: 71.69 kB / 288.8 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.988e-05/0.04952, allocations: 8 kB / 288.9 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004297/0.04995, allocations: 27.92 kB / 288.9 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.05008, allocations: 36.42 kB / 288.9 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.372e-05/0.05013, allocations: 15.98 kB / 288.9 MB, free: 488 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000288/0.05042, allocations: 253.1 kB / 289.2 MB, free: 236 kB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.05042, allocations: 4 kB / 289.2 MB, free: 232 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006013/0.05102, allocations: 119.9 kB / 289.3 MB, free: 112 kB / 266.7 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.1069/0.1579, allocations: 137.9 kB / 289.4 MB, free: 32.43 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.159, allocations: 430.8 kB / 289.9 MB, free: 32.42 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.159, allocations: 0 / 289.9 MB, free: 32.42 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000696/0.1597, allocations: 445.1 kB / 290.3 MB, free: 32.23 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000567/0.1603, allocations: 44.5 kB / 290.3 MB, free: 32.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.1618, allocations: 0.8588 MB / 291.2 MB, free: 31.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000175/0.162, allocations: 181.5 kB / 291.4 MB, free: 31.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001946/0.1622, allocations: 36.44 kB / 291.4 MB, free: 31.79 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.1624, allocations: 40.83 kB / 291.4 MB, free: 31.78 MB / 266.7 MB Notification: Performance of SimCode: time 1.342e-06/0.1624, allocations: 4 kB / 291.4 MB, free: 31.77 MB / 266.7 MB Notification: Performance of Templates: time 0.0132/0.1756, allocations: 6.288 MB / 297.7 MB, free: 30.3 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.844754731981084]