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.001347/0.001347, 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.001104/0.001104, allocations: 145.2 kB / 24.89 MB, free: 9.199 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.8892/0.8892, allocations: 173.4 MB / 201.5 MB, free: 9.195 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.303e-06/1.303e-06, allocations: 0 / 268.5 MB, free: 6.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.359e-05/1.489e-05, allocations: 10.25 kB / 268.5 MB, free: 6.152 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.002763/0.002778, allocations: 2.873 MB / 271.4 MB, free: 3.266 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001446/0.004224, allocations: 1.214 MB / 272.6 MB, free: 2.043 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.004338, allocations: 0 / 272.6 MB, free: 2.043 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.004534, allocations: 75.36 kB / 272.7 MB, free: 1.969 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003598/0.004894, allocations: 226.5 kB / 272.9 MB, free: 1.746 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.00507, allocations: 119.7 kB / 273 MB, free: 1.629 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003212/0.005391, allocations: 466.9 kB / 273.5 MB, free: 1.168 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.005498, allocations: 66.78 kB / 273.5 MB, free: 1.105 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002292/0.005727, allocations: 279.4 kB / 273.8 MB, free: 0.832 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.00591, allocations: 167.6 kB / 274 MB, free: 0.668 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.277e-05/0.005953, allocations: 44 kB / 274 MB, free: 0.625 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.006162, allocations: 163.9 kB / 274.2 MB, free: 476 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.119e-05/0.006224, allocations: 95.64 kB / 274.3 MB, free: 380 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.514e-05/0.006309, allocations: 135.7 kB / 274.4 MB, free: 244 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000399/0.006708, allocations: 390.8 kB / 274.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.006711, allocations: 3.984 kB / 274.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.006711, allocations: 0 / 274.8 MB, free: 15.85 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.006715, allocations: 0 / 274.8 MB, free: 15.85 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.0007846/0.0075, allocations: 0.6088 MB / 275.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.752e-05/0.007527, allocations: 8.922 kB / 275.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.101e-05/0.007588, allocations: 44.91 kB / 275.4 MB, free: 15.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.007801, allocations: 209 kB / 275.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.198e-05/0.007863, allocations: 102.3 kB / 275.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.625e-05/0.007949, allocations: 44.62 kB / 275.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002674/0.008216, allocations: 284.5 kB / 276.1 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.008228, allocations: 3.938 kB / 276.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.008247, allocations: 8 kB / 276.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.008253, allocations: 8 kB / 276.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001667/0.00842, allocations: 121.3 kB / 276.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008291/0.009249, allocations: 0.7732 MB / 277 MB, free: 13.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.009447, allocations: 168.9 kB / 277.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.698e-05/0.009524, allocations: 73.67 kB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.009542, allocations: 8 kB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.009564, allocations: 38.56 kB / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.322e-06/0.009565, allocations: 0 / 277.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.004134/0.0137, allocations: 1.91 MB / 279.2 MB, free: 11.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.01373, allocations: 81.11 kB / 279.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.01388, allocations: 254.5 kB / 279.5 MB, free: 10.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.01391, allocations: 29.7 kB / 279.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.01396, allocations: 152.7 kB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.97e-05/0.01404, allocations: 158.6 kB / 279.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.879e-05/0.01413, allocations: 78.14 kB / 279.9 MB, free: 10.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.452e-05/0.0142, allocations: 342.8 kB / 280.2 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.447e-05/0.01428, allocations: 44.97 kB / 280.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001012/0.01438, allocations: 115.3 kB / 280.4 MB, free: 9.945 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001987/0.01458, allocations: 210.7 kB / 280.6 MB, free: 9.719 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.01458, allocations: 0 / 280.6 MB, free: 9.719 MB / 266.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002554/0.01484, allocations: 229.3 kB / 280.8 MB, free: 9.488 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.01485, allocations: 8.031 kB / 280.8 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.01485, allocations: 4 kB / 280.8 MB, free: 9.477 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.01486, allocations: 3.938 kB / 280.8 MB, free: 9.473 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003222/0.01519, allocations: 127.8 kB / 281 MB, free: 9.348 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.01519, allocations: 4 kB / 281 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.01533, allocations: 31.98 kB / 281 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.01535, allocations: 15.98 kB / 281 MB, free: 9.297 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 8.6e-05/0.01543, allocations: 129.7 kB / 281.2 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.132e-05/0.01549, allocations: 35.91 kB / 281.2 MB, free: 9.125 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005652/0.01606, allocations: 382.8 kB / 281.6 MB, free: 8.734 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.01606, allocations: 7.938 kB / 281.6 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.01607, allocations: 0 / 281.6 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01607, allocations: 0 / 281.6 MB, free: 8.727 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.01717, allocations: 0.6811 MB / 282.2 MB, free: 8.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.01717, allocations: 0 / 282.2 MB, free: 8.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.01742, allocations: 111.8 kB / 282.4 MB, free: 7.91 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005886/0.01801, allocations: 208.6 kB / 282.6 MB, free: 7.703 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.01803, allocations: 19.98 kB / 282.6 MB, free: 7.684 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/0.01944, allocations: 1.676 MB / 284.3 MB, free: 5.918 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01944, allocations: 0 / 284.3 MB, free: 5.918 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006724/0.02011, allocations: 0.5851 MB / 284.8 MB, free: 5.312 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.628e-05/0.02019, allocations: 39.75 kB / 284.9 MB, free: 5.273 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.988e-05/0.02022, allocations: 8 kB / 284.9 MB, free: 5.266 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.02039, allocations: 27.92 kB / 284.9 MB, free: 5.238 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.689e-05/0.02045, allocations: 36.42 kB / 285 MB, free: 5.203 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.02047, allocations: 16 kB / 285 MB, free: 5.188 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.403e-05/0.02055, allocations: 97.53 kB / 285.1 MB, free: 5.09 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02055, allocations: 4 kB / 285.1 MB, free: 5.086 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000293/0.02084, allocations: 115.9 kB / 285.2 MB, free: 4.973 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.0001528/0.02099, allocations: 124.2 kB / 285.3 MB, free: 4.84 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002418/0.02124, allocations: 217.2 kB / 285.5 MB, free: 4.625 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.02124, allocations: 0 / 285.5 MB, free: 4.625 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000284/0.02152, allocations: 267.2 kB / 285.8 MB, free: 4.348 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.02177, allocations: 51.42 kB / 285.8 MB, free: 4.301 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009357/0.0227, allocations: 0.7311 MB / 286.6 MB, free: 3.535 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.7e-05/0.02276, allocations: 98.61 kB / 286.7 MB, free: 3.418 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001142/0.02287, allocations: 42.95 kB / 286.7 MB, free: 3.379 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.02305, allocations: 107.3 kB / 286.8 MB, free: 3.273 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02305, allocations: 0 / 286.8 MB, free: 3.273 MB / 266.7 MB Notification: Performance of Templates: time 0.09049/0.1135, allocations: 6.773 MB / 293.6 MB, free: 29.04 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 -s gbode -gbm=radauIIA3 -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.5435306699946523]