Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.001845/0.001845, allocations: 95.86 kB / 20.96 MB, free: 3.465 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.00184/0.00184, allocations: 153.1 kB / 24.27 MB, free: 168 kB / 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 1.542/1.542, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 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.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 267.3 MB, free: 6.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.649e-05, allocations: 2.312 kB / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.006307/0.006334, allocations: 4.121 MB / 271.4 MB, free: 2.578 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00307/0.009404, allocations: 1.588 MB / 273 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002018/0.009605, allocations: 12 kB / 273 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002653/0.01226, allocations: 1.069 MB / 274.1 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005949/0.01285, allocations: 246.1 kB / 274.4 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.01466, allocations: 0.7588 MB / 275.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008889/0.01555, allocations: 0.6414 MB / 275.8 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007801/0.01633, allocations: 443.4 kB / 276.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005829/0.01692, allocations: 395.1 kB / 276.6 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004326/0.01735, allocations: 259.3 kB / 276.8 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.307e-05/0.01744, allocations: 52 kB / 276.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005541/0.018, allocations: 259.5 kB / 277.1 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.01813, allocations: 131.5 kB / 277.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002611/0.01839, allocations: 211.4 kB / 277.5 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.01965, allocations: 0.9655 MB / 278.4 MB, free: 11.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.01966, allocations: 0 / 278.4 MB, free: 11.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.01966, allocations: 0 / 278.4 MB, free: 11.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.01967, allocations: 3.938 kB / 278.4 MB, free: 11.55 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003671/0.02334, allocations: 1.28 MB / 279.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.02338, allocations: 8.922 kB / 279.7 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00133/0.02471, allocations: 296.1 kB / 280 MB, free: 9.938 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.02493, allocations: 184.5 kB / 280.2 MB, free: 9.727 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.453e-05/0.02498, allocations: 54.31 kB / 280.2 MB, free: 9.676 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.0251, allocations: 64.38 kB / 280.3 MB, free: 9.613 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001425/0.02653, allocations: 0.757 MB / 281.1 MB, free: 8.828 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.02655, allocations: 192 / 281.1 MB, free: 8.828 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.901e-05/0.02662, allocations: 24.38 kB / 281.1 MB, free: 8.805 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.025e-05/0.02664, allocations: 23.94 kB / 281.1 MB, free: 8.781 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.02791, allocations: 0.5673 MB / 281.7 MB, free: 8.215 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003989/0.03189, allocations: 2.048 MB / 283.7 MB, free: 6.098 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/0.03333, allocations: 0.6966 MB / 284.4 MB, free: 5.387 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004936/0.03382, allocations: 245.3 kB / 284.7 MB, free: 5.141 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.03393, allocations: 20.64 kB / 284.7 MB, free: 5.121 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.435e-05/0.03397, allocations: 45.98 kB / 284.7 MB, free: 5.066 MB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 2.154e-06/0.03398, allocations: 0 / 284.7 MB, free: 5.066 MB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.001574/0.03555, allocations: 0.6695 MB / 285.4 MB, free: 4.391 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.03565, allocations: 119.5 kB / 285.5 MB, free: 4.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003677/0.03602, allocations: 326.7 kB / 285.8 MB, free: 3.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.718e-05/0.03607, allocations: 33.7 kB / 285.9 MB, free: 3.871 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002496/0.03631, allocations: 331.3 kB / 286.2 MB, free: 3.543 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/0.03655, allocations: 242 kB / 286.4 MB, free: 3.305 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000249/0.0368, allocations: 140.3 kB / 286.6 MB, free: 3.16 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003153/0.03711, allocations: 0.5313 MB / 287.1 MB, free: 2.617 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004854/0.0376, allocations: 201.8 kB / 287.3 MB, free: 2.418 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006096/0.03821, allocations: 349.7 kB / 287.6 MB, free: 2.035 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.03925, allocations: 0.5223 MB / 288.2 MB, free: 1.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-06/0.03926, allocations: 3.984 kB / 288.2 MB, free: 1.477 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001349/0.04061, allocations: 0.6299 MB / 288.8 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.04063, allocations: 11.92 kB / 288.8 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.938e-06/0.04064, allocations: 4 kB / 288.8 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.04066, allocations: 4 kB / 288.8 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007398/0.0414, allocations: 155.8 kB / 289 MB, free: 0.668 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.187e-05/0.04141, allocations: 4 kB / 289 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000485/0.0419, allocations: 63.55 kB / 289 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.8e-05/0.04196, allocations: 27.98 kB / 289.1 MB, free: 0.5742 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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.0003015/0.04226, allocations: 236.4 kB / 289.3 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.0424, allocations: 63.7 kB / 289.3 MB, free: 276 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1108/0.1532, allocations: 0.561 MB / 289.9 MB, free: 31.97 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.1532, allocations: 7.031 kB / 289.9 MB, free: 31.97 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.1532, allocations: 2.438 kB / 289.9 MB, free: 31.97 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.1532, allocations: 3.859 kB / 289.9 MB, free: 31.97 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/0.1552, allocations: 1.216 MB / 291.1 MB, free: 31.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.1552, allocations: 0 / 291.1 MB, free: 31.67 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005547/0.1558, allocations: 125.7 kB / 291.3 MB, free: 31.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.1558, allocations: 3.391 kB / 291.3 MB, free: 31.67 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.634e-05/0.1558, allocations: 16.97 kB / 291.3 MB, free: 31.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.1558, allocations: 2.625 kB / 291.3 MB, free: 31.67 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1558, allocations: 3.5 kB / 291.3 MB, free: 31.67 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.1573, allocations: 1.041 MB / 292.3 MB, free: 31.3 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.825e-05/0.1574, allocations: 46.98 kB / 292.4 MB, free: 31.29 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.285e-05/0.1574, allocations: 11.41 kB / 292.4 MB, free: 31.29 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.1578, allocations: 24.45 kB / 292.4 MB, free: 31.28 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.1579, allocations: 42.39 kB / 292.4 MB, free: 31.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.771e-05/0.158, allocations: 21.94 kB / 292.5 MB, free: 31.27 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001762/0.1581, allocations: 231.2 kB / 292.7 MB, free: 31.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1581, allocations: 0 / 292.7 MB, free: 31.12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005912/0.1587, allocations: 180.5 kB / 292.9 MB, free: 31.09 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 66 * 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 Backend phase and start with SimCode phase: time 0.0002343/0.159, allocations: 152.4 kB / 293 MB, free: 30.99 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.16, allocations: 0.5191 MB / 293.5 MB, free: 30.83 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.16, allocations: 4.922 kB / 293.5 MB, free: 30.83 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004632/0.1604, allocations: 274.5 kB / 293.8 MB, free: 30.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004661/0.1609, allocations: 52.33 kB / 293.9 MB, free: 30.71 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.1628, allocations: 1.069 MB / 294.9 MB, free: 30.16 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.1631, allocations: 242.4 kB / 295.2 MB, free: 30.07 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003496/0.1634, allocations: 77.72 kB / 295.2 MB, free: 30.05 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.1636, allocations: 47.06 kB / 295.3 MB, free: 30.04 MB / 266.7 MB Notification: Performance of SimCode: time 1.242e-06/0.1636, allocations: 0 / 295.3 MB, free: 30.04 MB / 266.7 MB Notification: Performance of Templates: time 0.01052/0.1741, allocations: 4.93 MB / 300.2 MB, free: 28.93 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.5857065910240635]