Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.001092/0.001092, allocations: 85.95 kB / 22.21 MB, free: 2.289 MB / 18.57 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.00188/0.00188, allocations: 166.1 kB / 25.61 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9622/0.9622, allocations: 158.6 MB / 187.5 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|hollowCylinderAxialOuter.port_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.265e-06/2.265e-06, allocations: 0 / 251.5 MB, free: 7.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.35e-05/2.576e-05, allocations: 2.312 kB / 251.5 MB, free: 7.34 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004861/0.004887, allocations: 4.026 MB / 255.5 MB, free: 3.289 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002646/0.007533, allocations: 1.624 MB / 257.1 MB, free: 1.652 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003745/0.007908, allocations: 12 kB / 257.1 MB, free: 1.641 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001759/0.009667, allocations: 1.038 MB / 258.2 MB, free: 0.5977 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009757/0.01064, allocations: 250.1 kB / 258.4 MB, free: 360 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.01193, allocations: 0.7162 MB / 259.1 MB, free: 15.63 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006365/0.01256, allocations: 0.6414 MB / 259.8 MB, free: 14.98 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006088/0.01317, allocations: 443.4 kB / 260.2 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004291/0.0136, allocations: 391.1 kB / 260.6 MB, free: 14.16 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002926/0.01389, allocations: 263.3 kB / 260.8 MB, free: 13.9 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.173e-05/0.01396, allocations: 52 kB / 260.9 MB, free: 13.85 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005385/0.0145, allocations: 259.6 kB / 261.1 MB, free: 13.6 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.033e-05/0.01457, allocations: 135.4 kB / 261.3 MB, free: 13.46 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001377/0.0147, allocations: 207.4 kB / 261.5 MB, free: 13.26 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007067/0.01541, allocations: 0.6618 MB / 262.1 MB, free: 12.6 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.01541, allocations: 4 kB / 262.1 MB, free: 12.59 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.01542, allocations: 0 / 262.1 MB, free: 12.59 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.01542, allocations: 3.938 kB / 262.2 MB, free: 12.59 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.001947/0.01737, allocations: 1.249 MB / 263.4 MB, free: 11.3 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.01741, allocations: 11.98 kB / 263.4 MB, free: 11.29 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007271/0.01814, allocations: 304 kB / 263.7 MB, free: 10.99 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.01829, allocations: 184.5 kB / 263.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.832e-05/0.01833, allocations: 50.38 kB / 263.9 MB, free: 10.74 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.77e-05/0.01843, allocations: 68.36 kB / 264 MB, free: 10.67 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005898/0.01902, allocations: 0.5388 MB / 264.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.01903, allocations: 192 / 264.5 MB, free: 10.11 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.236e-05/0.01908, allocations: 28.38 kB / 264.6 MB, free: 10.08 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.01909, allocations: 19.94 kB / 264.6 MB, free: 10.06 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003287/0.01942, allocations: 252.9 kB / 264.8 MB, free: 9.812 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.02141, allocations: 1.739 MB / 266.6 MB, free: 8.012 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005644/0.02198, allocations: 0.528 MB / 267.1 MB, free: 7.465 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.02212, allocations: 133.3 kB / 267.2 MB, free: 7.328 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.122e-05/0.02221, allocations: 32.61 kB / 267.3 MB, free: 7.297 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.02223, allocations: 42.05 kB / 267.3 MB, free: 7.242 MB / 250.7 MB Notification: Performance of pre-optimization done (n=66): time 2.134e-06/0.02223, allocations: 0 / 267.3 MB, free: 7.242 MB / 250.7 MB Notification: Performance of matching and sorting (n=66): time 0.0005616/0.0228, allocations: 421.6 kB / 267.7 MB, free: 6.828 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.02285, allocations: 115.4 kB / 267.8 MB, free: 6.691 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.02304, allocations: 286.4 kB / 268.1 MB, free: 6.391 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.02307, allocations: 33.7 kB / 268.1 MB, free: 6.352 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.02322, allocations: 327.3 kB / 268.5 MB, free: 6.027 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.02335, allocations: 237.9 kB / 268.7 MB, free: 5.793 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.02349, allocations: 128.3 kB / 268.8 MB, free: 5.66 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.02368, allocations: 0.5234 MB / 269.3 MB, free: 5.125 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.02379, allocations: 77.94 kB / 269.4 MB, free: 5.051 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.02398, allocations: 225.7 kB / 269.6 MB, free: 4.789 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/0.02427, allocations: 314.8 kB / 270 MB, free: 4.457 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.02428, allocations: 0 / 270 MB, free: 4.457 MB / 250.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0004473/0.02472, allocations: 417 kB / 270.4 MB, free: 4.043 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.02474, allocations: 8 kB / 270.4 MB, free: 4.035 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.02475, allocations: 8.125 kB / 270.4 MB, free: 4.027 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.02476, allocations: 7.984 kB / 270.4 MB, free: 4.02 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003689/0.02513, allocations: 151.8 kB / 270.5 MB, free: 3.871 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.02514, allocations: 7.938 kB / 270.5 MB, free: 3.863 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.02533, allocations: 67.56 kB / 270.6 MB, free: 3.797 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.02536, allocations: 20 kB / 270.6 MB, free: 3.777 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: 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.0001337/0.02549, allocations: 192.4 kB / 270.8 MB, free: 3.578 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.952e-05/0.02556, allocations: 51.81 kB / 270.9 MB, free: 3.527 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004438/0.02601, allocations: 401.1 kB / 271.3 MB, free: 3.125 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.02601, allocations: 11.98 kB / 271.3 MB, free: 3.113 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/0.02601, allocations: 0 / 271.3 MB, free: 3.113 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.02602, allocations: 4 kB / 271.3 MB, free: 3.109 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.02704, allocations: 0.8817 MB / 272.2 MB, free: 2.191 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.02704, allocations: 4 kB / 272.2 MB, free: 2.188 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002912/0.02733, allocations: 119.9 kB / 272.3 MB, free: 2.07 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.02734, allocations: 7.984 kB / 272.3 MB, free: 2.062 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.257e-05/0.02736, allocations: 12 kB / 272.3 MB, free: 2.051 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.02737, allocations: 4 kB / 272.3 MB, free: 2.047 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.02737, allocations: 7.922 kB / 272.3 MB, free: 2.039 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006126/0.02798, allocations: 0.7014 MB / 273 MB, free: 1.32 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.444e-05/0.02803, allocations: 47.62 kB / 273.1 MB, free: 1.273 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.606e-05/0.02806, allocations: 12 kB / 273.1 MB, free: 1.262 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.02822, allocations: 20.03 kB / 273.1 MB, free: 1.242 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/0.02829, allocations: 48.56 kB / 273.1 MB, free: 1.191 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.02831, allocations: 12 kB / 273.1 MB, free: 1.18 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.901e-05/0.02839, allocations: 189.1 kB / 273.3 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02839, allocations: 4 kB / 273.3 MB, free: 0.9922 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003966/0.02879, allocations: 183.6 kB / 273.5 MB, free: 0.8125 MB / 250.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.0002013/0.02899, allocations: 143.1 kB / 273.6 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003713/0.02936, allocations: 327.2 kB / 274 MB, free: 352 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.02937, allocations: 0 / 274 MB, free: 352 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001574/0.02952, allocations: 164.6 kB / 274.1 MB, free: 180 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.02984, allocations: 64.58 kB / 274.2 MB, free: 116 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.03128, allocations: 0.9868 MB / 275.2 MB, free: 15.1 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.406e-05/0.03136, allocations: 124.8 kB / 275.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002302/0.03159, allocations: 79.33 kB / 275.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001993/0.03179, allocations: 154.2 kB / 275.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of SimCode: time 7.12e-07/0.03179, allocations: 0 / 275.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of Templates: time 0.007722/0.03951, allocations: 5.392 MB / 280.9 MB, free: 9.348 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CylinderSections/CylinderSections.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.622813994064927]