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.001785/0.001785, allocations: 112.2 kB / 19.04 MB, free: 3.254 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.002019/0.002019, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 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.416/1.416, allocations: 225.6 MB / 250.8 MB, free: 13.37 MB / 206.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 0.00205/0.00205, allocations: 51.91 kB / 368.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3249, allocations: 52.15 MB / 420.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.005301/0.3302, allocations: 2.853 MB / 423.7 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002376/0.3326, allocations: 1.25 MB / 425 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000297/0.3329, allocations: 4 kB / 425 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003664/0.3332, allocations: 59.44 kB / 425 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008156/0.334, allocations: 238.7 kB / 425.3 MB, free: 10.67 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003225/0.3344, allocations: 107.8 kB / 425.4 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005303/0.3349, allocations: 470.9 kB / 425.8 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.3351, allocations: 72.36 kB / 425.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002536/0.3353, allocations: 183.4 kB / 426.1 MB, free: 9.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003058/0.3356, allocations: 219.1 kB / 426.3 MB, free: 9.637 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.031e-05/0.3357, allocations: 44 kB / 426.4 MB, free: 9.594 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000319/0.336, allocations: 159.9 kB / 426.5 MB, free: 9.438 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.586e-05/0.3361, allocations: 87.73 kB / 426.6 MB, free: 9.352 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001835/0.3363, allocations: 191.1 kB / 426.8 MB, free: 9.164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006561/0.3369, allocations: 0.4958 MB / 427.3 MB, free: 8.668 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3369, allocations: 4 kB / 427.3 MB, free: 8.664 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.3369, allocations: 0 / 427.3 MB, free: 8.664 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.337, allocations: 0 / 427.3 MB, free: 8.664 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.001755/0.3387, allocations: 0.7167 MB / 428 MB, free: 7.898 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3387, allocations: 12.03 kB / 428 MB, free: 7.887 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.701e-05/0.3388, allocations: 40.7 kB / 428 MB, free: 7.848 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005682/0.3394, allocations: 329.4 kB / 428.4 MB, free: 7.484 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-05/0.3395, allocations: 58.81 kB / 428.4 MB, free: 7.418 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.3396, allocations: 32.5 kB / 428.5 MB, free: 7.387 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006491/0.3403, allocations: 328.4 kB / 428.8 MB, free: 7.055 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.3403, allocations: 0 / 428.8 MB, free: 7.055 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.3403, allocations: 12 kB / 428.8 MB, free: 7.043 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.3404, allocations: 8 kB / 428.8 MB, free: 7.035 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006839/0.341, allocations: 298 kB / 429.1 MB, free: 6.746 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.3429, allocations: 1.16 MB / 430.2 MB, free: 5.508 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006266/0.3435, allocations: 285.1 kB / 430.5 MB, free: 5.211 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/0.3438, allocations: 156.4 kB / 430.7 MB, free: 5.055 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.243e-05/0.3438, allocations: 11.97 kB / 430.7 MB, free: 5.043 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.3439, allocations: 34.56 kB / 430.7 MB, free: 5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.423e-06/0.3439, allocations: 0 / 430.7 MB, free: 5 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.009663/0.3535, allocations: 2.421 MB / 433.1 MB, free: 2.504 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.3536, allocations: 81.11 kB / 433.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003748/0.354, allocations: 292.9 kB / 433.5 MB, free: 2.113 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/0.3541, allocations: 37.7 kB / 433.5 MB, free: 2.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.3542, allocations: 160.7 kB / 433.7 MB, free: 1.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.3543, allocations: 158.6 kB / 433.9 MB, free: 1.754 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.3545, allocations: 86.05 kB / 433.9 MB, free: 1.66 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3547, allocations: 338.8 kB / 434.3 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004102/0.3551, allocations: 160.8 kB / 434.4 MB, free: 1.164 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004493/0.3555, allocations: 230.7 kB / 434.7 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008691/0.3564, allocations: 415.5 kB / 435.1 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.3564, allocations: 0 / 435.1 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001087/0.3575, allocations: 492.5 kB / 435.5 MB, free: 8 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.3575, allocations: 8.062 kB / 435.6 MB, free: 16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.3575, allocations: 3.984 kB / 435.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.3575, allocations: 4 kB / 435.6 MB, free: 15.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000641/0.3582, allocations: 115.8 kB / 435.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.3582, allocations: 0 / 435.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004017/0.3586, allocations: 36.05 kB / 435.7 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.909e-05/0.3586, allocations: 19.92 kB / 435.7 MB, free: 15.82 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.0001943/0.3588, allocations: 149.7 kB / 435.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-05/0.3589, allocations: 35.8 kB / 435.9 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001984/0.3609, allocations: 0.6525 MB / 436.6 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.3609, allocations: 8 kB / 436.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3609, allocations: 0 / 436.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3609, allocations: 0 / 436.6 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003409/0.3643, allocations: 1.276 MB / 437.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.778e-06/0.3643, allocations: 0 / 437.8 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004733/0.3648, allocations: 91.88 kB / 437.9 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001629/0.3664, allocations: 276.5 kB / 438.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.364e-05/0.3665, allocations: 15.98 kB / 438.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004271/0.3708, allocations: 2.432 MB / 440.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3708, allocations: 3.938 kB / 440.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002467/0.3732, allocations: 1.011 MB / 441.7 MB, free: 9.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002469/0.3735, allocations: 144.9 kB / 441.8 MB, free: 9.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.311e-05/0.3735, allocations: 12 kB / 441.8 MB, free: 9.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004624/0.374, allocations: 31.97 kB / 441.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.3741, allocations: 36.39 kB / 441.9 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.638e-05/0.3742, allocations: 8 kB / 441.9 MB, free: 9.395 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002843/0.3744, allocations: 216.5 kB / 442.1 MB, free: 9.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3744, allocations: 0 / 442.1 MB, free: 9.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005922/0.375, allocations: 123.9 kB / 442.2 MB, free: 9.059 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.0002939/0.3753, allocations: 139 kB / 442.4 MB, free: 8.914 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.3764, allocations: 413.9 kB / 442.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.3764, allocations: 4 kB / 442.8 MB, free: 8.508 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007581/0.3771, allocations: 373.2 kB / 443.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004792/0.3776, allocations: 36.44 kB / 443.2 MB, free: 8.094 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.3795, allocations: 0.9818 MB / 444.2 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004424/0.38, allocations: 0.7813 MB / 444.9 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002061/0.3802, allocations: 42.95 kB / 445 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.3803, allocations: 35.42 kB / 445 MB, free: 6.191 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3803, allocations: 0 / 445 MB, free: 6.191 MB / 350.1 MB Notification: Performance of Templates: time 0.01274/0.393, allocations: 6.621 MB / 451.6 MB, free: 15.58 MB / 366.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.682873362675309]