Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 80.95 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002012/0.002012, allocations: 149.6 kB / 23.94 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 173.3 MB / 200.4 MB, free: 12.85 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 318.9 MB, free: 3.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.079e-05, allocations: 2.281 kB / 318.9 MB, free: 3.551 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003201/0.003221, allocations: 2.658 MB / 321.6 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.004827, allocations: 1.153 MB / 322.7 MB, free: 1 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.004974, allocations: 3 kB / 322.7 MB, free: 1 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.005218, allocations: 67.31 kB / 322.8 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005154/0.005733, allocations: 235.9 kB / 323 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.005988, allocations: 120.1 kB / 323.1 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004209/0.006409, allocations: 478.1 kB / 323.6 MB, free: 0.5195 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001451/0.006554, allocations: 53.25 kB / 323.7 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003182/0.006872, allocations: 274.3 kB / 323.9 MB, free: 384 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002933/0.007165, allocations: 171.5 kB / 324.1 MB, free: 332 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.61e-05/0.007231, allocations: 40.69 kB / 324.1 MB, free: 332 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002777/0.007509, allocations: 161.8 kB / 324.3 MB, free: 300 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.536e-05/0.007595, allocations: 94.3 kB / 324.4 MB, free: 236 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.007743, allocations: 135.7 kB / 324.5 MB, free: 172 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006842/0.008427, allocations: 0.5398 MB / 325.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.375e-06/0.008429, allocations: 0 / 325.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.008431, allocations: 1.688 kB / 325.1 MB, free: 15.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.008441, allocations: 0 / 325.1 MB, free: 15.95 MB / 302.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.001703/0.01014, allocations: 0.6358 MB / 325.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.01018, allocations: 10.27 kB / 325.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.01028, allocations: 39.08 kB / 325.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005165/0.0108, allocations: 281 kB / 326 MB, free: 15.27 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.01092, allocations: 105.2 kB / 326.1 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001692/0.01109, allocations: 35.75 kB / 326.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006943/0.01178, allocations: 354.8 kB / 326.5 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.0118, allocations: 3.938 kB / 326.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.729e-05/0.01184, allocations: 11.11 kB / 326.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.01185, allocations: 6.125 kB / 326.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007472/0.01259, allocations: 295.7 kB / 326.8 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001802/0.0144, allocations: 1.006 MB / 327.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006778/0.01507, allocations: 279.3 kB / 328.1 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003603/0.01543, allocations: 161 kB / 328.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.601e-05/0.01546, allocations: 4.672 kB / 328.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.01549, allocations: 37.98 kB / 328.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.563e-06/0.0155, allocations: 0 / 328.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.009909/0.0254, allocations: 2.264 MB / 330.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.02546, allocations: 81.55 kB / 330.6 MB, free: 13 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003901/0.02585, allocations: 297 kB / 330.9 MB, free: 12.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.329e-05/0.0259, allocations: 36.52 kB / 331 MB, free: 12.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.02602, allocations: 161.2 kB / 331.1 MB, free: 12.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.02616, allocations: 155.4 kB / 331.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.02632, allocations: 79.45 kB / 331.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.02648, allocations: 341.2 kB / 331.7 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004427/0.02692, allocations: 167.1 kB / 331.8 MB, free: 11.99 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/0.02739, allocations: 222.8 kB / 332.1 MB, free: 11.85 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000915/0.02831, allocations: 398.8 kB / 332.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.02831, allocations: 3.938 kB / 332.5 MB, free: 11.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001105/0.02941, allocations: 491.9 kB / 332.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.02944, allocations: 9.438 kB / 332.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.02944, allocations: 2.031 kB / 332.9 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.02947, allocations: 7.188 kB / 333 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006343/0.0301, allocations: 118.2 kB / 333.1 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.03011, allocations: 11.41 kB / 333.1 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004094/0.03052, allocations: 30.52 kB / 333.1 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.085e-05/0.03056, allocations: 14.89 kB / 333.1 MB, free: 11.3 MB / 302.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.0002214/0.03078, allocations: 148.7 kB / 333.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.03089, allocations: 38.48 kB / 333.3 MB, free: 11.13 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/0.03288, allocations: 0.6413 MB / 333.9 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.03289, allocations: 8.062 kB / 334 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.0329, allocations: 9.312 kB / 334 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.03291, allocations: 3.984 kB / 334 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003284/0.03619, allocations: 1.13 MB / 335.1 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.0362, allocations: 5.438 kB / 335.1 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004667/0.03667, allocations: 94.47 kB / 335.2 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001654/0.03832, allocations: 270.7 kB / 335.5 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.03837, allocations: 16.2 kB / 335.5 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004343/0.04271, allocations: 2.276 MB / 337.8 MB, free: 7.922 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.04271, allocations: 1.25 kB / 337.8 MB, free: 7.922 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002513/0.04522, allocations: 1.007 MB / 338.8 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002005/0.04542, allocations: 73.72 kB / 338.8 MB, free: 7.238 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.124e-05/0.04549, allocations: 6.625 kB / 338.8 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000473/0.04596, allocations: 31.48 kB / 338.9 MB, free: 7.219 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/0.0461, allocations: 46.14 kB / 338.9 MB, free: 7.184 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.862e-05/0.04613, allocations: 11.98 kB / 338.9 MB, free: 7.172 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002418/0.04638, allocations: 209.2 kB / 339.1 MB, free: 6.969 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.04638, allocations: 0 / 339.1 MB, free: 6.969 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006315/0.04701, allocations: 119.9 kB / 339.3 MB, free: 6.852 MB / 302.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.0003094/0.04732, allocations: 150.1 kB / 339.4 MB, free: 6.699 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.04834, allocations: 415.1 kB / 339.8 MB, free: 6.293 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.04834, allocations: 0 / 339.8 MB, free: 6.293 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007404/0.04908, allocations: 377.2 kB / 340.2 MB, free: 5.91 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004819/0.04956, allocations: 28.88 kB / 340.2 MB, free: 5.883 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.05135, allocations: 0.8464 MB / 341 MB, free: 5.004 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.05154, allocations: 179.1 kB / 341.2 MB, free: 4.805 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001973/0.05174, allocations: 46.94 kB / 341.3 MB, free: 4.758 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/0.05189, allocations: 36.48 kB / 341.3 MB, free: 4.723 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.05189, allocations: 0 / 341.3 MB, free: 4.723 MB / 302.1 MB Notification: Performance of Templates: time 0.01226/0.06415, allocations: 6.108 MB / 347.4 MB, free: 14.64 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.42276818677783]