Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002615/0.002615, allocations: 95.59 kB / 20.96 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003087/0.003087, allocations: 156.9 kB / 24.27 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.61/1.61, allocations: 177 MB / 204.5 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 6.953e-06/6.953e-06, allocations: 4 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.634e-05/4.329e-05, allocations: 9.266 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.008511/0.008555, allocations: 2.827 MB / 275 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00457/0.01313, allocations: 1.25 MB / 276.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004111/0.01354, allocations: 4 kB / 276.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005382/0.01407, allocations: 63.42 kB / 276.3 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001345/0.01542, allocations: 238.5 kB / 276.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006271/0.01605, allocations: 135.7 kB / 276.7 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001062/0.01711, allocations: 474.9 kB / 277.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002496/0.01736, allocations: 56.89 kB / 277.2 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000875/0.01823, allocations: 275.4 kB / 277.5 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006146/0.01885, allocations: 171.5 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.01901, allocations: 44 kB / 277.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000585/0.01959, allocations: 163.8 kB / 277.9 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.01977, allocations: 91.7 kB / 278 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003346/0.0201, allocations: 135.6 kB / 278.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.02148, allocations: 0.5529 MB / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.02149, allocations: 4 kB / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.02149, allocations: 0 / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.687e-05/0.02151, allocations: 0 / 278.6 MB, free: 11.32 MB / 266.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.00296/0.02447, allocations: 0.7527 MB / 279.4 MB, free: 10.53 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.02452, allocations: 15.98 kB / 279.4 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003896/0.02491, allocations: 64.75 kB / 279.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007875/0.0257, allocations: 269.6 kB / 279.7 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001849/0.02588, allocations: 102.3 kB / 279.8 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002767/0.02616, allocations: 40.69 kB / 279.9 MB, free: 10 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.02732, allocations: 360.3 kB / 280.2 MB, free: 9.621 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.02735, allocations: 3.938 kB / 280.2 MB, free: 9.617 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.015e-05/0.0274, allocations: 8 kB / 280.2 MB, free: 9.609 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.525e-05/0.02743, allocations: 8 kB / 280.3 MB, free: 9.602 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.02859, allocations: 281.8 kB / 280.5 MB, free: 9.328 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003372/0.03196, allocations: 1.196 MB / 281.7 MB, free: 8.066 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.03303, allocations: 290 kB / 282 MB, free: 7.758 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005484/0.03358, allocations: 159.2 kB / 282.2 MB, free: 7.594 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.158e-05/0.03362, allocations: 4 kB / 282.2 MB, free: 7.59 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.929e-05/0.03368, allocations: 45.39 kB / 282.2 MB, free: 7.535 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 2.315e-06/0.03368, allocations: 0 / 282.2 MB, free: 7.535 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.01605/0.04973, allocations: 2.2 MB / 284.4 MB, free: 5.293 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.969e-05/0.04983, allocations: 81.11 kB / 284.5 MB, free: 5.195 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007401/0.05057, allocations: 376.1 kB / 284.9 MB, free: 4.812 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.297e-05/0.05065, allocations: 37.7 kB / 284.9 MB, free: 4.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002757/0.05092, allocations: 219.4 kB / 285.1 MB, free: 4.551 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002876/0.05121, allocations: 162.6 kB / 285.3 MB, free: 4.391 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003031/0.05151, allocations: 99.81 kB / 285.4 MB, free: 4.285 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0004287/0.05194, allocations: 0.5196 MB / 285.9 MB, free: 3.754 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006821/0.05262, allocations: 152.9 kB / 286 MB, free: 3.605 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008356/0.05346, allocations: 251 kB / 286.3 MB, free: 3.332 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.05509, allocations: 431.4 kB / 286.7 MB, free: 2.883 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.05509, allocations: 0 / 286.7 MB, free: 2.883 MB / 266.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001921/0.05701, allocations: 492.5 kB / 287.2 MB, free: 2.395 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.05704, allocations: 7.938 kB / 287.2 MB, free: 2.387 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.05706, allocations: 4 kB / 287.2 MB, free: 2.383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/0.05709, allocations: 4 kB / 287.2 MB, free: 2.379 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.05818, allocations: 111.8 kB / 287.3 MB, free: 2.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/0.0582, allocations: 8.188 kB / 287.3 MB, free: 2.262 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006488/0.05885, allocations: 27.98 kB / 287.3 MB, free: 2.234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.422e-05/0.05892, allocations: 16 kB / 287.4 MB, free: 2.219 MB / 266.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.0003483/0.05927, allocations: 200.5 kB / 287.6 MB, free: 2.012 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002365/0.05951, allocations: 55.7 kB / 287.6 MB, free: 1.957 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003235/0.06274, allocations: 0.6256 MB / 288.2 MB, free: 1.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.06276, allocations: 11.94 kB / 288.2 MB, free: 1.309 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-06/0.06277, allocations: 3.984 kB / 288.2 MB, free: 1.305 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.06277, allocations: 0 / 288.2 MB, free: 1.305 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005557/0.06833, allocations: 1.197 MB / 289.4 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.06834, allocations: 3.938 kB / 289.4 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007972/0.06914, allocations: 83.89 kB / 289.5 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001947/0.07108, allocations: 275.3 kB / 289.8 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.395e-05/0.07113, allocations: 4 kB / 289.8 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004845/0.07597, allocations: 2.868 MB / 292.7 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.07597, allocations: 0 / 292.7 MB, free: 12.71 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002546/0.07852, allocations: 1.091 MB / 293.8 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002241/0.07875, allocations: 75.75 kB / 293.8 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.582e-05/0.07882, allocations: 12 kB / 293.8 MB, free: 11.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004368/0.07926, allocations: 27.92 kB / 293.9 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.07939, allocations: 40.42 kB / 293.9 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.629e-05/0.07943, allocations: 12 kB / 293.9 MB, free: 11.43 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003129/0.07974, allocations: 257.1 kB / 294.2 MB, free: 11.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.07974, allocations: 0 / 294.2 MB, free: 11.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005929/0.08033, allocations: 115.9 kB / 294.3 MB, free: 11.06 MB / 282.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.0003283/0.08066, allocations: 151 kB / 294.4 MB, free: 10.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001034/0.08169, allocations: 423.9 kB / 294.9 MB, free: 10.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.0817, allocations: 8.062 kB / 294.9 MB, free: 10.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008025/0.0825, allocations: 440.3 kB / 295.3 MB, free: 10.03 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005032/0.083, allocations: 48.53 kB / 295.3 MB, free: 9.984 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.08484, allocations: 0.8643 MB / 296.2 MB, free: 9.082 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002238/0.08507, allocations: 183.1 kB / 296.4 MB, free: 8.879 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001959/0.08526, allocations: 34.97 kB / 296.4 MB, free: 8.848 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.08542, allocations: 48.47 kB / 296.5 MB, free: 8.801 MB / 282.7 MB Notification: Performance of SimCode: time 1.142e-06/0.08542, allocations: 0 / 296.5 MB, free: 8.801 MB / 282.7 MB Notification: Performance of Templates: time 0.01399/0.09941, allocations: 6.28 MB / 302.7 MB, free: 2.551 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.902041667024605]