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.001059/0.001059, allocations: 77.97 kB / 22.21 MB, free: 2.289 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.001169/0.001169, allocations: 162.6 kB / 25.61 MB, free: 8.094 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.9492/0.9492, allocations: 158.6 MB / 187.5 MB, free: 2.82 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 2.284e-06/2.284e-06, allocations: 0 / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.549e-05/1.777e-05, allocations: 2.312 kB / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004135/0.004152, allocations: 2.758 MB / 254.2 MB, free: 4.48 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.005785, allocations: 1.235 MB / 255.5 MB, free: 3.234 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.005921, allocations: 4 kB / 255.5 MB, free: 3.23 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002365/0.006158, allocations: 63.39 kB / 255.5 MB, free: 3.168 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004535/0.006611, allocations: 238.5 kB / 255.8 MB, free: 2.934 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.00687, allocations: 115.8 kB / 255.9 MB, free: 2.82 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003873/0.007257, allocations: 466.9 kB / 256.3 MB, free: 2.363 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.007393, allocations: 68.77 kB / 256.4 MB, free: 2.293 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002774/0.007671, allocations: 267.5 kB / 256.6 MB, free: 2.031 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001948/0.007865, allocations: 171.6 kB / 256.8 MB, free: 1.863 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.981e-05/0.007915, allocations: 44 kB / 256.9 MB, free: 1.82 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.008105, allocations: 151.9 kB / 257 MB, free: 1.672 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.911e-05/0.008165, allocations: 99.62 kB / 257.1 MB, free: 1.574 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.421e-05/0.008259, allocations: 131.7 kB / 257.2 MB, free: 1.441 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003583/0.008617, allocations: 390.6 kB / 257.6 MB, free: 1.059 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.008619, allocations: 0 / 257.6 MB, free: 1.059 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.00862, allocations: 4 kB / 257.6 MB, free: 1.055 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.008624, allocations: 3.938 kB / 257.6 MB, free: 1.051 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.0008399/0.009463, allocations: 0.7413 MB / 258.4 MB, free: 280 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.009496, allocations: 19.92 kB / 258.4 MB, free: 260 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.938e-05/0.009566, allocations: 56.75 kB / 258.4 MB, free: 204 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.0098, allocations: 241.1 kB / 258.7 MB, free: 15.93 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.446e-05/0.009864, allocations: 98.33 kB / 258.8 MB, free: 15.82 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.521e-05/0.009949, allocations: 48.62 kB / 258.8 MB, free: 15.77 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002831/0.01023, allocations: 289 kB / 259.1 MB, free: 15.46 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.01024, allocations: 3.938 kB / 259.1 MB, free: 15.46 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.01026, allocations: 12 kB / 259.1 MB, free: 15.45 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.01027, allocations: 8 kB / 259.1 MB, free: 15.44 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.01046, allocations: 137.3 kB / 259.3 MB, free: 15.3 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000967/0.01143, allocations: 1.04 MB / 260.3 MB, free: 14.21 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.01164, allocations: 209.6 kB / 260.5 MB, free: 13.98 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.531e-05/0.01173, allocations: 83.23 kB / 260.6 MB, free: 13.89 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.01174, allocations: 8 kB / 260.6 MB, free: 13.88 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.01176, allocations: 37.39 kB / 260.6 MB, free: 13.84 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.332e-06/0.01176, allocations: 0 / 260.6 MB, free: 13.84 MB / 250.7 MB Notification: Performance of matching and sorting (n=42): time 0.003607/0.01537, allocations: 1.681 MB / 262.3 MB, free: 12.11 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.0154, allocations: 81.11 kB / 262.4 MB, free: 12.02 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.01556, allocations: 304.1 kB / 262.7 MB, free: 11.7 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.01559, allocations: 29.7 kB / 262.7 MB, free: 11.67 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.331e-05/0.01567, allocations: 223.4 kB / 262.9 MB, free: 11.45 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.682e-05/0.01575, allocations: 154.6 kB / 263.1 MB, free: 11.29 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.342e-05/0.01584, allocations: 83.8 kB / 263.2 MB, free: 11.2 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.01597, allocations: 0.5156 MB / 263.7 MB, free: 10.68 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.337e-05/0.01605, allocations: 52.95 kB / 263.7 MB, free: 10.62 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/0.01617, allocations: 143.1 kB / 263.9 MB, free: 10.46 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.0164, allocations: 235.4 kB / 264.1 MB, free: 10.2 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.01641, allocations: 0 / 264.1 MB, free: 10.2 MB / 250.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003173/0.01672, allocations: 300.7 kB / 264.4 MB, free: 9.898 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.01673, allocations: 8 kB / 264.4 MB, free: 9.891 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.01674, allocations: 3.938 kB / 264.4 MB, free: 9.887 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-06/0.01675, allocations: 7.938 kB / 264.4 MB, free: 9.879 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002693/0.01702, allocations: 111.9 kB / 264.5 MB, free: 9.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.01702, allocations: 4 kB / 264.5 MB, free: 9.766 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.01717, allocations: 27.98 kB / 264.6 MB, free: 9.738 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.902e-05/0.01719, allocations: 19.98 kB / 264.6 MB, free: 9.719 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.0001085/0.01729, allocations: 180.5 kB / 264.8 MB, free: 9.531 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.497e-05/0.01736, allocations: 39.81 kB / 264.8 MB, free: 9.492 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006345/0.01799, allocations: 436.6 kB / 265.2 MB, free: 9.059 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.018, allocations: 8 kB / 265.2 MB, free: 9.051 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.018, allocations: 11.92 kB / 265.2 MB, free: 9.039 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.01801, allocations: 3.984 kB / 265.2 MB, free: 9.035 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.01924, allocations: 0.8695 MB / 266.1 MB, free: 8.125 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.01925, allocations: 0 / 266.1 MB, free: 8.125 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.01946, allocations: 87.89 kB / 266.2 MB, free: 8.039 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006171/0.02008, allocations: 231.3 kB / 266.4 MB, free: 7.809 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.0201, allocations: 11.94 kB / 266.4 MB, free: 7.797 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001665/0.02176, allocations: 2.38 MB / 268.8 MB, free: 5.301 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.02176, allocations: 0 / 268.8 MB, free: 5.301 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007894/0.02255, allocations: 0.7432 MB / 269.6 MB, free: 4.535 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.327e-05/0.02265, allocations: 75.78 kB / 269.6 MB, free: 4.461 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.959e-05/0.02268, allocations: 8 kB / 269.6 MB, free: 4.453 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.02285, allocations: 31.92 kB / 269.7 MB, free: 4.422 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.786e-05/0.02291, allocations: 36.42 kB / 269.7 MB, free: 4.387 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.02293, allocations: 11.94 kB / 269.7 MB, free: 4.375 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.647e-05/0.02303, allocations: 209.1 kB / 269.9 MB, free: 4.168 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02303, allocations: 4 kB / 269.9 MB, free: 4.164 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003198/0.02335, allocations: 111.9 kB / 270 MB, free: 4.055 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.0001512/0.0235, allocations: 143.1 kB / 270.2 MB, free: 3.906 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002565/0.02375, allocations: 231.7 kB / 270.4 MB, free: 3.676 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.02376, allocations: 384 / 270.4 MB, free: 3.676 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002633/0.02402, allocations: 352.2 kB / 270.7 MB, free: 3.316 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.02431, allocations: 36.56 kB / 270.8 MB, free: 3.281 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.02536, allocations: 0.8053 MB / 271.6 MB, free: 2.438 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.166e-05/0.02542, allocations: 102.6 kB / 271.7 MB, free: 2.312 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001115/0.02553, allocations: 46.95 kB / 271.7 MB, free: 2.27 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.02569, allocations: 122.2 kB / 271.9 MB, free: 2.148 MB / 250.7 MB Notification: Performance of SimCode: time 1.052e-06/0.02569, allocations: 0 / 271.9 MB, free: 2.148 MB / 250.7 MB Notification: Performance of Templates: time 0.00761/0.0333, allocations: 6.642 MB / 278.5 MB, free: 11.53 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.74541601119563]