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.001363/0.001363, allocations: 110.8 kB / 21.19 MB, free: 0.6641 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.001482/0.001482, allocations: 211.1 kB / 24.49 MB, free: 3.965 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.476/1.476, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.001547/0.001547, allocations: 47.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2198, 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.004225/0.224, allocations: 2.696 MB / 435 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002004/0.226, allocations: 1.203 MB / 436.2 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.2261, allocations: 4 kB / 436.2 MB, free: 2.793 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.2263, allocations: 67.08 kB / 436.3 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005365/0.2269, allocations: 230.7 kB / 436.5 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002673/0.2272, allocations: 131.7 kB / 436.7 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004689/0.2276, allocations: 459.1 kB / 437.1 MB, free: 1.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001428/0.2278, allocations: 68.81 kB / 437.2 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002882/0.2281, allocations: 195.4 kB / 437.4 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003048/0.2284, allocations: 227.1 kB / 437.6 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.664e-05/0.2284, allocations: 40 kB / 437.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002813/0.2287, allocations: 171.9 kB / 437.8 MB, free: 1.234 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.845e-05/0.2288, allocations: 91.72 kB / 437.9 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001613/0.229, allocations: 159.3 kB / 438 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005906/0.2295, allocations: 0.5166 MB / 438.5 MB, free: 484 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.2295, allocations: 0 / 438.5 MB, free: 484 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2295, allocations: 0 / 438.5 MB, free: 484 kB / 334.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.2296, allocations: 0 / 438.5 MB, free: 484 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.001732/0.2313, allocations: 0.6414 MB / 439.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.2313, allocations: 8.031 kB / 439.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.2315, allocations: 44.73 kB / 439.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004876/0.232, allocations: 291.2 kB / 439.5 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.2321, allocations: 102.3 kB / 439.6 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/0.2323, allocations: 40.48 kB / 439.7 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006765/0.233, allocations: 351.2 kB / 440 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.233, allocations: 0 / 440 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/0.233, allocations: 12 kB / 440 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.233, allocations: 4 kB / 440 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007356/0.2337, allocations: 305.7 kB / 440.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.2355, allocations: 0.9877 MB / 441.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006681/0.2362, allocations: 283.8 kB / 441.6 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003445/0.2365, allocations: 149.6 kB / 441.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.2365, allocations: 7.938 kB / 441.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.2366, allocations: 38.56 kB / 441.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.703e-06/0.2366, allocations: 0 / 441.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.01027/0.2468, allocations: 2.269 MB / 444 MB, free: 10.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.2469, allocations: 85.09 kB / 444.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003536/0.2472, allocations: 293 kB / 444.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/0.2473, allocations: 33.7 kB / 444.4 MB, free: 10.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.2474, allocations: 172.7 kB / 444.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.2475, allocations: 162.6 kB / 444.8 MB, free: 9.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.2477, allocations: 82.05 kB / 444.9 MB, free: 9.895 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.2479, allocations: 334.8 kB / 445.2 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000417/0.2483, allocations: 164.8 kB / 445.3 MB, free: 9.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004566/0.2487, allocations: 226.6 kB / 445.6 MB, free: 9.16 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008792/0.2496, allocations: 399.8 kB / 446 MB, free: 8.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2496, allocations: 3.938 kB / 446 MB, free: 8.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001082/0.2507, allocations: 492.6 kB / 446.4 MB, free: 8.258 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.2507, allocations: 11.94 kB / 446.5 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.2507, allocations: 0 / 446.5 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.2507, allocations: 4 kB / 446.5 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006606/0.2514, allocations: 124 kB / 446.6 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.2514, allocations: 4 kB / 446.6 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004257/0.2518, allocations: 27.97 kB / 446.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-05/0.2519, allocations: 23.92 kB / 446.6 MB, free: 8.066 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.0001758/0.2521, allocations: 149.8 kB / 446.8 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.2522, allocations: 35.7 kB / 446.8 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002007/0.2542, allocations: 0.6487 MB / 447.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.2542, allocations: 0 / 447.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2542, allocations: 0 / 447.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/0.2544, allocations: 75.73 kB / 447.5 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.944e-05/0.2544, allocations: 15.98 kB / 447.6 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004724/0.2549, allocations: 19.98 kB / 447.6 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.627e-05/0.255, allocations: 36.31 kB / 447.6 MB, free: 7.078 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002574/0.2576, allocations: 0.8159 MB / 448.4 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001654/0.2592, allocations: 0.9424 MB / 449.4 MB, free: 5.289 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004625/0.2597, allocations: 195.4 kB / 449.6 MB, free: 5.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002302/0.2599, allocations: 212.5 kB / 449.8 MB, free: 4.891 MB / 350.1 MB Notification: Performance of Backend: time 4e-07/0.2599, allocations: 0 / 449.8 MB, free: 4.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.2611, allocations: 364.3 kB / 450.1 MB, free: 4.527 MB / 350.1 MB Notification: Performance of SimCode: time 0.001628/0.2627, allocations: 1.352 MB / 451.5 MB, free: 3.121 MB / 350.1 MB Notification: Performance of Templates: time 0.01217/0.2749, allocations: 6.798 MB / 458.3 MB, free: 12.36 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: 4.590937718996429]