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.001291/0.001291, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001643/0.002934, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.000692/0.000692, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009321/0.001624, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9515/0.9515, allocations: 177.5 MB / 190 MB, free: 4.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09189/1.043, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] 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 1.493e-06/1.493e-06, allocations: 0 / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.093e-05/1.242e-05, allocations: 2.312 kB / 245.2 MB, free: 13.57 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.002697/0.002709, allocations: 2.912 MB / 248.1 MB, free: 10.64 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001393/0.004102, allocations: 1.284 MB / 249.4 MB, free: 9.344 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.004229, allocations: 4 kB / 249.4 MB, free: 9.34 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.004385, allocations: 63.33 kB / 249.5 MB, free: 9.277 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003411/0.004726, allocations: 226.6 kB / 249.7 MB, free: 9.055 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.004935, allocations: 131.6 kB / 249.8 MB, free: 8.926 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003665/0.005301, allocations: 474.9 kB / 250.3 MB, free: 8.461 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.005439, allocations: 62.86 kB / 250.3 MB, free: 8.402 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003501/0.005789, allocations: 325.3 kB / 250.7 MB, free: 8.082 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.005999, allocations: 187.5 kB / 250.8 MB, free: 7.898 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.324e-05/0.006052, allocations: 40 kB / 250.9 MB, free: 7.859 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002344/0.006287, allocations: 163.8 kB / 251 MB, free: 7.699 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.829e-05/0.006335, allocations: 67.8 kB / 251.1 MB, free: 7.633 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.031e-05/0.006415, allocations: 103.8 kB / 251.2 MB, free: 7.531 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000372/0.006787, allocations: 346.8 kB / 251.5 MB, free: 7.191 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.205e-05/0.006799, allocations: 0 / 251.5 MB, free: 7.191 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.81e-07/0.0068, allocations: 0 / 251.5 MB, free: 7.191 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.006811, allocations: 0 / 251.5 MB, free: 7.191 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.0008206/0.007631, allocations: 0.6866 MB / 252.2 MB, free: 6.48 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.594e-05/0.007657, allocations: 8.625 kB / 252.2 MB, free: 6.473 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.007806, allocations: 134 kB / 252.4 MB, free: 6.324 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002213/0.008027, allocations: 201.2 kB / 252.6 MB, free: 6.098 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.145e-05/0.008089, allocations: 110.3 kB / 252.7 MB, free: 5.969 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.164e-05/0.008171, allocations: 40.67 kB / 252.7 MB, free: 5.93 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002535/0.008424, allocations: 280.5 kB / 253 MB, free: 5.633 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.008434, allocations: 3.938 kB / 253 MB, free: 5.629 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.008452, allocations: 8 kB / 253 MB, free: 5.621 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.008458, allocations: 8 kB / 253 MB, free: 5.613 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.008635, allocations: 125.3 kB / 253.1 MB, free: 5.492 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007437/0.009379, allocations: 0.7732 MB / 253.9 MB, free: 4.676 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.009564, allocations: 177 kB / 254.1 MB, free: 4.484 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.467e-05/0.009639, allocations: 77.69 kB / 254.1 MB, free: 4.402 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.009656, allocations: 4 kB / 254.2 MB, free: 4.398 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.009677, allocations: 42.55 kB / 254.2 MB, free: 4.348 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.203e-06/0.009679, allocations: 0 / 254.2 MB, free: 4.348 MB / 250.7 MB Notification: Performance of matching and sorting (n=42): time 0.003955/0.01363, allocations: 1.924 MB / 256.1 MB, free: 2.387 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.01367, allocations: 85.11 kB / 256.2 MB, free: 2.285 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001497/0.01381, allocations: 246.6 kB / 256.4 MB, free: 2.031 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.01384, allocations: 29.7 kB / 256.5 MB, free: 1.996 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.682e-05/0.0139, allocations: 157.1 kB / 256.6 MB, free: 1.836 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.544e-05/0.01397, allocations: 150.7 kB / 256.8 MB, free: 1.688 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.257e-05/0.01405, allocations: 82.09 kB / 256.9 MB, free: 1.602 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.575e-05/0.01413, allocations: 346.8 kB / 257.2 MB, free: 1.254 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.728e-05/0.0142, allocations: 44.97 kB / 257.2 MB, free: 1.211 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.836e-05/0.0143, allocations: 119.2 kB / 257.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.01448, allocations: 203.8 kB / 257.5 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.01448, allocations: 0 / 257.5 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002351/0.01472, allocations: 240.6 kB / 257.8 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.01473, allocations: 4 kB / 257.8 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.01474, allocations: 4 kB / 257.8 MB, free: 0.6016 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.01475, allocations: 7.938 kB / 257.8 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003299/0.01508, allocations: 135.8 kB / 257.9 MB, free: 472 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.01508, allocations: 8.188 kB / 257.9 MB, free: 464 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.01521, allocations: 27.98 kB / 258 MB, free: 436 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.01523, allocations: 12 kB / 258 MB, free: 424 kB / 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.59e-05/0.01532, allocations: 141.6 kB / 258.1 MB, free: 272 kB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.158e-05/0.01537, allocations: 31.92 kB / 258.1 MB, free: 240 kB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009082/0.01628, allocations: 370.9 kB / 258.5 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.01628, allocations: 7.938 kB / 258.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.01628, allocations: 0 / 258.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.01629, allocations: 3.984 kB / 258.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.01732, allocations: 0.685 MB / 259.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.01732, allocations: 3.938 kB / 259.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/0.01757, allocations: 115.8 kB / 259.3 MB, free: 15.03 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.067e-05/0.01764, allocations: 39.78 kB / 259.4 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006228/0.01826, allocations: 236.5 kB / 259.6 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.01828, allocations: 12 kB / 259.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001374/0.01965, allocations: 1.688 MB / 261.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.01966, allocations: 3.984 kB / 261.3 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000651/0.02031, allocations: 0.5656 MB / 261.9 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.02034, allocations: 15.98 kB / 261.9 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.0205, allocations: 27.97 kB / 261.9 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.026e-05/0.02057, allocations: 40.36 kB / 261.9 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.02059, allocations: 11.98 kB / 262 MB, free: 12.28 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.574e-05/0.02066, allocations: 93.61 kB / 262 MB, free: 12.19 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02066, allocations: 0 / 262 MB, free: 12.19 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003001/0.02096, allocations: 119.9 kB / 262.2 MB, free: 12.07 MB / 266.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.0001802/0.02114, allocations: 128.3 kB / 262.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002461/0.02139, allocations: 209.1 kB / 262.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/0.0214, allocations: 4 kB / 262.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002801/0.02168, allocations: 311.8 kB / 262.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.02202, allocations: 323.8 kB / 263.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.02467, allocations: 0.738 MB / 263.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.187e-05/0.02474, allocations: 106.6 kB / 264 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001232/0.02486, allocations: 42.98 kB / 264 MB, free: 10.1 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000167/0.02503, allocations: 107.3 kB / 264.1 MB, free: 9.992 MB / 266.7 MB Notification: Performance of SimCode: time 5.62e-07/0.02503, allocations: 4 kB / 264.1 MB, free: 9.988 MB / 266.7 MB Notification: Performance of Templates: time 0.008546/0.03357, allocations: 6.99 MB / 271.1 MB, free: 3.047 MB / 266.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 -ignoreHideResult -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","",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.5718558076769114]