Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001405/0.001405, allocations: 80.31 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.001038/0.001038, allocations: 172.4 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8998/0.8998, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 274.2 MB, free: 4.41 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.043e-05/3.218e-05, allocations: 10.39 kB / 274.2 MB, free: 4.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.006091/0.006123, allocations: 4.059 MB / 278.3 MB, free: 344 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003506/0.00963, allocations: 1.668 MB / 279.9 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004158/0.01005, allocations: 12 kB / 279.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00222/0.01226, allocations: 1.034 MB / 281 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008578/0.01312, allocations: 261.9 kB / 281.2 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.01479, allocations: 0.7238 MB / 282 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009313/0.01572, allocations: 0.6375 MB / 282.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009654/0.01669, allocations: 431.4 kB / 283 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.0177, allocations: 383.2 kB / 283.4 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004008/0.0181, allocations: 255.3 kB / 283.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.275e-05/0.01818, allocations: 56 kB / 283.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006493/0.01883, allocations: 283.5 kB / 284 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.339e-05/0.01891, allocations: 135.4 kB / 284.1 MB, free: 10.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001662/0.01908, allocations: 207.5 kB / 284.3 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009082/0.01998, allocations: 0.6928 MB / 285 MB, free: 9.578 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.01999, allocations: 8 kB / 285 MB, free: 9.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.01999, allocations: 0 / 285 MB, free: 9.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.708e-06/0.02, allocations: 0 / 285 MB, free: 9.57 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.002521/0.02252, allocations: 1.268 MB / 286.3 MB, free: 8.262 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.02257, allocations: 8.031 kB / 286.3 MB, free: 8.254 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000864/0.02343, allocations: 300 kB / 286.6 MB, free: 7.961 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.02363, allocations: 184.5 kB / 286.8 MB, free: 7.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.345e-05/0.02367, allocations: 46.38 kB / 286.8 MB, free: 7.707 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.694e-05/0.02377, allocations: 68.31 kB / 286.9 MB, free: 7.641 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006315/0.0244, allocations: 0.5427 MB / 287.4 MB, free: 7.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.02442, allocations: 192 / 287.4 MB, free: 7.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.345e-05/0.02447, allocations: 32.38 kB / 287.4 MB, free: 7.039 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.02448, allocations: 19.94 kB / 287.5 MB, free: 7.02 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000346/0.02483, allocations: 244.9 kB / 287.7 MB, free: 6.777 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002225/0.02705, allocations: 1.758 MB / 289.5 MB, free: 4.953 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006744/0.02773, allocations: 0.5249 MB / 290 MB, free: 4.414 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001642/0.02789, allocations: 137.2 kB / 290.1 MB, free: 4.273 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.02801, allocations: 32.62 kB / 290.2 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.02805, allocations: 42.05 kB / 290.2 MB, free: 4.191 MB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 3.797e-06/0.02805, allocations: 0 / 290.2 MB, free: 4.191 MB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.0006181/0.02867, allocations: 417.5 kB / 290.6 MB, free: 3.777 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.02872, allocations: 115.6 kB / 290.7 MB, free: 3.641 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.02891, allocations: 290.4 kB / 291 MB, free: 3.336 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.02894, allocations: 37.7 kB / 291 MB, free: 3.293 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.02908, allocations: 327.3 kB / 291.4 MB, free: 2.969 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.0292, allocations: 234 kB / 291.6 MB, free: 2.738 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/0.02934, allocations: 128.2 kB / 291.7 MB, free: 2.605 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.02949, allocations: 0.5195 MB / 292.2 MB, free: 2.074 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/0.02961, allocations: 81.92 kB / 292.3 MB, free: 1.992 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001928/0.0298, allocations: 233.6 kB / 292.5 MB, free: 1.727 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.03013, allocations: 306.8 kB / 292.8 MB, free: 1.398 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.03014, allocations: 0 / 292.8 MB, free: 1.398 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0008212/0.03096, allocations: 424.9 kB / 293.2 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.03098, allocations: 7.984 kB / 293.3 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.03099, allocations: 4.125 kB / 293.3 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.03101, allocations: 12 kB / 293.3 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003937/0.0314, allocations: 147.8 kB / 293.4 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.874e-06/0.03141, allocations: 4 kB / 293.4 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.03164, allocations: 67.55 kB / 293.5 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.698e-05/0.03167, allocations: 19.98 kB / 293.5 MB, free: 0.7188 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.0001643/0.03183, allocations: 196.4 kB / 293.7 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.66e-05/0.03192, allocations: 55.77 kB / 293.8 MB, free: 472 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005002/0.03242, allocations: 401.1 kB / 294.1 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.03243, allocations: 12 kB / 294.2 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.03243, allocations: 0 / 294.2 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.03244, allocations: 3.984 kB / 294.2 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.0336, allocations: 0.8857 MB / 295 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.0336, allocations: 0 / 295 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003178/0.03392, allocations: 123.8 kB / 295.2 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.03393, allocations: 7.938 kB / 295.2 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.645e-05/0.03395, allocations: 15.98 kB / 295.2 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.03396, allocations: 0 / 295.2 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.03396, allocations: 4 kB / 295.2 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006629/0.03462, allocations: 0.7053 MB / 295.9 MB, free: 14.25 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.568e-05/0.03468, allocations: 47.62 kB / 295.9 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.45e-05/0.03472, allocations: 12 kB / 296 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.0349, allocations: 23.98 kB / 296 MB, free: 14.17 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.03497, allocations: 36.58 kB / 296 MB, free: 14.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.03499, allocations: 19.98 kB / 296 MB, free: 14.12 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001041/0.0351, allocations: 193.1 kB / 296.2 MB, free: 13.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0351, allocations: 0 / 296.2 MB, free: 13.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004753/0.03557, allocations: 183.6 kB / 296.4 MB, free: 13.75 MB / 282.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.0002621/0.03584, allocations: 163 kB / 296.6 MB, free: 13.58 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004351/0.03627, allocations: 311.1 kB / 296.9 MB, free: 13.27 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.03627, allocations: 4 kB / 296.9 MB, free: 13.27 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.03646, allocations: 172.6 kB / 297 MB, free: 13.1 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.03682, allocations: 59.14 kB / 297.1 MB, free: 13.04 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.03833, allocations: 0.9408 MB / 298 MB, free: 12.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.434e-05/0.03842, allocations: 124.8 kB / 298.2 MB, free: 11.92 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002148/0.03863, allocations: 75.33 kB / 298.2 MB, free: 11.84 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002006/0.03883, allocations: 150.2 kB / 298.4 MB, free: 11.7 MB / 282.7 MB Notification: Performance of SimCode: time 1.332e-06/0.03883, allocations: 4 kB / 298.4 MB, free: 11.69 MB / 282.7 MB Notification: Performance of Templates: time 0.008738/0.04757, allocations: 5.706 MB / 304.1 MB, free: 6.09 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 3.052214579191059]