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.0007566/0.0007566, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009769/0.001734, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007033/0.0007033, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008704/0.001574, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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 0.9244/0.9244, allocations: 177.1 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1018/1.026, allocations: 53.66 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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 1.373e-06/1.373e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.698e-06/1.107e-05, allocations: 6.25 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.002692/0.002703, allocations: 2.901 MB / 247.4 MB, free: 11.41 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001367/0.004069, allocations: 1.281 MB / 248.7 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.004175, allocations: 4 kB / 248.7 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.004309, allocations: 71.31 kB / 248.8 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.004606, allocations: 226.5 kB / 249 MB, free: 9.82 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.00477, allocations: 127.6 kB / 249.1 MB, free: 9.695 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003019/0.005071, allocations: 470.9 kB / 249.6 MB, free: 9.234 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.005189, allocations: 66.84 kB / 249.6 MB, free: 9.172 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000321/0.00551, allocations: 329.2 kB / 250 MB, free: 8.848 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002246/0.005734, allocations: 171.6 kB / 250.1 MB, free: 8.68 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.719e-05/0.005801, allocations: 40 kB / 250.2 MB, free: 8.641 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003111/0.006113, allocations: 175.7 kB / 250.3 MB, free: 8.469 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.416e-05/0.006167, allocations: 63.81 kB / 250.4 MB, free: 8.406 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.544e-05/0.006252, allocations: 103.8 kB / 250.5 MB, free: 8.305 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003737/0.006626, allocations: 354.8 kB / 250.9 MB, free: 7.957 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.418e-05/0.00664, allocations: 0 / 250.9 MB, free: 7.957 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.006641, allocations: 4 kB / 250.9 MB, free: 7.953 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.006656, allocations: 0 / 250.9 MB, free: 7.953 MB / 250.7 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.0009069/0.007563, allocations: 0.6788 MB / 251.5 MB, free: 7.246 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.007595, allocations: 12.02 kB / 251.6 MB, free: 7.234 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.00775, allocations: 130 kB / 251.7 MB, free: 7.09 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.007974, allocations: 217 kB / 251.9 MB, free: 6.852 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.681e-05/0.008041, allocations: 98.33 kB / 252 MB, free: 6.734 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.132e-05/0.008122, allocations: 44.66 kB / 252 MB, free: 6.691 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.008381, allocations: 280.5 kB / 252.3 MB, free: 6.395 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.008394, allocations: 7.938 kB / 252.3 MB, free: 6.387 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.008412, allocations: 8 kB / 252.3 MB, free: 6.379 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.008419, allocations: 8 kB / 252.3 MB, free: 6.371 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.008584, allocations: 121.3 kB / 252.4 MB, free: 6.254 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008097/0.009394, allocations: 0.7693 MB / 253.2 MB, free: 5.441 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.009601, allocations: 175.8 kB / 253.4 MB, free: 5.254 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.377e-05/0.009675, allocations: 69.67 kB / 253.5 MB, free: 5.18 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.009692, allocations: 12 kB / 253.5 MB, free: 5.168 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.966e-05/0.009712, allocations: 34.56 kB / 253.5 MB, free: 5.125 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.192e-06/0.009713, allocations: 4 kB / 253.5 MB, free: 5.121 MB / 250.7 MB Notification: Performance of matching and sorting (n=42): time 0.003874/0.01359, allocations: 1.915 MB / 255.4 MB, free: 3.168 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.01362, allocations: 81.11 kB / 255.5 MB, free: 3.07 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.01376, allocations: 242.7 kB / 255.7 MB, free: 2.82 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.01378, allocations: 33.7 kB / 255.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.743e-05/0.01384, allocations: 161 kB / 255.9 MB, free: 2.613 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.908e-05/0.01391, allocations: 142.7 kB / 256.1 MB, free: 2.473 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-05/0.01399, allocations: 90.08 kB / 256.2 MB, free: 2.379 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.445e-05/0.01407, allocations: 346.8 kB / 256.5 MB, free: 2.031 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.762e-05/0.01413, allocations: 48.91 kB / 256.5 MB, free: 1.984 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.299e-05/0.01423, allocations: 115.2 kB / 256.7 MB, free: 1.855 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.01441, allocations: 198.4 kB / 256.8 MB, free: 1.641 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.01441, allocations: 4 kB / 256.8 MB, free: 1.637 MB / 250.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002308/0.01464, allocations: 229.1 kB / 257.1 MB, free: 1.406 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.01465, allocations: 4 kB / 257.1 MB, free: 1.402 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.01466, allocations: 4 kB / 257.1 MB, free: 1.398 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.01467, allocations: 7.938 kB / 257.1 MB, free: 1.391 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/0.01499, allocations: 147.4 kB / 257.2 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.01499, allocations: 4 kB / 257.2 MB, free: 1.246 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.01512, allocations: 27.98 kB / 257.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.01514, allocations: 11.98 kB / 257.3 MB, free: 1.207 MB / 250.7 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 8.96e-05/0.01523, allocations: 141.7 kB / 257.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.464e-05/0.01528, allocations: 39.91 kB / 257.5 MB, free: 1.02 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005194/0.0158, allocations: 366.9 kB / 257.8 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.01581, allocations: 7.938 kB / 257.8 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-06/0.01581, allocations: 0 / 257.8 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.01582, allocations: 7.969 kB / 257.8 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.01682, allocations: 0.685 MB / 258.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01683, allocations: 0 / 258.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002427/0.01707, allocations: 115.7 kB / 258.6 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.832e-05/0.01715, allocations: 39.78 kB / 258.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005625/0.01771, allocations: 216.5 kB / 258.9 MB, free: 15.56 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.01773, allocations: 8 kB / 258.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00135/0.01908, allocations: 1.681 MB / 260.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01908, allocations: 0 / 260.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006191/0.0197, allocations: 0.5774 MB / 261.1 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.292e-05/0.01973, allocations: 8 kB / 261.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001608/0.01989, allocations: 31.92 kB / 261.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.01995, allocations: 48.36 kB / 261.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.01997, allocations: 11.94 kB / 261.2 MB, free: 13.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.078e-05/0.02004, allocations: 93.59 kB / 261.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02004, allocations: 0 / 261.3 MB, free: 12.99 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002826/0.02032, allocations: 119.9 kB / 261.4 MB, free: 12.88 MB / 266.7 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.0001623/0.02048, allocations: 132.2 kB / 261.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002351/0.02072, allocations: 205.5 kB / 261.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/0.02073, allocations: 4 kB / 261.8 MB, free: 12.53 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002957/0.02102, allocations: 274.3 kB / 262 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.02127, allocations: 80.89 kB / 262.1 MB, free: 12.17 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.02378, allocations: 0.7341 MB / 262.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.65e-05/0.02384, allocations: 106.6 kB / 263 MB, free: 11.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001129/0.02395, allocations: 50.92 kB / 263 MB, free: 11.23 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.02411, allocations: 107.3 kB / 263.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02411, allocations: 0 / 263.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of Templates: time 0.007901/0.03201, allocations: 6.884 MB / 270 MB, free: 4.289 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.444970155134797]