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.0009399/0.0009399, allocations: 82.95 kB / 21.42 MB, free: 3.082 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.0009557/0.0009557, allocations: 149.8 kB / 24.81 MB, free: 8.406 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.991/0.991, allocations: 173.3 MB / 201.4 MB, free: 9.219 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.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.723e-06/1.723e-06, allocations: 0 / 268.4 MB, free: 6.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.266e-05/2.439e-05, allocations: 2.312 kB / 268.4 MB, free: 6.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003736/0.00376, allocations: 2.817 MB / 271.2 MB, free: 3.367 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.005603, allocations: 1.195 MB / 272.4 MB, free: 2.164 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002059/0.005809, allocations: 4 kB / 272.4 MB, free: 2.16 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002624/0.006072, allocations: 63.39 kB / 272.5 MB, free: 2.098 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005773/0.006649, allocations: 238.5 kB / 272.7 MB, free: 1.863 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.006917, allocations: 115.8 kB / 272.8 MB, free: 1.75 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004455/0.007363, allocations: 474.8 kB / 273.3 MB, free: 1.281 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.007499, allocations: 56.91 kB / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003459/0.007845, allocations: 279.3 kB / 273.6 MB, free: 0.9531 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.008061, allocations: 171.6 kB / 273.8 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.748e-05/0.008118, allocations: 40 kB / 273.8 MB, free: 0.7461 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002678/0.008386, allocations: 147.9 kB / 274 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.779e-05/0.008454, allocations: 103.6 kB / 274.1 MB, free: 0.5 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.008554, allocations: 135.7 kB / 274.2 MB, free: 376 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004515/0.009006, allocations: 390.7 kB / 274.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.009013, allocations: 0 / 274.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.009014, allocations: 0 / 274.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.00902, allocations: 0 / 274.6 MB, free: 15.98 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001016/0.01004, allocations: 0.7412 MB / 275.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.01008, allocations: 16.92 kB / 275.3 MB, free: 15.19 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.375e-05/0.01016, allocations: 56.7 kB / 275.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.01043, allocations: 244.9 kB / 275.6 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.857e-05/0.01051, allocations: 98.33 kB / 275.7 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.01063, allocations: 44.67 kB / 275.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.01096, allocations: 281 kB / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.01098, allocations: 3.938 kB / 276.1 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.011, allocations: 16 kB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.01101, allocations: 4 kB / 276.1 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001992/0.0112, allocations: 145.3 kB / 276.2 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/0.01261, allocations: 1.048 MB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.01285, allocations: 190 kB / 277.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.806e-05/0.01293, allocations: 86.28 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.01296, allocations: 12 kB / 277.5 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.01299, allocations: 37.39 kB / 277.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 2.895e-06/0.01299, allocations: 0 / 277.6 MB, free: 12.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.00376/0.01675, allocations: 1.687 MB / 279.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.01679, allocations: 81.11 kB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001906/0.01698, allocations: 308.2 kB / 279.7 MB, free: 10.63 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.017, allocations: 33.64 kB / 279.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.978e-05/0.0171, allocations: 223.3 kB / 279.9 MB, free: 10.37 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.065e-05/0.01718, allocations: 150.7 kB / 280.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.01728, allocations: 91.73 kB / 280.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.01744, allocations: 0.5079 MB / 280.6 MB, free: 9.605 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.636e-05/0.01753, allocations: 56.94 kB / 280.7 MB, free: 9.547 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001243/0.01766, allocations: 143.1 kB / 280.8 MB, free: 9.383 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.0179, allocations: 231.6 kB / 281.1 MB, free: 9.129 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.0179, allocations: 0 / 281.1 MB, free: 9.129 MB / 266.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003483/0.01825, allocations: 292.8 kB / 281.4 MB, free: 8.836 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.01826, allocations: 8 kB / 281.4 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.01827, allocations: 3.938 kB / 281.4 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.01828, allocations: 8.188 kB / 281.4 MB, free: 8.816 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/0.01857, allocations: 115.8 kB / 281.5 MB, free: 8.703 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.01858, allocations: 4 kB / 281.5 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.01873, allocations: 27.98 kB / 281.5 MB, free: 8.672 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.01875, allocations: 12 kB / 281.5 MB, free: 8.66 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.0001325/0.01888, allocations: 184.4 kB / 281.7 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.191e-05/0.01895, allocations: 43.81 kB / 281.8 MB, free: 8.426 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006908/0.01964, allocations: 432.7 kB / 282.2 MB, free: 7.988 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.01965, allocations: 8 kB / 282.2 MB, free: 7.98 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.01966, allocations: 3.938 kB / 282.2 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.01966, allocations: 8 kB / 282.2 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.02104, allocations: 0.8695 MB / 283.1 MB, free: 7.062 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.02104, allocations: 3.938 kB / 283.1 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.02126, allocations: 91.88 kB / 283.2 MB, free: 6.969 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006366/0.02189, allocations: 211.4 kB / 283.4 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.014e-05/0.02192, allocations: 23.91 kB / 283.4 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002024/0.02395, allocations: 2.376 MB / 285.8 MB, free: 4.246 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.02395, allocations: 4 kB / 285.8 MB, free: 4.242 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008304/0.02478, allocations: 0.7393 MB / 286.5 MB, free: 3.477 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.0249, allocations: 71.69 kB / 286.6 MB, free: 3.406 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.02493, allocations: 16.03 kB / 286.6 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.02511, allocations: 23.98 kB / 286.6 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.407e-05/0.02518, allocations: 40.36 kB / 286.7 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.0252, allocations: 15.94 kB / 286.7 MB, free: 3.312 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001154/0.02532, allocations: 209.1 kB / 286.9 MB, free: 3.105 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02532, allocations: 0 / 286.9 MB, free: 3.105 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003888/0.02571, allocations: 115.9 kB / 287 MB, free: 2.992 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.0002153/0.02592, allocations: 147.1 kB / 287.1 MB, free: 2.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003094/0.02623, allocations: 231.8 kB / 287.4 MB, free: 2.613 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.02623, allocations: 0 / 287.4 MB, free: 2.613 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003091/0.02654, allocations: 345.6 kB / 287.7 MB, free: 2.254 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.02686, allocations: 48.42 kB / 287.7 MB, free: 2.203 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.02806, allocations: 0.7977 MB / 288.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.187e-05/0.02814, allocations: 106.6 kB / 288.6 MB, free: 1.238 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000128/0.02827, allocations: 42.95 kB / 288.7 MB, free: 1.199 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001769/0.02845, allocations: 126.2 kB / 288.8 MB, free: 1.074 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02845, allocations: 3.938 kB / 288.8 MB, free: 1.07 MB / 266.7 MB Notification: Performance of Templates: time 0.117/0.1455, allocations: 6.641 MB / 295.5 MB, free: 28.65 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","",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.793193798046559]