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.001624/0.001624, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.00195/0.00195, allocations: 205.6 kB / 24.46 MB, free: 4.023 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.48/1.48, allocations: 230.5 MB / 258.1 MB, free: 8.137 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.002009/0.002009, allocations: 63.89 kB / 378.7 MB, free: 2.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3249, allocations: 53.32 MB / 432 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.00488/0.3298, allocations: 2.883 MB / 434.9 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002443/0.3322, allocations: 1.3 MB / 436.2 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002157/0.3324, allocations: 3.938 kB / 436.2 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002905/0.3327, allocations: 67.42 kB / 436.3 MB, free: 3.105 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006453/0.3334, allocations: 236.6 kB / 436.5 MB, free: 2.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.3338, allocations: 127.7 kB / 436.7 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000564/0.3343, allocations: 467 kB / 437.1 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001772/0.3345, allocations: 64.69 kB / 437.2 MB, free: 2.227 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003242/0.3348, allocations: 191.4 kB / 437.4 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003459/0.3352, allocations: 223.1 kB / 437.6 MB, free: 1.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.619e-05/0.3352, allocations: 40 kB / 437.6 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003407/0.3356, allocations: 171.9 kB / 437.8 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.687e-05/0.3357, allocations: 91.72 kB / 437.9 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001875/0.3359, allocations: 179.2 kB / 438 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007041/0.3366, allocations: 0.5175 MB / 438.6 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3366, allocations: 0 / 438.6 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3366, allocations: 0 / 438.6 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.3366, allocations: 4 kB / 438.6 MB, free: 0.8242 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.00181/0.3384, allocations: 0.7167 MB / 439.3 MB, free: 60 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.3384, allocations: 15.97 kB / 439.3 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002095/0.3386, allocations: 40.75 kB / 439.3 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005934/0.3392, allocations: 337.4 kB / 439.7 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.926e-05/0.3393, allocations: 46.83 kB / 439.7 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/0.3395, allocations: 48.44 kB / 439.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006656/0.3402, allocations: 316.5 kB / 440.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.3402, allocations: 11.94 kB / 440.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.404e-05/0.3402, allocations: 8 kB / 440.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.3402, allocations: 8 kB / 440.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007286/0.341, allocations: 294 kB / 440.4 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001937/0.3429, allocations: 1.16 MB / 441.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006604/0.3436, allocations: 285 kB / 441.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000349/0.3439, allocations: 156.6 kB / 442 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.913e-05/0.3439, allocations: 4 kB / 442 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.344, allocations: 38.5 kB / 442 MB, free: 13.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 2.114e-06/0.344, allocations: 4 kB / 442 MB, free: 13.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.009941/0.3539, allocations: 2.423 MB / 444.4 MB, free: 10.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.354, allocations: 81.11 kB / 444.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004245/0.3544, allocations: 289 kB / 444.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.928e-05/0.3545, allocations: 33.7 kB / 444.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.3546, allocations: 172.6 kB / 445 MB, free: 10.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.3548, allocations: 150.7 kB / 445.2 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.3549, allocations: 78.11 kB / 445.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.3551, allocations: 350.8 kB / 445.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/0.3555, allocations: 156.8 kB / 445.7 MB, free: 9.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004678/0.356, allocations: 234.6 kB / 446 MB, free: 9.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009059/0.3569, allocations: 399.8 kB / 446.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3569, allocations: 0 / 446.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001114/0.358, allocations: 492.6 kB / 446.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.3581, allocations: 7.938 kB / 446.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.3581, allocations: 4 kB / 446.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.3581, allocations: 4 kB / 446.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006489/0.3587, allocations: 115.8 kB / 447 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.3587, allocations: 7.938 kB / 447 MB, free: 8.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004226/0.3592, allocations: 36.02 kB / 447 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.849e-05/0.3592, allocations: 15.98 kB / 447 MB, free: 7.98 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.0002599/0.3595, allocations: 161.6 kB / 447.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.3596, allocations: 31.81 kB / 447.2 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/0.3616, allocations: 0.6447 MB / 447.9 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-05/0.3616, allocations: 8 kB / 447.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.3616, allocations: 7.938 kB / 447.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.3617, allocations: 3.984 kB / 447.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003533/0.3652, allocations: 1.268 MB / 449.1 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.3652, allocations: 4 kB / 449.1 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004754/0.3657, allocations: 95.88 kB / 449.2 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00165/0.3673, allocations: 272.5 kB / 449.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.585e-05/0.3674, allocations: 4 kB / 449.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004339/0.3717, allocations: 2.443 MB / 451.9 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.3717, allocations: 4.031 kB / 452 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002511/0.3742, allocations: 1.008 MB / 453 MB, free: 1.797 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002242/0.3744, allocations: 148.9 kB / 453.1 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.219e-05/0.3745, allocations: 8 kB / 453.1 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004533/0.375, allocations: 27.98 kB / 453.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.3751, allocations: 40.31 kB / 453.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.302e-05/0.3751, allocations: 15.94 kB / 453.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002607/0.3754, allocations: 216.5 kB / 453.4 MB, free: 1.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3754, allocations: 0 / 453.4 MB, free: 1.328 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005694/0.376, allocations: 119.9 kB / 453.5 MB, free: 1.211 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.0003273/0.3763, allocations: 139.3 kB / 453.7 MB, free: 1.066 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.3773, allocations: 417.9 kB / 454.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3773, allocations: 0 / 454.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007468/0.378, allocations: 373.3 kB / 454.4 MB, free: 292 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/0.3785, allocations: 36.42 kB / 454.5 MB, free: 256 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.3805, allocations: 0.9738 MB / 455.4 MB, free: 15.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/0.381, allocations: 0.7891 MB / 456.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001936/0.3812, allocations: 46.94 kB / 456.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.3813, allocations: 35.36 kB / 456.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3813, allocations: 0 / 456.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of Templates: time 0.0133/0.3946, allocations: 6.642 MB / 463 MB, free: 7.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 -s cvode -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.817692155949771]