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.0007699/0.0007699, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001752/0.002522, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.0009311/0.0009311, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001681/0.002612, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9619/0.9619, allocations: 173.4 MB / 185.8 MB, free: 8.988 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0903/1.052, allocations: 52.49 MB / 238.3 MB, free: 4.434 MB / 234.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.573e-06/1.573e-06, allocations: 0 / 239.5 MB, free: 3.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.257e-05/2.415e-05, allocations: 2.875 kB / 239.5 MB, free: 3.191 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.008325/0.008349, allocations: 2.885 MB / 242.4 MB, free: 304 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.005064/0.01341, allocations: 1.238 MB / 243.7 MB, free: 15.05 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002188/0.01363, allocations: 4 kB / 243.7 MB, free: 15.04 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001903/0.01382, allocations: 67.42 kB / 243.7 MB, free: 14.98 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004563/0.01428, allocations: 230.4 kB / 244 MB, free: 14.75 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002377/0.01452, allocations: 115.7 kB / 244.1 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003841/0.0149, allocations: 466.9 kB / 244.5 MB, free: 14.18 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.01503, allocations: 58.81 kB / 244.6 MB, free: 14.12 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003573/0.01538, allocations: 321.2 kB / 244.9 MB, free: 13.81 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.01561, allocations: 183.5 kB / 245.1 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.1e-05/0.01566, allocations: 40 kB / 245.1 MB, free: 13.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002533/0.01591, allocations: 159.9 kB / 245.3 MB, free: 13.43 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.8e-05/0.01597, allocations: 63.81 kB / 245.3 MB, free: 13.37 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001119/0.01608, allocations: 107.8 kB / 245.4 MB, free: 13.27 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003438/0.01952, allocations: 342.8 kB / 245.8 MB, free: 12.93 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.434e-05/0.01953, allocations: 0 / 245.8 MB, free: 12.93 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01953, allocations: 0 / 245.8 MB, free: 12.93 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.01955, allocations: 0 / 245.8 MB, free: 12.93 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.001034/0.02058, allocations: 0.671 MB / 246.4 MB, free: 12.23 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.944e-05/0.02061, allocations: 12.03 kB / 246.5 MB, free: 12.22 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.119e-05/0.02068, allocations: 48.91 kB / 246.5 MB, free: 12.18 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.02095, allocations: 208.9 kB / 246.7 MB, free: 11.95 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.232e-05/0.02103, allocations: 102.3 kB / 246.8 MB, free: 11.83 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000119/0.02115, allocations: 44.67 kB / 246.8 MB, free: 11.79 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.02148, allocations: 276.5 kB / 247.1 MB, free: 11.48 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.0215, allocations: 3.938 kB / 247.1 MB, free: 11.48 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.02152, allocations: 12 kB / 247.1 MB, free: 11.47 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.02153, allocations: 11.98 kB / 247.1 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002066/0.02173, allocations: 117.3 kB / 247.3 MB, free: 11.34 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004367/0.0261, allocations: 0.7888 MB / 248 MB, free: 10.51 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000233/0.02633, allocations: 161 kB / 248.2 MB, free: 10.34 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.221e-05/0.02643, allocations: 73.67 kB / 248.3 MB, free: 10.26 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.02645, allocations: 4 kB / 248.3 MB, free: 10.25 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.02647, allocations: 38.56 kB / 248.3 MB, free: 10.21 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 2.074e-06/0.02647, allocations: 0 / 248.3 MB, free: 10.21 MB / 250.7 MB Notification: Performance of matching and sorting (n=42): time 0.008324/0.0348, allocations: 1.918 MB / 250.2 MB, free: 8.25 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.03484, allocations: 85.05 kB / 250.3 MB, free: 8.148 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003206/0.03804, allocations: 242.6 kB / 250.6 MB, free: 7.898 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.03807, allocations: 37.7 kB / 250.6 MB, free: 7.855 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.13e-05/0.03814, allocations: 148.7 kB / 250.7 MB, free: 7.703 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.395e-05/0.03824, allocations: 154.6 kB / 250.9 MB, free: 7.551 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.03835, allocations: 86.12 kB / 251 MB, free: 7.461 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.313e-05/0.03844, allocations: 338.8 kB / 251.3 MB, free: 7.121 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.194e-05/0.03853, allocations: 48.97 kB / 251.4 MB, free: 7.07 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.03865, allocations: 119.2 kB / 251.5 MB, free: 6.938 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000244/0.0389, allocations: 198.4 kB / 251.7 MB, free: 6.723 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.0389, allocations: 4 kB / 251.7 MB, free: 6.719 MB / 250.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000318/0.03922, allocations: 225.2 kB / 251.9 MB, free: 6.492 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.03923, allocations: 8 kB / 251.9 MB, free: 6.484 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.03924, allocations: 0 / 251.9 MB, free: 6.484 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.03925, allocations: 7.938 kB / 251.9 MB, free: 6.477 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004446/0.0397, allocations: 143.8 kB / 252 MB, free: 6.336 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.0397, allocations: 4 kB / 252 MB, free: 6.332 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.03988, allocations: 32.11 kB / 252.1 MB, free: 6.301 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.0399, allocations: 11.98 kB / 252.1 MB, free: 6.289 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.0001082/0.04001, allocations: 133.7 kB / 252.2 MB, free: 6.148 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.641e-05/0.0401, allocations: 35.91 kB / 252.3 MB, free: 6.113 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008252/0.04092, allocations: 363 kB / 252.6 MB, free: 5.746 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.103e-06/0.04093, allocations: 7.938 kB / 252.6 MB, free: 5.738 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.04093, allocations: 8 kB / 252.6 MB, free: 5.73 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.776e-05/0.04095, allocations: 3.984 kB / 252.6 MB, free: 5.727 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00163/0.04258, allocations: 0.6888 MB / 253.3 MB, free: 5.012 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.04258, allocations: 4 kB / 253.3 MB, free: 5.008 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003886/0.04297, allocations: 119 kB / 253.4 MB, free: 4.895 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.416e-05/0.04307, allocations: 31.8 kB / 253.5 MB, free: 4.863 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007146/0.04378, allocations: 220.5 kB / 253.7 MB, free: 4.645 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.479e-05/0.04381, allocations: 8 kB / 253.7 MB, free: 4.637 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/0.04547, allocations: 1.688 MB / 255.4 MB, free: 2.859 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.04547, allocations: 0 / 255.4 MB, free: 2.859 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008915/0.04636, allocations: 0.589 MB / 256 MB, free: 2.254 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.922e-05/0.04641, allocations: 12 kB / 256 MB, free: 2.242 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002684/0.04668, allocations: 23.92 kB / 256 MB, free: 2.219 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.823e-05/0.04678, allocations: 44.36 kB / 256 MB, free: 2.176 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.0468, allocations: 8 kB / 256.1 MB, free: 2.168 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001138/0.04691, allocations: 93.61 kB / 256.1 MB, free: 2.074 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04691, allocations: 0 / 256.1 MB, free: 2.074 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0005104/0.04742, allocations: 119.9 kB / 256.3 MB, free: 1.957 MB / 250.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.0002319/0.04766, allocations: 120.3 kB / 256.4 MB, free: 1.828 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003837/0.04804, allocations: 213.2 kB / 256.6 MB, free: 1.617 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.721e-05/0.04806, allocations: 11.92 kB / 256.6 MB, free: 1.605 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003596/0.04842, allocations: 267.2 kB / 256.9 MB, free: 1.328 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.04883, allocations: 84.98 kB / 256.9 MB, free: 1.246 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003582/0.05241, allocations: 0.7346 MB / 257.7 MB, free: 492 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.412e-05/0.05249, allocations: 106.6 kB / 257.8 MB, free: 368 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.000182/0.05267, allocations: 38.97 kB / 257.8 MB, free: 324 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/0.05291, allocations: 115.3 kB / 257.9 MB, free: 208 kB / 250.7 MB Notification: Performance of SimCode: time 7.92e-07/0.05291, allocations: 0 / 257.9 MB, free: 208 kB / 250.7 MB Notification: Performance of Templates: time 0.01089/0.06379, allocations: 6.883 MB / 264.8 MB, free: 9.371 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 -ignoreHideResult -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.6380588077008724]