Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001862/0.001862, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002344/0.002344, allocations: 203.5 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.544/1.544, allocations: 230.5 MB / 257.4 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 71.78 kB / 378.2 MB, free: 2.305 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2373, allocations: 53.41 MB / 431.6 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004152/0.2415, allocations: 2.673 MB / 434.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.2435, allocations: 1.211 MB / 435.5 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001394/0.2437, allocations: 7.938 kB / 435.5 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002953/0.244, allocations: 63.44 kB / 435.6 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005499/0.2445, allocations: 233.2 kB / 435.8 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.2448, allocations: 127.8 kB / 435.9 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007325/0.2455, allocations: 459.1 kB / 436.4 MB, free: 1.742 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.2457, allocations: 60.83 kB / 436.5 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003708/0.2461, allocations: 195.4 kB / 436.6 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003603/0.2465, allocations: 195.2 kB / 436.8 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.018e-05/0.2466, allocations: 48 kB / 436.9 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003789/0.2469, allocations: 159.9 kB / 437 MB, free: 1.098 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.807e-05/0.247, allocations: 91.67 kB / 437.1 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001724/0.2472, allocations: 163.3 kB / 437.3 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006979/0.2479, allocations: 0.5134 MB / 437.8 MB, free: 344 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2479, allocations: 0 / 437.8 MB, free: 344 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2479, allocations: 0 / 437.8 MB, free: 344 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.2479, allocations: 0 / 437.8 MB, free: 344 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.001814/0.2497, allocations: 0.6492 MB / 438.4 MB, free: 15.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.2498, allocations: 15.98 kB / 438.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.25, allocations: 44.73 kB / 438.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005813/0.2505, allocations: 279.4 kB / 438.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001196/0.2507, allocations: 102.3 kB / 438.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.2508, allocations: 44.48 kB / 438.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006712/0.2515, allocations: 343.3 kB / 439.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.2515, allocations: 0 / 439.3 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.2515, allocations: 12 kB / 439.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.2516, allocations: 8 kB / 439.3 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000731/0.2523, allocations: 297.7 kB / 439.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.2541, allocations: 0.9955 MB / 440.6 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006427/0.2548, allocations: 275.8 kB / 440.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003667/0.2551, allocations: 161.6 kB / 441 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.2551, allocations: 4 kB / 441 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.2552, allocations: 38.5 kB / 441 MB, free: 12.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.543e-06/0.2552, allocations: 0 / 441 MB, free: 12.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.009493/0.2647, allocations: 2.269 MB / 443.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.2647, allocations: 85.11 kB / 443.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003724/0.2651, allocations: 293 kB / 443.7 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/0.2652, allocations: 33.7 kB / 443.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.2653, allocations: 168.7 kB / 443.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.2654, allocations: 154.6 kB / 444 MB, free: 9.859 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001528/0.2656, allocations: 86.09 kB / 444.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.2657, allocations: 338.8 kB / 444.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004167/0.2661, allocations: 160.8 kB / 444.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004576/0.2666, allocations: 226.7 kB / 444.8 MB, free: 9.031 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009302/0.2675, allocations: 411.8 kB / 445.2 MB, free: 8.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2675, allocations: 0 / 445.2 MB, free: 8.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001141/0.2687, allocations: 492.4 kB / 445.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.2687, allocations: 4 kB / 445.7 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.2687, allocations: 7.984 kB / 445.7 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.2687, allocations: 4 kB / 445.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007531/0.2695, allocations: 120 kB / 445.8 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.2695, allocations: 7.938 kB / 445.8 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003924/0.2699, allocations: 31.98 kB / 445.9 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.776e-05/0.2699, allocations: 15.98 kB / 445.9 MB, free: 7.934 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.0002084/0.2701, allocations: 158.3 kB / 446 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.2702, allocations: 39.75 kB / 446.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001957/0.2722, allocations: 0.6408 MB / 446.7 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-05/0.2722, allocations: 15.98 kB / 446.7 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.2722, allocations: 0 / 446.7 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.2722, allocations: 0 / 446.7 MB, free: 7.07 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00325/0.2755, allocations: 1.127 MB / 447.9 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2755, allocations: 0 / 447.9 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004639/0.2759, allocations: 91.89 kB / 447.9 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001598/0.2775, allocations: 264.5 kB / 448.2 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.823e-05/0.2776, allocations: 12 kB / 448.2 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004322/0.2819, allocations: 2.282 MB / 450.5 MB, free: 3.145 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.2819, allocations: 3.984 kB / 450.5 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00251/0.2844, allocations: 0.9959 MB / 451.5 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000208/0.2846, allocations: 79.73 kB / 451.6 MB, free: 2.051 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.921e-05/0.2847, allocations: 8 kB / 451.6 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004537/0.2851, allocations: 31.97 kB / 451.6 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.2852, allocations: 40.5 kB / 451.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.912e-05/0.2853, allocations: 15.98 kB / 451.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002914/0.2856, allocations: 216.4 kB / 451.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2856, allocations: 0 / 451.9 MB, free: 1.742 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000617/0.2862, allocations: 119.9 kB / 452 MB, free: 1.625 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.0002585/0.2864, allocations: 143 kB / 452.1 MB, free: 1.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.2875, allocations: 410 kB / 452.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2875, allocations: 0 / 452.5 MB, free: 1.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007235/0.2882, allocations: 368.9 kB / 452.9 MB, free: 0.707 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004869/0.2887, allocations: 44.3 kB / 452.9 MB, free: 0.668 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.2905, allocations: 0.9799 MB / 453.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/0.2907, allocations: 183.1 kB / 454.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002003/0.2909, allocations: 38.95 kB / 454.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.291, allocations: 35.41 kB / 454.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.291, allocations: 4 kB / 454.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of Templates: time 0.01258/0.3036, allocations: 6.466 MB / 460.6 MB, free: 8.945 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.794869972392917]