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.001442/0.001442, allocations: 92.62 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.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.001439/0.001439, allocations: 149.4 kB / 24.26 MB, free: 184 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.478/1.478, allocations: 173.4 MB / 200.8 MB, free: 9.285 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.563e-06/1.563e-06, allocations: 0 / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.912e-05/4.069e-05, allocations: 2.312 kB / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004914/0.004955, allocations: 2.675 MB / 270 MB, free: 4.016 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00238/0.007336, allocations: 1.16 MB / 271.2 MB, free: 2.848 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001457/0.007481, allocations: 4 kB / 271.2 MB, free: 2.844 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002754/0.007757, allocations: 71.3 kB / 271.2 MB, free: 2.773 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00061/0.008367, allocations: 230.6 kB / 271.5 MB, free: 2.547 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.008651, allocations: 127.7 kB / 271.6 MB, free: 2.422 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000553/0.009204, allocations: 466.9 kB / 272 MB, free: 1.961 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001401/0.009344, allocations: 52.89 kB / 272.1 MB, free: 1.91 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003794/0.009723, allocations: 267.5 kB / 272.3 MB, free: 1.648 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003066/0.01003, allocations: 179.5 kB / 272.5 MB, free: 1.473 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.187e-05/0.0101, allocations: 40 kB / 272.6 MB, free: 1.434 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002986/0.0104, allocations: 159.8 kB / 272.7 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.01051, allocations: 95.64 kB / 272.8 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001693/0.01068, allocations: 127.7 kB / 272.9 MB, free: 1.059 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007251/0.01141, allocations: 0.549 MB / 273.5 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.01141, allocations: 0 / 273.5 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01141, allocations: 0 / 273.5 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.01142, allocations: 0 / 273.5 MB, free: 0.5078 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001761/0.01318, allocations: 0.6337 MB / 274.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.01322, allocations: 12.92 kB / 274.1 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.01336, allocations: 56.7 kB / 274.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005032/0.01386, allocations: 274.6 kB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.01398, allocations: 110.3 kB / 274.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.01415, allocations: 32.75 kB / 274.6 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007043/0.01485, allocations: 347.8 kB / 274.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.01487, allocations: 3.938 kB / 274.9 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.862e-05/0.01491, allocations: 15.98 kB / 275 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.01491, allocations: 4 kB / 275 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007337/0.01565, allocations: 301.7 kB / 275.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.01762, allocations: 1.015 MB / 276.3 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006766/0.0183, allocations: 277 kB / 276.5 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003568/0.01865, allocations: 153.7 kB / 276.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.513e-05/0.01868, allocations: 4 kB / 276.7 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.201e-05/0.01872, allocations: 46.48 kB / 276.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.693e-06/0.01872, allocations: 0 / 276.7 MB, free: 13.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.01007/0.02879, allocations: 2.284 MB / 279 MB, free: 10.74 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.02886, allocations: 81.11 kB / 279.1 MB, free: 10.64 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003978/0.02926, allocations: 285.8 kB / 279.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.0293, allocations: 33.7 kB / 279.4 MB, free: 10.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.02945, allocations: 176.6 kB / 279.6 MB, free: 10.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.0296, allocations: 154.7 kB / 279.7 MB, free: 9.988 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/0.02977, allocations: 82.16 kB / 279.8 MB, free: 9.902 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.02996, allocations: 338.8 kB / 280.1 MB, free: 9.562 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004402/0.03041, allocations: 160.9 kB / 280.3 MB, free: 9.402 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005013/0.03091, allocations: 231.2 kB / 280.5 MB, free: 9.156 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009325/0.03184, allocations: 399.8 kB / 280.9 MB, free: 8.746 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.03184, allocations: 0 / 280.9 MB, free: 8.746 MB / 266.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001201/0.03304, allocations: 0.4928 MB / 281.4 MB, free: 8.246 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.03307, allocations: 11.94 kB / 281.4 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.03308, allocations: 0 / 281.4 MB, free: 8.234 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.0331, allocations: 4 kB / 281.4 MB, free: 8.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006691/0.03377, allocations: 120 kB / 281.5 MB, free: 8.113 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.03378, allocations: 4 kB / 281.5 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004132/0.03419, allocations: 39.88 kB / 281.6 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.415e-05/0.03423, allocations: 19.98 kB / 281.6 MB, free: 8.051 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.0002007/0.03444, allocations: 145.8 kB / 281.7 MB, free: 7.898 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.03457, allocations: 47.75 kB / 281.8 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002134/0.03671, allocations: 0.6463 MB / 282.4 MB, free: 7.199 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.03672, allocations: 7.938 kB / 282.4 MB, free: 7.191 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.03672, allocations: 0 / 282.4 MB, free: 7.191 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.03673, allocations: 7.984 kB / 282.5 MB, free: 7.184 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003474/0.04021, allocations: 1.117 MB / 283.6 MB, free: 6.027 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.04021, allocations: 3.938 kB / 283.6 MB, free: 6.023 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000492/0.0407, allocations: 95.81 kB / 283.7 MB, free: 5.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001732/0.04244, allocations: 272.5 kB / 283.9 MB, free: 5.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.244e-05/0.04248, allocations: 11.98 kB / 283.9 MB, free: 5.648 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004589/0.04707, allocations: 2.282 MB / 286.2 MB, free: 3.262 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.04707, allocations: 4.031 kB / 286.2 MB, free: 3.258 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002621/0.04969, allocations: 1.025 MB / 287.3 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.04989, allocations: 75.73 kB / 287.3 MB, free: 2.141 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.881e-05/0.04994, allocations: 8 kB / 287.3 MB, free: 2.133 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004662/0.05041, allocations: 31.91 kB / 287.4 MB, free: 2.102 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/0.05056, allocations: 40.42 kB / 287.4 MB, free: 2.062 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.014e-05/0.0506, allocations: 19.98 kB / 287.4 MB, free: 2.043 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002634/0.05086, allocations: 209.2 kB / 287.6 MB, free: 1.836 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.05086, allocations: 0 / 287.6 MB, free: 1.836 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006029/0.05146, allocations: 119.9 kB / 287.8 MB, free: 1.719 MB / 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.0003143/0.05178, allocations: 131.1 kB / 287.9 MB, free: 1.582 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.05285, allocations: 423 kB / 288.3 MB, free: 1.172 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.05286, allocations: 4 kB / 288.3 MB, free: 1.168 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007779/0.05363, allocations: 365.2 kB / 288.7 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004996/0.05413, allocations: 47.73 kB / 288.7 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1081/0.1623, allocations: 0.8463 MB / 289.5 MB, free: 32.56 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002007/0.1625, allocations: 184.5 kB / 289.7 MB, free: 32.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002798/0.1627, allocations: 39.69 kB / 289.8 MB, free: 32.47 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.1629, allocations: 39.97 kB / 289.8 MB, free: 32.47 MB / 266.7 MB Notification: Performance of SimCode: time 1.302e-06/0.1629, allocations: 0 / 289.8 MB, free: 32.47 MB / 266.7 MB Notification: Performance of Templates: time 0.01148/0.1744, allocations: 6.144 MB / 296 MB, free: 31.35 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=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/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.622969161020592]