Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001402/0.001402, allocations: 75.77 kB / 22.46 MB, free: 2.094 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.001592/0.001592, allocations: 164.1 kB / 25.75 MB, free: 8.949 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9389/0.9389, allocations: 158.6 MB / 187.5 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 251.1 MB, free: 7.812 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/2.979e-05, allocations: 2.312 kB / 251.1 MB, free: 7.809 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004322/0.004352, allocations: 2.786 MB / 253.9 MB, free: 5.004 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001998/0.00635, allocations: 1.235 MB / 255.1 MB, free: 3.758 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001735/0.006524, allocations: 4 kB / 255.1 MB, free: 3.754 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.006851, allocations: 75.3 kB / 255.2 MB, free: 3.68 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005624/0.007414, allocations: 226.6 kB / 255.4 MB, free: 3.457 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002336/0.007647, allocations: 123.8 kB / 255.5 MB, free: 3.336 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004392/0.008086, allocations: 474.8 kB / 256 MB, free: 2.871 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.008237, allocations: 56.89 kB / 256.1 MB, free: 2.812 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003086/0.008546, allocations: 263.5 kB / 256.3 MB, free: 2.555 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.008799, allocations: 175.5 kB / 256.5 MB, free: 2.383 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 6.405e-05/0.008863, allocations: 44 kB / 256.5 MB, free: 2.34 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002611/0.009124, allocations: 155.8 kB / 256.7 MB, free: 2.188 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 8.548e-05/0.009209, allocations: 99.64 kB / 256.8 MB, free: 2.09 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.009354, allocations: 131.7 kB / 256.9 MB, free: 1.961 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005295/0.009884, allocations: 402.6 kB / 257.3 MB, free: 1.566 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.009887, allocations: 0 / 257.3 MB, free: 1.566 MB / 234.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.009888, allocations: 0 / 257.3 MB, free: 1.566 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.009896, allocations: 3.984 kB / 257.3 MB, free: 1.562 MB / 234.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.001365/0.01126, allocations: 0.7297 MB / 258 MB, free: 0.7969 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.0113, allocations: 11.98 kB / 258.1 MB, free: 0.7852 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.01143, allocations: 60.7 kB / 258.1 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004118/0.01185, allocations: 245.7 kB / 258.4 MB, free: 468 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.01195, allocations: 106.3 kB / 258.5 MB, free: 344 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.0121, allocations: 40.67 kB / 258.5 MB, free: 304 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005548/0.01266, allocations: 301 kB / 258.8 MB, free: 15.97 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.01267, allocations: 3.938 kB / 258.8 MB, free: 15.97 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.01271, allocations: 12 kB / 258.8 MB, free: 15.96 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.01272, allocations: 8 kB / 258.8 MB, free: 15.95 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004133/0.01314, allocations: 166.8 kB / 259 MB, free: 15.79 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.01475, allocations: 1.09 MB / 260.1 MB, free: 14.63 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004018/0.01515, allocations: 218 kB / 260.3 MB, free: 14.39 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001898/0.01534, allocations: 99.23 kB / 260.4 MB, free: 14.29 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.01536, allocations: 8 kB / 260.4 MB, free: 14.28 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003091/0.01567, allocations: 37.39 kB / 260.4 MB, free: 14.23 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 2.294e-06/0.01567, allocations: 0 / 260.4 MB, free: 14.23 MB / 250.7 MB Notification: Performance of matching and sorting (n=42): time 0.006252/0.02193, allocations: 1.809 MB / 262.2 MB, free: 12.38 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.02197, allocations: 81.11 kB / 262.3 MB, free: 12.29 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/0.0223, allocations: 316.2 kB / 262.6 MB, free: 11.96 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.02234, allocations: 33.7 kB / 262.7 MB, free: 11.92 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.02248, allocations: 223.3 kB / 262.9 MB, free: 11.7 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/0.02261, allocations: 146.7 kB / 263 MB, free: 11.55 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.02276, allocations: 91.77 kB / 263.1 MB, free: 11.45 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.02292, allocations: 0.5079 MB / 263.6 MB, free: 10.93 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.02313, allocations: 76.94 kB / 263.7 MB, free: 10.86 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.02339, allocations: 163 kB / 263.8 MB, free: 10.67 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004825/0.02388, allocations: 251.5 kB / 264.1 MB, free: 10.4 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.02388, allocations: 8 kB / 264.1 MB, free: 10.39 MB / 250.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006821/0.02456, allocations: 332.5 kB / 264.4 MB, free: 10.06 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.02459, allocations: 11.94 kB / 264.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.02459, allocations: 0 / 264.4 MB, free: 10.05 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.02461, allocations: 4.188 kB / 264.4 MB, free: 10.04 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004834/0.0251, allocations: 115.9 kB / 264.6 MB, free: 9.93 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.02511, allocations: 7.984 kB / 264.6 MB, free: 9.922 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.02537, allocations: 24 kB / 264.6 MB, free: 9.898 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.4e-05/0.02542, allocations: 19.98 kB / 264.6 MB, free: 9.879 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.0001578/0.02558, allocations: 176.5 kB / 264.8 MB, free: 9.695 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.0257, allocations: 55.75 kB / 264.8 MB, free: 9.641 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.02696, allocations: 464.8 kB / 265.3 MB, free: 9.184 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.02697, allocations: 7.938 kB / 265.3 MB, free: 9.176 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.02697, allocations: 0 / 265.3 MB, free: 9.176 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.02698, allocations: 3.984 kB / 265.3 MB, free: 9.172 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.0286, allocations: 0.9471 MB / 266.2 MB, free: 8.172 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.0286, allocations: 3.938 kB / 266.2 MB, free: 8.168 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.02883, allocations: 87.89 kB / 266.3 MB, free: 8.082 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007149/0.02954, allocations: 227.3 kB / 266.6 MB, free: 7.855 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.02957, allocations: 15.98 kB / 266.6 MB, free: 7.84 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002175/0.03175, allocations: 2.434 MB / 269 MB, free: 5.281 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.03175, allocations: 4.031 kB / 269 MB, free: 5.277 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009293/0.03268, allocations: 0.7902 MB / 269.8 MB, free: 4.465 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.945e-05/0.03278, allocations: 79.64 kB / 269.9 MB, free: 4.387 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.551e-05/0.03282, allocations: 12 kB / 269.9 MB, free: 4.375 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.033, allocations: 27.92 kB / 269.9 MB, free: 4.348 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.515e-05/0.03308, allocations: 44.42 kB / 270 MB, free: 4.305 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.0331, allocations: 12 kB / 270 MB, free: 4.293 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001253/0.03323, allocations: 221.1 kB / 270.2 MB, free: 4.078 MB / 250.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03323, allocations: 0 / 270.2 MB, free: 4.078 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003417/0.03357, allocations: 115.9 kB / 270.3 MB, free: 3.965 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.0002173/0.03379, allocations: 143.1 kB / 270.4 MB, free: 3.816 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003667/0.03415, allocations: 259.7 kB / 270.7 MB, free: 3.559 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.03416, allocations: 0 / 270.7 MB, free: 3.559 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003559/0.03451, allocations: 364.3 kB / 271 MB, free: 3.184 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.03483, allocations: 48.88 kB / 271.1 MB, free: 3.137 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.03604, allocations: 0.8054 MB / 271.9 MB, free: 2.293 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.126e-05/0.03611, allocations: 102.6 kB / 272 MB, free: 2.168 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.03622, allocations: 42.94 kB / 272 MB, free: 2.129 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.819e-05/0.03632, allocations: 44.42 kB / 272.1 MB, free: 2.086 MB / 250.7 MB Notification: Performance of SimCode: time 8.21e-07/0.03632, allocations: 0 / 272.1 MB, free: 2.086 MB / 250.7 MB Notification: Performance of Templates: time 0.00776/0.04408, allocations: 6.287 MB / 278.4 MB, free: 11.82 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.9743031829129905]