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.0009639/0.0009639, allocations: 72.08 kB / 21.69 MB, free: 2.863 MB / 18.57 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.00726/0.00726, allocations: 145.1 kB / 24.97 MB, free: 8.812 MB / 18.57 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 0.9968/0.9968, allocations: 173.4 MB / 201.5 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 179] 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 / 268.1 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/2.005e-05, allocations: 6.25 kB / 268.1 MB, free: 6.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.002905/0.002925, allocations: 2.849 MB / 270.9 MB, free: 3.867 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.004414, allocations: 1.195 MB / 272.1 MB, free: 2.664 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.004547, allocations: 3.938 kB / 272.1 MB, free: 2.66 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000223/0.00477, allocations: 71.38 kB / 272.2 MB, free: 2.59 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004378/0.005208, allocations: 230.6 kB / 272.4 MB, free: 2.363 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002012/0.005409, allocations: 119.7 kB / 272.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003653/0.005775, allocations: 478.8 kB / 273 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.005899, allocations: 52.91 kB / 273.1 MB, free: 1.723 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002685/0.006167, allocations: 271.4 kB / 273.3 MB, free: 1.457 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.006366, allocations: 175.5 kB / 273.5 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.745e-05/0.006413, allocations: 43.98 kB / 273.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.00661, allocations: 155.9 kB / 273.7 MB, free: 1.09 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.33e-05/0.006673, allocations: 91.7 kB / 273.8 MB, free: 1 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.906e-05/0.006772, allocations: 139.6 kB / 273.9 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003932/0.007165, allocations: 390.6 kB / 274.3 MB, free: 492 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.007168, allocations: 0 / 274.3 MB, free: 492 kB / 250.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.007169, allocations: 0 / 274.3 MB, free: 492 kB / 250.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.007173, allocations: 0 / 274.3 MB, free: 492 kB / 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.0009873/0.00816, allocations: 0.7375 MB / 275 MB, free: 15.71 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.008194, allocations: 8.922 kB / 275 MB, free: 15.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.286e-05/0.008287, allocations: 60.7 kB / 275.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.008579, allocations: 261.3 kB / 275.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.609e-05/0.008665, allocations: 102.3 kB / 275.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.898e-05/0.008764, allocations: 40.73 kB / 275.5 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003468/0.009111, allocations: 297 kB / 275.8 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.009123, allocations: 7.938 kB / 275.8 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.009146, allocations: 12 kB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.009155, allocations: 4 kB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00026/0.009415, allocations: 166.8 kB / 276 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.01049, allocations: 1.09 MB / 277.1 MB, free: 13.54 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.01077, allocations: 206.1 kB / 277.3 MB, free: 13.31 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.01089, allocations: 102.2 kB / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.01091, allocations: 7.984 kB / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.01094, allocations: 41.39 kB / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.744e-06/0.01094, allocations: 0 / 277.4 MB, free: 13.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=42): time 0.004172/0.01511, allocations: 1.827 MB / 279.2 MB, free: 11.27 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.01515, allocations: 81.11 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002139/0.01536, allocations: 312.2 kB / 279.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.023e-05/0.01539, allocations: 33.7 kB / 279.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.165e-05/0.01548, allocations: 219.4 kB / 279.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.878e-05/0.01557, allocations: 146.7 kB / 280 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.01567, allocations: 91.81 kB / 280.1 MB, free: 10.36 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.0158, allocations: 0.5078 MB / 280.6 MB, free: 9.836 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001444/0.01595, allocations: 76.94 kB / 280.7 MB, free: 9.758 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.01612, allocations: 155.1 kB / 280.8 MB, free: 9.582 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000316/0.01643, allocations: 251.7 kB / 281.1 MB, free: 9.309 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.01644, allocations: 3.938 kB / 281.1 MB, free: 9.305 MB / 266.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004426/0.01688, allocations: 336.7 kB / 281.4 MB, free: 8.969 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.0169, allocations: 12.11 kB / 281.4 MB, free: 8.957 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.0169, allocations: 4 kB / 281.4 MB, free: 8.953 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.01691, allocations: 4 kB / 281.4 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/0.01722, allocations: 115.8 kB / 281.5 MB, free: 8.836 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.01723, allocations: 4 kB / 281.5 MB, free: 8.832 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001582/0.01739, allocations: 24 kB / 281.6 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.01741, allocations: 19.98 kB / 281.6 MB, free: 8.789 MB / 266.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 0.0001114/0.01752, allocations: 180.5 kB / 281.8 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/0.0176, allocations: 47.75 kB / 281.8 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007926/0.01839, allocations: 472.7 kB / 282.3 MB, free: 8.082 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.0184, allocations: 11.94 kB / 282.3 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.0184, allocations: 0 / 282.3 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.01841, allocations: 0 / 282.3 MB, free: 8.07 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/0.01989, allocations: 0.9432 MB / 283.2 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.0199, allocations: 11.88 kB / 283.2 MB, free: 7.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.02013, allocations: 87.88 kB / 283.3 MB, free: 6.984 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000741/0.02087, allocations: 219.4 kB / 283.5 MB, free: 6.766 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.991e-05/0.0209, allocations: 11.98 kB / 283.6 MB, free: 6.754 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002015/0.02292, allocations: 2.434 MB / 286 MB, free: 4.199 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.02292, allocations: 4 kB / 286 MB, free: 4.195 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009973/0.02392, allocations: 0.7941 MB / 286.8 MB, free: 3.375 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.02402, allocations: 71.78 kB / 286.9 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.02406, allocations: 8 kB / 286.9 MB, free: 3.297 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.02425, allocations: 27.92 kB / 286.9 MB, free: 3.27 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.381e-05/0.02435, allocations: 40.42 kB / 286.9 MB, free: 3.23 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.02437, allocations: 8 kB / 286.9 MB, free: 3.223 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001378/0.0245, allocations: 225.1 kB / 287.2 MB, free: 3.004 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0245, allocations: 0 / 287.2 MB, free: 3.004 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000366/0.02487, allocations: 115.9 kB / 287.3 MB, free: 2.891 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.0002189/0.02509, allocations: 147.1 kB / 287.4 MB, free: 2.738 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003992/0.02549, allocations: 271.7 kB / 287.7 MB, free: 2.465 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.02549, allocations: 0 / 287.7 MB, free: 2.465 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00036/0.02585, allocations: 365.6 kB / 288 MB, free: 2.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.02618, allocations: 48.47 kB / 288.1 MB, free: 2.043 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.02749, allocations: 0.8056 MB / 288.9 MB, free: 1.195 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.63e-05/0.02756, allocations: 106.6 kB / 289 MB, free: 1.066 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001225/0.02769, allocations: 42.95 kB / 289 MB, free: 1.027 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.916e-05/0.02779, allocations: 36.48 kB / 289.1 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of SimCode: time 8.82e-07/0.02779, allocations: 0 / 289.1 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of Templates: time 0.09594/0.1237, allocations: 6.29 MB / 295.4 MB, free: 31.69 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 240] 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","",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.9851013850420713]