Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001818/0.001818, allocations: 92.31 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002147/0.002147, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.502/1.502, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.773e-05/2.983e-05, allocations: 2.312 kB / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004859/0.004889, allocations: 2.69 MB / 275 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00287/0.007759, allocations: 1.207 MB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003126/0.008072, allocations: 3.938 kB / 276.2 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003766/0.008449, allocations: 67.42 kB / 276.3 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008463/0.009295, allocations: 230.5 kB / 276.5 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004009/0.009696, allocations: 139.6 kB / 276.6 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007297/0.01043, allocations: 482.8 kB / 277.1 MB, free: 13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001818/0.01061, allocations: 56.89 kB / 277.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006403/0.01125, allocations: 267.5 kB / 277.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003796/0.01163, allocations: 175.5 kB / 277.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.929e-05/0.01171, allocations: 40 kB / 277.6 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003582/0.01206, allocations: 159.8 kB / 277.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.959e-05/0.01216, allocations: 87.7 kB / 277.9 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.01235, allocations: 143.6 kB / 278 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007838/0.01313, allocations: 0.5568 MB / 278.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.01313, allocations: 0 / 278.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.01314, allocations: 0 / 278.6 MB, free: 11.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.01314, allocations: 0 / 278.6 MB, free: 11.54 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.001781/0.01492, allocations: 0.6336 MB / 279.2 MB, free: 10.87 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.01497, allocations: 8.031 kB / 279.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002627/0.01523, allocations: 68.73 kB / 279.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000579/0.01581, allocations: 282.5 kB / 279.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.01593, allocations: 102.3 kB / 279.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.0161, allocations: 40.69 kB / 279.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007104/0.01681, allocations: 347.8 kB / 280 MB, free: 9.973 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.01683, allocations: 3.938 kB / 280.1 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.548e-05/0.01687, allocations: 16 kB / 280.1 MB, free: 9.953 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.01688, allocations: 11.94 kB / 280.1 MB, free: 9.941 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007449/0.01762, allocations: 297.8 kB / 280.4 MB, free: 9.652 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001892/0.01951, allocations: 0.996 MB / 281.4 MB, free: 8.598 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006919/0.02021, allocations: 285 kB / 281.6 MB, free: 8.301 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003618/0.02057, allocations: 153.6 kB / 281.8 MB, free: 8.145 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.626e-05/0.02059, allocations: 8 kB / 281.8 MB, free: 8.137 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/0.02063, allocations: 34.5 kB / 281.8 MB, free: 8.094 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.533e-06/0.02063, allocations: 4 kB / 281.8 MB, free: 8.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.01042/0.03105, allocations: 2.277 MB / 284.1 MB, free: 5.773 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.245e-05/0.03112, allocations: 89.09 kB / 284.2 MB, free: 5.668 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004153/0.03154, allocations: 293.8 kB / 284.5 MB, free: 5.371 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.631e-05/0.03158, allocations: 33.7 kB / 284.5 MB, free: 5.332 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.03173, allocations: 164.7 kB / 284.7 MB, free: 5.164 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.03189, allocations: 154.6 kB / 284.8 MB, free: 5.012 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000169/0.03206, allocations: 82.16 kB / 284.9 MB, free: 4.926 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.03225, allocations: 338.8 kB / 285.2 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004401/0.03269, allocations: 160.9 kB / 285.4 MB, free: 4.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005108/0.0332, allocations: 239.2 kB / 285.6 MB, free: 4.176 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009525/0.03415, allocations: 403.6 kB / 286 MB, free: 3.762 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.03415, allocations: 0 / 286 MB, free: 3.762 MB / 266.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001199/0.03535, allocations: 0.4891 MB / 286.5 MB, free: 3.266 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.03537, allocations: 15.97 kB / 286.5 MB, free: 3.25 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.03538, allocations: 3.938 kB / 286.5 MB, free: 3.246 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.0354, allocations: 4 kB / 286.5 MB, free: 3.242 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006666/0.03607, allocations: 115.8 kB / 286.7 MB, free: 3.129 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.03608, allocations: 7.938 kB / 286.7 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004087/0.03649, allocations: 39.98 kB / 286.7 MB, free: 3.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/0.03653, allocations: 19.98 kB / 286.7 MB, free: 3.062 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.0002054/0.03674, allocations: 145.8 kB / 286.9 MB, free: 2.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.03687, allocations: 47.75 kB / 286.9 MB, free: 2.863 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/0.03893, allocations: 0.6463 MB / 287.6 MB, free: 2.211 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.03894, allocations: 7.938 kB / 287.6 MB, free: 2.203 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.03895, allocations: 0 / 287.6 MB, free: 2.203 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.03896, allocations: 3.984 kB / 287.6 MB, free: 2.199 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003418/0.04237, allocations: 1.121 MB / 288.7 MB, free: 1.035 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.04238, allocations: 3.938 kB / 288.7 MB, free: 1.031 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004982/0.04288, allocations: 91.88 kB / 288.8 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001736/0.04462, allocations: 272.5 kB / 289.1 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.523e-05/0.04467, allocations: 15.98 kB / 289.1 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.119/0.1637, allocations: 2.268 MB / 291.3 MB, free: 27.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1637, allocations: 0.5 kB / 291.3 MB, free: 27.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002321/0.166, allocations: 1.027 MB / 292.4 MB, free: 26.97 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001811/0.1662, allocations: 70.22 kB / 292.4 MB, free: 26.95 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.676e-05/0.1662, allocations: 9.172 kB / 292.4 MB, free: 26.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004727/0.1667, allocations: 29.02 kB / 292.5 MB, free: 26.94 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.1668, allocations: 37.34 kB / 292.5 MB, free: 26.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-05/0.1669, allocations: 15.72 kB / 292.5 MB, free: 26.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002225/0.1671, allocations: 219.9 kB / 292.7 MB, free: 26.8 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1671, allocations: 0 / 292.7 MB, free: 26.8 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005689/0.1677, allocations: 115 kB / 292.8 MB, free: 26.79 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.0002803/0.1679, allocations: 148.2 kB / 293 MB, free: 26.69 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0009288/0.1689, allocations: 412.6 kB / 293.4 MB, free: 26.58 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1689, allocations: 1.125 kB / 293.4 MB, free: 26.58 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006588/0.1695, allocations: 371.7 kB / 293.8 MB, free: 26.38 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004846/0.17, allocations: 46.48 kB / 293.8 MB, free: 26.36 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.1715, allocations: 0.8612 MB / 294.7 MB, free: 25.93 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.1717, allocations: 186.2 kB / 294.8 MB, free: 25.84 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002133/0.1719, allocations: 38.59 kB / 294.9 MB, free: 25.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.1721, allocations: 36.41 kB / 294.9 MB, free: 25.83 MB / 266.7 MB Notification: Performance of SimCode: time 1.263e-06/0.1721, allocations: 4 kB / 294.9 MB, free: 25.82 MB / 266.7 MB Notification: Performance of Templates: time 0.01169/0.1838, allocations: 6.141 MB / 301.1 MB, free: 24.03 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.634533876902424]