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.001046/0.001046, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00152/0.002566, allocations: 445.8 kB / 10.44 MB, free: 256 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.0009788/0.0009788, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001361/0.00234, allocations: 475.6 kB / 11.8 MB, free: 2.367 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.8764/0.8764, allocations: 173.4 MB / 185.9 MB, free: 8.922 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0703/0.9467, allocations: 52.5 MB / 238.4 MB, free: 4.363 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 2.334e-06/2.334e-06, allocations: 3.984 kB / 239.7 MB, free: 3.086 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.989e-06/1.232e-05, allocations: 3.297 kB / 239.7 MB, free: 3.082 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.002471/0.002484, allocations: 2.889 MB / 242.6 MB, free: 184 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.003715, allocations: 1.23 MB / 243.8 MB, free: 14.94 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.003817, allocations: 0 / 243.8 MB, free: 14.94 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001275/0.003945, allocations: 63.44 kB / 243.9 MB, free: 14.88 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000311/0.004256, allocations: 238.4 kB / 244.1 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000165/0.00442, allocations: 107.8 kB / 244.2 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003078/0.004728, allocations: 478.8 kB / 244.7 MB, free: 14.07 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.004829, allocations: 58.88 kB / 244.8 MB, free: 14.01 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002791/0.005108, allocations: 317.3 kB / 245.1 MB, free: 13.7 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.005286, allocations: 179.5 kB / 245.3 MB, free: 13.52 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.252e-05/0.005328, allocations: 40 kB / 245.3 MB, free: 13.48 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.00553, allocations: 155.9 kB / 245.4 MB, free: 13.33 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.001e-05/0.00558, allocations: 63.81 kB / 245.5 MB, free: 13.27 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.728e-05/0.005657, allocations: 107.8 kB / 245.6 MB, free: 13.16 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003121/0.005969, allocations: 350.7 kB / 246 MB, free: 12.82 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.217e-06/0.005978, allocations: 4 kB / 246 MB, free: 12.82 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.005979, allocations: 0 / 246 MB, free: 12.82 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.005988, allocations: 0 / 246 MB, free: 12.82 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.0007952/0.006783, allocations: 0.671 MB / 246.6 MB, free: 12.12 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.486e-05/0.006808, allocations: 12.03 kB / 246.6 MB, free: 12.11 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.503e-05/0.006873, allocations: 48.88 kB / 246.7 MB, free: 12.06 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002134/0.007087, allocations: 216.9 kB / 246.9 MB, free: 11.82 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.269e-05/0.007149, allocations: 102.3 kB / 247 MB, free: 11.7 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.351e-05/0.007233, allocations: 40.67 kB / 247 MB, free: 11.66 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.007481, allocations: 276.5 kB / 247.3 MB, free: 11.37 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.007491, allocations: 3.938 kB / 247.3 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.00751, allocations: 12 kB / 247.3 MB, free: 11.35 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.007515, allocations: 4 kB / 247.3 MB, free: 11.35 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.007672, allocations: 125.3 kB / 247.5 MB, free: 11.22 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007691/0.008441, allocations: 0.7693 MB / 248.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.008623, allocations: 169 kB / 248.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.153e-05/0.008695, allocations: 77.67 kB / 248.5 MB, free: 10.15 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.008709, allocations: 8 kB / 248.5 MB, free: 10.14 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.008729, allocations: 38.56 kB / 248.5 MB, free: 10.09 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.233e-06/0.00873, allocations: 0 / 248.5 MB, free: 10.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=42): time 0.003913/0.01264, allocations: 1.933 MB / 250.4 MB, free: 8.121 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/0.01267, allocations: 85.11 kB / 250.5 MB, free: 8.02 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.01281, allocations: 246.6 kB / 250.8 MB, free: 7.762 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.01284, allocations: 33.7 kB / 250.8 MB, free: 7.723 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.01289, allocations: 152.7 kB / 250.9 MB, free: 7.566 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.133e-05/0.01296, allocations: 154.6 kB / 251.1 MB, free: 7.414 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.909e-05/0.01304, allocations: 82.12 kB / 251.2 MB, free: 7.328 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.227e-05/0.01311, allocations: 342.8 kB / 251.5 MB, free: 6.984 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.799e-05/0.01318, allocations: 44.97 kB / 251.6 MB, free: 6.941 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.331e-05/0.01327, allocations: 115.2 kB / 251.7 MB, free: 6.809 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.01346, allocations: 207.8 kB / 251.9 MB, free: 6.586 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.01346, allocations: 0 / 251.9 MB, free: 6.586 MB / 250.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002394/0.0137, allocations: 228.9 kB / 252.1 MB, free: 6.355 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.026e-05/0.01371, allocations: 6.5 kB / 252.1 MB, free: 6.352 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.01372, allocations: 4 kB / 252.1 MB, free: 6.348 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.01373, allocations: 7.938 kB / 252.1 MB, free: 6.34 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003235/0.01405, allocations: 144 kB / 252.3 MB, free: 6.199 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.01406, allocations: 4 kB / 252.3 MB, free: 6.195 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.01419, allocations: 27.98 kB / 252.3 MB, free: 6.168 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.01421, allocations: 15.98 kB / 252.3 MB, free: 6.152 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 8.213e-05/0.01429, allocations: 133.7 kB / 252.4 MB, free: 6.012 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.393e-05/0.01435, allocations: 35.91 kB / 252.5 MB, free: 5.977 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005306/0.01488, allocations: 370.9 kB / 252.8 MB, free: 5.605 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-06/0.01488, allocations: 7.938 kB / 252.8 MB, free: 5.598 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.01488, allocations: 0 / 252.8 MB, free: 5.598 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.01489, allocations: 0 / 252.8 MB, free: 5.598 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.01591, allocations: 0.7005 MB / 253.5 MB, free: 4.871 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.01591, allocations: 0 / 253.5 MB, free: 4.871 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002435/0.01615, allocations: 116.2 kB / 253.7 MB, free: 4.762 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.948e-05/0.01622, allocations: 35.8 kB / 253.7 MB, free: 4.727 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006127/0.01684, allocations: 244.4 kB / 253.9 MB, free: 4.484 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.01686, allocations: 16 kB / 253.9 MB, free: 4.469 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001308/0.01817, allocations: 1.676 MB / 255.6 MB, free: 2.707 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.01817, allocations: 4 kB / 255.6 MB, free: 2.703 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006319/0.0188, allocations: 0.5851 MB / 256.2 MB, free: 2.102 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.01883, allocations: 8 kB / 256.2 MB, free: 2.094 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.01899, allocations: 31.86 kB / 256.2 MB, free: 2.062 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.423e-05/0.01906, allocations: 36.42 kB / 256.3 MB, free: 2.027 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.01907, allocations: 8 kB / 256.3 MB, free: 2.02 MB / 250.7 MB Notification: Performance of sorting global known variables: time 7.05e-05/0.01914, allocations: 93.59 kB / 256.4 MB, free: 1.922 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01914, allocations: 4 kB / 256.4 MB, free: 1.918 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002894/0.01943, allocations: 119.9 kB / 256.5 MB, free: 1.801 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.0001602/0.01959, allocations: 124.2 kB / 256.6 MB, free: 1.668 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.000239/0.01983, allocations: 225.2 kB / 256.8 MB, free: 1.445 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/0.01984, allocations: 7.938 kB / 256.8 MB, free: 1.438 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002587/0.0201, allocations: 292.2 kB / 257.1 MB, free: 1.133 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003295/0.02043, allocations: 332.4 kB / 257.5 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.02299, allocations: 0.723 MB / 258.2 MB, free: 4 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.703e-05/0.02306, allocations: 106.6 kB / 258.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.02317, allocations: 43 kB / 258.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.02333, allocations: 115.3 kB / 258.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.02333, allocations: 0 / 258.4 MB, free: 15.72 MB / 266.7 MB Notification: Performance of Templates: time 0.007804/0.03114, allocations: 6.973 MB / 265.4 MB, free: 8.793 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.382660934701562]