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.001573/0.001573, allocations: 103.6 kB / 21.19 MB, free: 0.5156 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.001855/0.001855, allocations: 213.2 kB / 24.48 MB, free: 3.836 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.468/1.468, allocations: 230.6 MB / 258.2 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.001724/0.001724, allocations: 43.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2415, allocations: 53.36 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004237/0.2458, allocations: 2.681 MB / 435 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002131/0.2479, allocations: 1.207 MB / 436.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.248, allocations: 11.88 kB / 436.2 MB, free: 2.789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002549/0.2483, allocations: 66.39 kB / 436.3 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005478/0.2488, allocations: 230.7 kB / 436.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002885/0.2491, allocations: 131.8 kB / 436.6 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005018/0.2496, allocations: 463 kB / 437.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.2498, allocations: 56.89 kB / 437.2 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002995/0.2501, allocations: 195.4 kB / 437.3 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/0.2504, allocations: 199.2 kB / 437.5 MB, free: 1.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.255e-05/0.2505, allocations: 40 kB / 437.6 MB, free: 1.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002961/0.2508, allocations: 167.8 kB / 437.7 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.928e-05/0.2508, allocations: 91.72 kB / 437.8 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.251, allocations: 151.4 kB / 438 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006121/0.2516, allocations: 0.5133 MB / 438.5 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2516, allocations: 7.938 kB / 438.5 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2516, allocations: 0 / 438.5 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.2516, allocations: 0 / 438.5 MB, free: 0.5117 MB / 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.001594/0.2532, allocations: 0.6453 MB / 439.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.2533, allocations: 8.031 kB / 439.2 MB, free: 15.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001993/0.2535, allocations: 44.73 kB / 439.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000509/0.254, allocations: 283.2 kB / 439.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001059/0.2541, allocations: 106.3 kB / 439.6 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.2542, allocations: 40.48 kB / 439.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006499/0.2549, allocations: 343.3 kB / 440 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.2549, allocations: 0 / 440 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.667e-05/0.2549, allocations: 15.98 kB / 440 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.2549, allocations: 4 kB / 440 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006816/0.2556, allocations: 301.7 kB / 440.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.2573, allocations: 0.9955 MB / 441.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006224/0.2579, allocations: 281.8 kB / 441.5 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003281/0.2583, allocations: 153.6 kB / 441.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.444e-05/0.2583, allocations: 4 kB / 441.7 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.715e-05/0.2583, allocations: 38.5 kB / 441.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.563e-06/0.2583, allocations: 0 / 441.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.009327/0.2677, allocations: 2.273 MB / 444 MB, free: 10.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.2677, allocations: 81.11 kB / 444.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003587/0.2681, allocations: 293 kB / 444.4 MB, free: 10.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.303e-05/0.2681, allocations: 37.7 kB / 444.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.2682, allocations: 164.7 kB / 444.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.2684, allocations: 162.6 kB / 444.7 MB, free: 10.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.2685, allocations: 86.03 kB / 444.8 MB, free: 9.934 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.2687, allocations: 334.8 kB / 445.1 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004084/0.2691, allocations: 164.8 kB / 445.3 MB, free: 9.438 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004547/0.2695, allocations: 226.7 kB / 445.5 MB, free: 9.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008931/0.2704, allocations: 403.8 kB / 445.9 MB, free: 8.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2704, allocations: 0 / 445.9 MB, free: 8.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.00107/0.2715, allocations: 488.6 kB / 446.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.2715, allocations: 8 kB / 446.4 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.2715, allocations: 0 / 446.4 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.2715, allocations: 4 kB / 446.4 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006223/0.2722, allocations: 128 kB / 446.5 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.2722, allocations: 3.984 kB / 446.5 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003886/0.2726, allocations: 35.92 kB / 446.6 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/0.2726, allocations: 19.98 kB / 446.6 MB, free: 8.105 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.0001777/0.2728, allocations: 153.7 kB / 446.7 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.723e-05/0.2729, allocations: 35.77 kB / 446.8 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/0.2748, allocations: 0.6447 MB / 447.4 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.2748, allocations: 4 kB / 447.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.2748, allocations: 4 kB / 447.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/0.2748, allocations: 7.984 kB / 447.4 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003271/0.2781, allocations: 1.127 MB / 448.6 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.2781, allocations: 0 / 448.6 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000459/0.2786, allocations: 87.88 kB / 448.6 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001605/0.2802, allocations: 272.5 kB / 448.9 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.874e-05/0.2802, allocations: 15.98 kB / 448.9 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004257/0.2845, allocations: 2.278 MB / 451.2 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2845, allocations: 0 / 451.2 MB, free: 3.316 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002452/0.2869, allocations: 1.008 MB / 452.2 MB, free: 2.293 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.2871, allocations: 71.73 kB / 452.3 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.79e-05/0.2872, allocations: 8 kB / 452.3 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000448/0.2876, allocations: 31.97 kB / 452.3 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.2878, allocations: 40.31 kB / 452.4 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/0.2878, allocations: 11.98 kB / 452.4 MB, free: 2.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002436/0.288, allocations: 220.4 kB / 452.6 MB, free: 1.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.288, allocations: 0 / 452.6 MB, free: 1.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000569/0.2886, allocations: 115.9 kB / 452.7 MB, free: 1.801 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.0002719/0.2889, allocations: 141 kB / 452.8 MB, free: 1.656 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009905/0.2899, allocations: 406 kB / 453.2 MB, free: 1.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2899, allocations: 0 / 453.2 MB, free: 1.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007235/0.2906, allocations: 368.9 kB / 453.6 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/0.2911, allocations: 44.89 kB / 453.6 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001864/0.2929, allocations: 1.013 MB / 454.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.2931, allocations: 183.1 kB / 454.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001616/0.2933, allocations: 35.41 kB / 454.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2933, allocations: 0 / 454.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of Templates: time 0.009181/0.3025, allocations: 5.88 MB / 460.7 MB, free: 9.688 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins1/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: 7.359024049714208]