Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001928/0.001928, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.002451/0.002451, allocations: 203.6 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.488/1.488, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 47.92 kB / 378.2 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2394/0.241, allocations: 53.37 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.00414/0.2451, allocations: 2.681 MB / 434.3 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.2471, allocations: 1.199 MB / 435.5 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.2473, allocations: 7.938 kB / 435.5 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.2475, allocations: 67.42 kB / 435.5 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005418/0.2481, allocations: 237.2 kB / 435.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.2483, allocations: 131.7 kB / 435.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004859/0.2488, allocations: 463.1 kB / 436.3 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.249, allocations: 68.81 kB / 436.4 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002835/0.2492, allocations: 195.4 kB / 436.6 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003028/0.2495, allocations: 219.2 kB / 436.8 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.511e-05/0.2496, allocations: 43.94 kB / 436.9 MB, free: 1.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002866/0.2499, allocations: 171.9 kB / 437 MB, free: 1.242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.336e-05/0.25, allocations: 91.72 kB / 437.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.2502, allocations: 151.3 kB / 437.3 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006354/0.2508, allocations: 0.525 MB / 437.8 MB, free: 492 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2508, allocations: 0 / 437.8 MB, free: 492 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2508, allocations: 0 / 437.8 MB, free: 492 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.2508, allocations: 0 / 437.8 MB, free: 492 kB / 334.1 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.001563/0.2524, allocations: 0.6375 MB / 438.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.2524, allocations: 8.031 kB / 438.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.2526, allocations: 48.73 kB / 438.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004851/0.2531, allocations: 291.2 kB / 438.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.2532, allocations: 102.3 kB / 438.9 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.2533, allocations: 40.48 kB / 438.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006354/0.254, allocations: 347.3 kB / 439.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.254, allocations: 0 / 439.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/0.254, allocations: 12 kB / 439.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.254, allocations: 4 kB / 439.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007136/0.2547, allocations: 305.7 kB / 439.6 MB, free: 14.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001716/0.2565, allocations: 0.9954 MB / 440.5 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006375/0.2571, allocations: 284.2 kB / 440.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003321/0.2574, allocations: 149.6 kB / 441 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.2575, allocations: 8 kB / 441 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.2575, allocations: 38.5 kB / 441 MB, free: 13.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.543e-06/0.2575, allocations: 0 / 441 MB, free: 13.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.008932/0.2664, allocations: 2.265 MB / 443.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.2665, allocations: 85.09 kB / 443.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003657/0.2668, allocations: 293 kB / 443.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.953e-05/0.2669, allocations: 33.7 kB / 443.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.267, allocations: 168.6 kB / 443.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.2672, allocations: 166.6 kB / 444 MB, free: 9.992 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.2673, allocations: 78.11 kB / 444.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.2675, allocations: 334.8 kB / 444.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004044/0.2679, allocations: 168.7 kB / 444.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004569/0.2684, allocations: 230.6 kB / 444.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008686/0.2692, allocations: 399.8 kB / 445.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2692, allocations: 0 / 445.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001095/0.2703, allocations: 492.6 kB / 445.7 MB, free: 8.266 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.2703, allocations: 8 kB / 445.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2703, allocations: 0 / 445.7 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.2704, allocations: 4 kB / 445.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005995/0.271, allocations: 124 kB / 445.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.271, allocations: 7.984 kB / 445.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000364/0.2713, allocations: 31.97 kB / 445.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.2714, allocations: 15.98 kB / 445.9 MB, free: 8.078 MB / 350.1 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.0001839/0.2716, allocations: 157.7 kB / 446 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.374e-05/0.2717, allocations: 31.77 kB / 446 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/0.2735, allocations: 0.6487 MB / 446.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.2735, allocations: 7.984 kB / 446.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.2735, allocations: 0 / 446.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.2735, allocations: 7.984 kB / 446.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003094/0.2766, allocations: 1.123 MB / 447.8 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2766, allocations: 0 / 447.8 MB, free: 6.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004829/0.2771, allocations: 95.81 kB / 447.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001524/0.2786, allocations: 268.6 kB / 448.2 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.788e-05/0.2786, allocations: 12 kB / 448.2 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004074/0.2827, allocations: 2.29 MB / 450.5 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2827, allocations: 0 / 450.5 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002301/0.285, allocations: 1.004 MB / 451.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/0.2852, allocations: 71.73 kB / 451.6 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.807e-05/0.2853, allocations: 8 kB / 451.6 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004111/0.2857, allocations: 31.97 kB / 451.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.2858, allocations: 40.3 kB / 451.6 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.802e-05/0.2858, allocations: 12 kB / 451.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000245/0.2861, allocations: 216.5 kB / 451.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2861, allocations: 0 / 451.9 MB, free: 1.883 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005489/0.2866, allocations: 115.9 kB / 452 MB, free: 1.77 MB / 350.1 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.0002461/0.2869, allocations: 143.7 kB / 452.1 MB, free: 1.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009624/0.2878, allocations: 410 kB / 452.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2878, allocations: 0 / 452.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006907/0.2885, allocations: 364.9 kB / 452.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004657/0.289, allocations: 44.8 kB / 452.9 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.2908, allocations: 0.9764 MB / 453.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001848/0.291, allocations: 183.1 kB / 454.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000177/0.2911, allocations: 42.94 kB / 454.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.2913, allocations: 39.42 kB / 454.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2913, allocations: 0 / 454.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of Templates: time 0.01225/0.3035, allocations: 6.593 MB / 460.8 MB, free: 8.965 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.763262110762298]