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.001208/0.001208, allocations: 111 kB / 21.19 MB, free: 0.4961 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.001407/0.001407, allocations: 214.8 kB / 24.48 MB, free: 3.809 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.54/1.54, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.001562/0.001562, allocations: 51.86 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2232, allocations: 53.36 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004186/0.2274, allocations: 2.677 MB / 435 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.2294, allocations: 1.203 MB / 436.2 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001439/0.2295, allocations: 4 kB / 436.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.2298, allocations: 66.33 kB / 436.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005472/0.2304, allocations: 226.8 kB / 436.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.2306, allocations: 135.7 kB / 436.6 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004902/0.2311, allocations: 455.1 kB / 437.1 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.2313, allocations: 68.88 kB / 437.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002841/0.2316, allocations: 195.3 kB / 437.3 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003029/0.2319, allocations: 219.2 kB / 437.6 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.826e-05/0.2319, allocations: 44 kB / 437.6 MB, free: 1.426 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002919/0.2322, allocations: 167.9 kB / 437.8 MB, free: 1.262 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.114e-05/0.2323, allocations: 99.66 kB / 437.9 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.2325, allocations: 155.3 kB / 438 MB, free: 1.012 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006132/0.2331, allocations: 0.5211 MB / 438.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2331, allocations: 0 / 438.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2331, allocations: 0 / 438.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.2331, allocations: 0 / 438.5 MB, free: 0.4922 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.001754/0.2349, allocations: 0.6375 MB / 439.2 MB, free: 15.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.2349, allocations: 12.03 kB / 439.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002016/0.2351, allocations: 44.73 kB / 439.2 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004942/0.2356, allocations: 283.2 kB / 439.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.2357, allocations: 106.3 kB / 439.6 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.2359, allocations: 44.42 kB / 439.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006701/0.2365, allocations: 347.3 kB / 440 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.2365, allocations: 0 / 440 MB, free: 14.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.905e-05/0.2366, allocations: 12 kB / 440 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.2366, allocations: 12 kB / 440 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007115/0.2373, allocations: 293.7 kB / 440.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.239, allocations: 1.003 MB / 441.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006345/0.2397, allocations: 282.2 kB / 441.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003406/0.24, allocations: 157.6 kB / 441.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.24, allocations: 0 / 441.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.2401, allocations: 42.5 kB / 441.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.382e-06/0.2401, allocations: 0 / 441.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.01049/0.2506, allocations: 2.268 MB / 444 MB, free: 10.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.242e-05/0.2506, allocations: 93.09 kB / 444.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003605/0.251, allocations: 293 kB / 444.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/0.251, allocations: 29.7 kB / 444.4 MB, free: 10.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.2512, allocations: 172.7 kB / 444.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001338/0.2513, allocations: 154.6 kB / 444.8 MB, free: 10 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.2515, allocations: 82.11 kB / 444.8 MB, free: 9.914 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2516, allocations: 338.8 kB / 445.2 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004146/0.252, allocations: 160.8 kB / 445.3 MB, free: 9.418 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004535/0.2525, allocations: 226.6 kB / 445.6 MB, free: 9.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008631/0.2533, allocations: 403.8 kB / 445.9 MB, free: 8.766 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2533, allocations: 0 / 445.9 MB, free: 8.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001095/0.2544, allocations: 496.6 kB / 446.4 MB, free: 8.273 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.2545, allocations: 4 kB / 446.4 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.2545, allocations: 4 kB / 446.4 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.2545, allocations: 4 kB / 446.4 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006725/0.2552, allocations: 120 kB / 446.6 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.2552, allocations: 7.984 kB / 446.6 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004243/0.2556, allocations: 35.97 kB / 446.6 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.2556, allocations: 15.98 kB / 446.6 MB, free: 8.086 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.0001863/0.2558, allocations: 153.7 kB / 446.8 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001066/0.2559, allocations: 35.77 kB / 446.8 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001981/0.2579, allocations: 0.6447 MB / 447.5 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.2579, allocations: 12 kB / 447.5 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.2579, allocations: 0 / 447.5 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.2579, allocations: 3.984 kB / 447.5 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003286/0.2612, allocations: 1.123 MB / 448.6 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2612, allocations: 4 kB / 448.6 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004834/0.2617, allocations: 95.81 kB / 448.7 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001752/0.2634, allocations: 264.6 kB / 448.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-05/0.2635, allocations: 12 kB / 449 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004204/0.2677, allocations: 2.282 MB / 451.2 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2677, allocations: 0 / 451.2 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002428/0.2701, allocations: 1.011 MB / 452.3 MB, free: 2.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/0.2703, allocations: 71.73 kB / 452.3 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.489e-05/0.2704, allocations: 11.98 kB / 452.3 MB, free: 2.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004883/0.2709, allocations: 27.98 kB / 452.4 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.271, allocations: 36.36 kB / 452.4 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.78e-05/0.271, allocations: 16 kB / 452.4 MB, free: 2.109 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002378/0.2713, allocations: 216.4 kB / 452.6 MB, free: 1.895 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2713, allocations: 0 / 452.6 MB, free: 1.895 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005667/0.2718, allocations: 111.9 kB / 452.7 MB, free: 1.785 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.0002593/0.2721, allocations: 147.2 kB / 452.9 MB, free: 1.633 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009803/0.2731, allocations: 410 kB / 453.3 MB, free: 1.234 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.2731, allocations: 4 kB / 453.3 MB, free: 1.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007059/0.2738, allocations: 365.1 kB / 453.6 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000495/0.2743, allocations: 44.67 kB / 453.7 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0018/0.2761, allocations: 0.9767 MB / 454.7 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.2762, allocations: 183.1 kB / 454.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001987/0.2764, allocations: 42.94 kB / 454.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.2766, allocations: 39.42 kB / 454.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2766, allocations: 4 kB / 454.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of Templates: time 0.01234/0.2889, allocations: 6.584 MB / 461.5 MB, free: 8.98 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 -s gbode -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: 4.618938323998009]