Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.00175/0.00175, allocations: 114.5 kB / 21.18 MB, free: 0.7422 MB / 14.72 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.00215/0.00215, allocations: 211.4 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.421/1.421, allocations: 230.4 MB / 258.1 MB, free: 8.156 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 67.83 kB / 378.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2148, allocations: 53.32 MB / 432.1 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004195/0.219, allocations: 2.879 MB / 434.9 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.221, allocations: 1.304 MB / 436.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.2211, allocations: 4 kB / 436.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.2213, allocations: 67.42 kB / 436.3 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005137/0.2219, allocations: 230.7 kB / 436.5 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.2221, allocations: 131.8 kB / 436.7 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004952/0.2226, allocations: 463 kB / 437.1 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.2228, allocations: 66.25 kB / 437.2 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002698/0.223, allocations: 183.5 kB / 437.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003188/0.2234, allocations: 231.1 kB / 437.6 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.101e-05/0.2234, allocations: 40 kB / 437.6 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002939/0.2237, allocations: 167.9 kB / 437.8 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.838e-05/0.2238, allocations: 95.7 kB / 437.9 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.224, allocations: 191.1 kB / 438.1 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006017/0.2246, allocations: 0.4981 MB / 438.6 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2246, allocations: 0 / 438.6 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2246, allocations: 0 / 438.6 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.2246, allocations: 0 / 438.6 MB, free: 0.8711 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.001654/0.2262, allocations: 0.7323 MB / 439.3 MB, free: 92 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.2263, allocations: 8.031 kB / 439.3 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001885/0.2265, allocations: 44.73 kB / 439.3 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004882/0.227, allocations: 333.5 kB / 439.7 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.723e-05/0.227, allocations: 46.83 kB / 439.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.2272, allocations: 48.44 kB / 439.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006218/0.2278, allocations: 328.4 kB / 440.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.2278, allocations: 0 / 440.1 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.442e-05/0.2278, allocations: 8 kB / 440.1 MB, free: 15.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.2279, allocations: 8 kB / 440.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006986/0.2286, allocations: 302 kB / 440.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.2303, allocations: 1.16 MB / 441.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006233/0.231, allocations: 277 kB / 441.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003353/0.2313, allocations: 158.1 kB / 442 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.2313, allocations: 4 kB / 442 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.2313, allocations: 38.56 kB / 442 MB, free: 13.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.483e-06/0.2313, allocations: 0 / 442 MB, free: 13.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.009591/0.2409, allocations: 2.425 MB / 444.4 MB, free: 10.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.241, allocations: 81.11 kB / 444.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.2413, allocations: 293 kB / 444.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/0.2414, allocations: 33.7 kB / 444.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.2415, allocations: 176.6 kB / 445 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.2416, allocations: 150.7 kB / 445.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.2418, allocations: 82.05 kB / 445.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.2419, allocations: 342.8 kB / 445.6 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004132/0.2423, allocations: 160.8 kB / 445.7 MB, free: 9.344 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004529/0.2428, allocations: 226.7 kB / 446 MB, free: 9.105 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008655/0.2437, allocations: 395.8 kB / 446.3 MB, free: 8.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.2437, allocations: 7.922 kB / 446.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001073/0.2447, allocations: 492.4 kB / 446.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.2448, allocations: 8 kB / 446.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2448, allocations: 0 / 446.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.2448, allocations: 4 kB / 446.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006244/0.2454, allocations: 128 kB / 447 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.2454, allocations: 4 kB / 447 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003909/0.2458, allocations: 27.98 kB / 447 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.2458, allocations: 23.92 kB / 447 MB, free: 8.012 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.000187/0.246, allocations: 157.7 kB / 447.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.2461, allocations: 31.81 kB / 447.2 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001914/0.248, allocations: 0.6525 MB / 447.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.2481, allocations: 3.984 kB / 447.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2481, allocations: 0 / 447.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/0.2482, allocations: 144.9 kB / 448 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.449e-05/0.2483, allocations: 12 kB / 448 MB, free: 6.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004402/0.2487, allocations: 27.97 kB / 448 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.389e-05/0.2488, allocations: 36.33 kB / 448.1 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002495/0.2513, allocations: 0.8158 MB / 448.9 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001741/0.2531, allocations: 0.9427 MB / 449.8 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004382/0.2535, allocations: 187.4 kB / 450 MB, free: 4.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002507/0.2538, allocations: 216.5 kB / 450.2 MB, free: 4.734 MB / 350.1 MB Notification: Performance of Backend: time 3.91e-07/0.2538, allocations: 4 kB / 450.2 MB, free: 4.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001188/0.2549, allocations: 358 kB / 450.6 MB, free: 4.375 MB / 350.1 MB Notification: Performance of SimCode: time 0.001638/0.2566, allocations: 1.377 MB / 452 MB, free: 2.941 MB / 350.1 MB Notification: Performance of Templates: time 0.01139/0.268, allocations: 6.23 MB / 458.2 MB, free: 12.73 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.385364102665335]