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.0008392/0.0008392, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001282/0.002122, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001082/0.001082, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001175/0.002257, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9835/0.9835, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08663/1.07, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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 1.813e-06/1.813e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.104e-05/2.285e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004517/0.00454, allocations: 2.912 MB / 247.6 MB, free: 11.29 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.006825, allocations: 1.28 MB / 248.9 MB, free: 10 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.007009, allocations: 7.938 kB / 248.9 MB, free: 9.996 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002076/0.007216, allocations: 59.39 kB / 249 MB, free: 9.938 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005585/0.007775, allocations: 238.5 kB / 249.2 MB, free: 9.703 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.008098, allocations: 135.6 kB / 249.3 MB, free: 9.57 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005289/0.008627, allocations: 474.9 kB / 249.8 MB, free: 9.105 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.008771, allocations: 62.84 kB / 249.8 MB, free: 9.047 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004921/0.009263, allocations: 317.3 kB / 250.2 MB, free: 8.734 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002819/0.009545, allocations: 183.5 kB / 250.3 MB, free: 8.555 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.305e-05/0.009618, allocations: 40 kB / 250.4 MB, free: 8.516 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003203/0.009938, allocations: 171.8 kB / 250.5 MB, free: 8.348 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.106e-05/0.01001, allocations: 63.81 kB / 250.6 MB, free: 8.285 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.01013, allocations: 99.81 kB / 250.7 MB, free: 8.188 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005371/0.01067, allocations: 342.8 kB / 251 MB, free: 7.852 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.56e-05/0.01069, allocations: 8 kB / 251 MB, free: 7.844 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.01069, allocations: 0 / 251 MB, free: 7.844 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.453e-05/0.0107, allocations: 0 / 251 MB, free: 7.844 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.001353/0.01206, allocations: 0.6787 MB / 251.7 MB, free: 7.141 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.0121, allocations: 12.03 kB / 251.7 MB, free: 7.129 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002333/0.01234, allocations: 134 kB / 251.9 MB, free: 6.98 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003563/0.01269, allocations: 212.9 kB / 252.1 MB, free: 6.742 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.0128, allocations: 110.3 kB / 252.2 MB, free: 6.613 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.01293, allocations: 36.73 kB / 252.2 MB, free: 6.578 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004144/0.01334, allocations: 276.4 kB / 252.5 MB, free: 6.285 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.01336, allocations: 3.938 kB / 252.5 MB, free: 6.281 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.98e-05/0.01339, allocations: 12 kB / 252.5 MB, free: 6.27 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.0134, allocations: 4 kB / 252.5 MB, free: 6.266 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002577/0.01366, allocations: 133.3 kB / 252.6 MB, free: 6.137 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.01491, allocations: 0.7615 MB / 253.4 MB, free: 5.332 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.01521, allocations: 173.1 kB / 253.6 MB, free: 5.145 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/0.01532, allocations: 83.95 kB / 253.7 MB, free: 5.059 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.01535, allocations: 8 kB / 253.7 MB, free: 5.051 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.01538, allocations: 34.56 kB / 253.7 MB, free: 5.008 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 2.014e-06/0.01538, allocations: 0 / 253.7 MB, free: 5.008 MB / 250.7 MB Notification: Performance of matching and sorting (n=42): time 0.006246/0.02163, allocations: 1.934 MB / 255.6 MB, free: 3.035 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.517e-05/0.02167, allocations: 85.11 kB / 255.7 MB, free: 2.934 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.02189, allocations: 246.7 kB / 256 MB, free: 2.68 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.02191, allocations: 33.7 kB / 256 MB, free: 2.641 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002699/0.02218, allocations: 157.1 kB / 256.1 MB, free: 2.48 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.54e-05/0.02227, allocations: 154.7 kB / 256.3 MB, free: 2.328 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.876e-05/0.02237, allocations: 78.09 kB / 256.4 MB, free: 2.246 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.02251, allocations: 346.7 kB / 256.7 MB, free: 1.898 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-05/0.02259, allocations: 48.97 kB / 256.8 MB, free: 1.852 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.0227, allocations: 115.3 kB / 256.9 MB, free: 1.715 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.02292, allocations: 207.7 kB / 257.1 MB, free: 1.492 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.02292, allocations: 0 / 257.1 MB, free: 1.492 MB / 250.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000278/0.0232, allocations: 224.9 kB / 257.3 MB, free: 1.266 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.02322, allocations: 8 kB / 257.3 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.02323, allocations: 0 / 257.3 MB, free: 1.258 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.02325, allocations: 7.938 kB / 257.3 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004667/0.02371, allocations: 147.9 kB / 257.4 MB, free: 1.105 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.02372, allocations: 4 kB / 257.5 MB, free: 1.102 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/0.02387, allocations: 27.98 kB / 257.5 MB, free: 1.074 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.02389, allocations: 11.98 kB / 257.5 MB, free: 1.062 MB / 250.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.0001023/0.02399, allocations: 133.7 kB / 257.6 MB, free: 0.9219 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.631e-05/0.02405, allocations: 39.84 kB / 257.7 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005927/0.02465, allocations: 370.9 kB / 258 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.02465, allocations: 7.938 kB / 258 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.02465, allocations: 0 / 258 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.02466, allocations: 7.984 kB / 258 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.02578, allocations: 0.685 MB / 258.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.02578, allocations: 4 kB / 258.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.02604, allocations: 112.6 kB / 258.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.066e-05/0.02612, allocations: 35.78 kB / 258.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006396/0.02676, allocations: 232.6 kB / 259.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.687e-05/0.02679, allocations: 12 kB / 259.1 MB, free: 15.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/0.02828, allocations: 1.688 MB / 260.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.02828, allocations: 0 / 260.8 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006649/0.02895, allocations: 0.5852 MB / 261.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.139e-05/0.02898, allocations: 12 kB / 261.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.02915, allocations: 27.92 kB / 261.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.536e-05/0.02924, allocations: 36.42 kB / 261.5 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.02926, allocations: 12 kB / 261.5 MB, free: 12.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.149e-05/0.02934, allocations: 93.59 kB / 261.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02934, allocations: 0 / 261.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003225/0.02966, allocations: 119.9 kB / 261.7 MB, free: 12.72 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.0002096/0.02987, allocations: 128.2 kB / 261.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002613/0.03013, allocations: 213.7 kB / 262 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.441e-05/0.03015, allocations: 12.09 kB / 262 MB, free: 12.37 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002983/0.03044, allocations: 303.2 kB / 262.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003651/0.03081, allocations: 327.8 kB / 262.6 MB, free: 11.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002714/0.03352, allocations: 0.7381 MB / 263.4 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.36e-05/0.03359, allocations: 106.5 kB / 263.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001229/0.03371, allocations: 47 kB / 263.5 MB, free: 10.74 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.03388, allocations: 111.3 kB / 263.6 MB, free: 10.63 MB / 266.7 MB Notification: Performance of SimCode: time 6.42e-07/0.03388, allocations: 3.938 kB / 263.6 MB, free: 10.62 MB / 266.7 MB Notification: Performance of Templates: time 0.008271/0.04215, allocations: 6.964 MB / 270.6 MB, free: 3.719 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5434841699898243]