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.00129/0.00129, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001318/0.001318, allocations: 187.4 kB / 23.72 MB, free: 4.68 MB / 14.72 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.424/1.424, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 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 0.001417/0.001417, allocations: 47.92 kB / 370.9 MB, free: 9.344 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2598, allocations: 52.19 MB / 423.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004249/0.264, allocations: 2.858 MB / 426 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.266, allocations: 1.246 MB / 427.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.2661, allocations: 4 kB / 427.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002218/0.2663, allocations: 63.44 kB / 427.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000502/0.2668, allocations: 230.7 kB / 427.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.2671, allocations: 123.7 kB / 427.6 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004744/0.2675, allocations: 459.1 kB / 428.1 MB, free: 9.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.2676, allocations: 66.38 kB / 428.1 MB, free: 9.617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002583/0.2679, allocations: 195.3 kB / 428.3 MB, free: 9.426 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003132/0.2682, allocations: 219.2 kB / 428.6 MB, free: 9.211 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.808e-05/0.2683, allocations: 40 kB / 428.6 MB, free: 9.172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003096/0.2686, allocations: 171.9 kB / 428.8 MB, free: 9.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.64e-05/0.2687, allocations: 91.66 kB / 428.8 MB, free: 8.914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.2689, allocations: 179.2 kB / 429 MB, free: 8.738 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006398/0.2695, allocations: 0.5056 MB / 429.5 MB, free: 8.234 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.2695, allocations: 4 kB / 429.5 MB, free: 8.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2695, allocations: 0 / 429.5 MB, free: 8.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.2695, allocations: 0 / 429.5 MB, free: 8.23 MB / 334.1 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.00172/0.2713, allocations: 0.6453 MB / 430.2 MB, free: 7.555 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.2713, allocations: 8.031 kB / 430.2 MB, free: 7.547 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.785e-05/0.2714, allocations: 40.7 kB / 430.2 MB, free: 7.508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005009/0.2719, allocations: 271.3 kB / 430.5 MB, free: 7.211 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.661e-05/0.272, allocations: 46.92 kB / 430.5 MB, free: 7.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001701/0.2722, allocations: 52.42 kB / 430.6 MB, free: 7.109 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006503/0.2728, allocations: 313.6 kB / 430.9 MB, free: 6.793 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.2728, allocations: 0 / 430.9 MB, free: 6.793 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.2729, allocations: 12 kB / 430.9 MB, free: 6.781 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.2729, allocations: 8 kB / 430.9 MB, free: 6.773 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007515/0.2736, allocations: 305.7 kB / 431.2 MB, free: 6.477 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/0.2755, allocations: 1.12 MB / 432.3 MB, free: 5.285 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006648/0.2762, allocations: 285 kB / 432.6 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003591/0.2765, allocations: 157.7 kB / 432.8 MB, free: 4.828 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.728e-05/0.2766, allocations: 7.984 kB / 432.8 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.2766, allocations: 42.48 kB / 432.8 MB, free: 4.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 3.536e-06/0.2766, allocations: 3.984 kB / 432.8 MB, free: 4.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.009707/0.2863, allocations: 2.266 MB / 435.1 MB, free: 2.465 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/0.2864, allocations: 85.05 kB / 435.2 MB, free: 2.363 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/0.2867, allocations: 289.1 kB / 435.4 MB, free: 2.074 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.682e-05/0.2868, allocations: 37.7 kB / 435.5 MB, free: 2.031 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.2869, allocations: 164.7 kB / 435.6 MB, free: 1.863 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.287, allocations: 154.6 kB / 435.8 MB, free: 1.711 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.2872, allocations: 82.11 kB / 435.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.2873, allocations: 338.8 kB / 436.2 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000442/0.2878, allocations: 168.8 kB / 436.4 MB, free: 1.117 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004755/0.2882, allocations: 226.7 kB / 436.6 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008955/0.2891, allocations: 411.5 kB / 437 MB, free: 468 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2891, allocations: 0 / 437 MB, free: 468 kB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001107/0.2902, allocations: 484.8 kB / 437.5 MB, free: 15.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.2903, allocations: 8 kB / 437.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2903, allocations: 0 / 437.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.2903, allocations: 4.188 kB / 437.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006395/0.2909, allocations: 127.8 kB / 437.6 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.2909, allocations: 4 kB / 437.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004/0.2913, allocations: 27.98 kB / 437.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.08e-05/0.2914, allocations: 19.98 kB / 437.7 MB, free: 15.79 MB / 350.1 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.0001922/0.2916, allocations: 157.7 kB / 437.8 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.2917, allocations: 27.81 kB / 437.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00197/0.2936, allocations: 0.6563 MB / 438.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.2936, allocations: 4 kB / 438.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2937, allocations: 0 / 438.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.2937, allocations: 7.984 kB / 438.5 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003301/0.297, allocations: 1.243 MB / 439.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.023e-06/0.297, allocations: 4 kB / 439.8 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000459/0.2974, allocations: 79.89 kB / 439.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001614/0.299, allocations: 276.5 kB / 440.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/0.2991, allocations: 16 kB / 440.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004229/0.3033, allocations: 2.34 MB / 442.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3033, allocations: 0 / 442.5 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002419/0.3057, allocations: 1.008 MB / 443.5 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001689/0.3059, allocations: 67.8 kB / 443.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.573e-05/0.306, allocations: 12 kB / 443.5 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004581/0.3064, allocations: 35.97 kB / 443.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.3066, allocations: 36.36 kB / 443.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.3066, allocations: 16 kB / 443.6 MB, free: 9.605 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002516/0.3068, allocations: 212.5 kB / 443.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3068, allocations: 0 / 443.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005601/0.3074, allocations: 115.9 kB / 443.9 MB, free: 9.281 MB / 350.1 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.0002863/0.3077, allocations: 143 kB / 444.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001046/0.3087, allocations: 426 kB / 444.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3087, allocations: 0 / 444.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007474/0.3095, allocations: 368.9 kB / 444.9 MB, free: 8.344 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004885/0.31, allocations: 44.3 kB / 444.9 MB, free: 8.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.3118, allocations: 0.965 MB / 445.9 MB, free: 7.305 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/0.3123, allocations: 0.7892 MB / 446.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001954/0.3125, allocations: 42.91 kB / 446.7 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.3126, allocations: 39.41 kB / 446.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3126, allocations: 0 / 446.7 MB, free: 6.402 MB / 350.1 MB Notification: Performance of Templates: time 0.01336/0.326, allocations: 6.727 MB / 453.5 MB, free: 15.69 MB / 366.1 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.557220572605729]