Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00162/0.00162, allocations: 84.25 kB / 22.21 MB, free: 2.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001811/0.001811, allocations: 160.6 kB / 25.61 MB, free: 8.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9129/0.9129, allocations: 177 MB / 205.9 MB, free: 4.449 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 274.1 MB, free: 4.266 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.947e-05/2.108e-05, allocations: 2.312 kB / 274.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005385/0.005406, allocations: 4.085 MB / 278.2 MB, free: 176 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00285/0.008257, allocations: 1.671 MB / 279.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003324/0.008589, allocations: 12 kB / 279.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001868/0.01046, allocations: 1.03 MB / 280.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006491/0.01111, allocations: 254 kB / 281.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.01269, allocations: 0.7277 MB / 281.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007152/0.01341, allocations: 0.6297 MB / 282.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005175/0.01392, allocations: 431.4 kB / 282.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003918/0.01432, allocations: 391.1 kB / 283.3 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/0.01456, allocations: 259.3 kB / 283.6 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.484e-05/0.01462, allocations: 52 kB / 283.6 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004476/0.01507, allocations: 287.5 kB / 283.9 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.98e-05/0.01514, allocations: 127.5 kB / 284 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.01527, allocations: 219.4 kB / 284.2 MB, free: 10.11 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006768/0.01595, allocations: 0.6928 MB / 284.9 MB, free: 9.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.01595, allocations: 0 / 284.9 MB, free: 9.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.01595, allocations: 0 / 284.9 MB, free: 9.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.01596, allocations: 0 / 284.9 MB, free: 9.41 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.001923/0.01788, allocations: 1.268 MB / 286.2 MB, free: 8.102 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.85e-05/0.01791, allocations: 8.031 kB / 286.2 MB, free: 8.094 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007376/0.01865, allocations: 300 kB / 286.5 MB, free: 7.801 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.01878, allocations: 180.5 kB / 286.7 MB, free: 7.594 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/0.01882, allocations: 58.38 kB / 286.7 MB, free: 7.539 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.894e-05/0.01888, allocations: 64.38 kB / 286.8 MB, free: 7.477 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005287/0.01941, allocations: 0.5466 MB / 287.4 MB, free: 6.902 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.01943, allocations: 192 / 287.4 MB, free: 6.902 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.164e-05/0.01947, allocations: 28.38 kB / 287.4 MB, free: 6.875 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.01948, allocations: 19.94 kB / 287.4 MB, free: 6.855 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002941/0.01978, allocations: 244.9 kB / 287.6 MB, free: 6.617 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001745/0.02152, allocations: 1.754 MB / 289.4 MB, free: 4.797 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005398/0.02206, allocations: 0.5165 MB / 289.9 MB, free: 4.266 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.0222, allocations: 141.3 kB / 290 MB, free: 4.121 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.11e-05/0.02228, allocations: 28.64 kB / 290.1 MB, free: 4.094 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.0223, allocations: 50.06 kB / 290.1 MB, free: 4.035 MB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 2.515e-06/0.02231, allocations: 4 kB / 290.1 MB, free: 4.031 MB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.0005018/0.02281, allocations: 417.5 kB / 290.5 MB, free: 3.617 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.02285, allocations: 111.5 kB / 290.6 MB, free: 3.484 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.023, allocations: 286.4 kB / 290.9 MB, free: 3.184 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.02303, allocations: 37.7 kB / 291 MB, free: 3.141 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.02315, allocations: 319.3 kB / 291.3 MB, free: 2.824 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.02327, allocations: 242 kB / 291.5 MB, free: 2.586 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001276/0.02339, allocations: 128.2 kB / 291.6 MB, free: 2.453 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.02351, allocations: 0.5195 MB / 292.2 MB, free: 1.922 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.02362, allocations: 81.92 kB / 292.2 MB, free: 1.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.0238, allocations: 233.8 kB / 292.5 MB, free: 1.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.02408, allocations: 306.7 kB / 292.8 MB, free: 1.242 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.02409, allocations: 4 kB / 292.8 MB, free: 1.238 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0004397/0.02453, allocations: 421.1 kB / 293.2 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.02454, allocations: 15.97 kB / 293.2 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.02454, allocations: 3.938 kB / 293.2 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.02456, allocations: 7.984 kB / 293.2 MB, free: 0.793 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003529/0.02491, allocations: 155.7 kB / 293.4 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.02491, allocations: 4 kB / 293.4 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.0251, allocations: 67.55 kB / 293.4 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/0.02513, allocations: 19.98 kB / 293.4 MB, free: 0.5508 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.000125/0.02525, allocations: 192.4 kB / 293.6 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.003e-05/0.02533, allocations: 59.77 kB / 293.7 MB, free: 300 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004539/0.02579, allocations: 401 kB / 294.1 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.02579, allocations: 8 kB / 294.1 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.0258, allocations: 0 / 294.1 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.0258, allocations: 0 / 294.1 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008908/0.02669, allocations: 0.8896 MB / 295 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.02669, allocations: 0 / 295 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002696/0.02696, allocations: 123.8 kB / 295.1 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.02697, allocations: 0 / 295.1 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.02699, allocations: 16 kB / 295.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.02699, allocations: 7.984 kB / 295.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.02699, allocations: 4 kB / 295.1 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005542/0.02754, allocations: 0.6975 MB / 295.8 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.761e-05/0.02758, allocations: 43.62 kB / 295.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/0.02762, allocations: 16 kB / 295.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.02778, allocations: 19.98 kB / 295.9 MB, free: 14.02 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.034e-05/0.02784, allocations: 40.58 kB / 295.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.02786, allocations: 19.98 kB / 296 MB, free: 13.96 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.717e-05/0.02795, allocations: 197.1 kB / 296.2 MB, free: 13.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.02795, allocations: 3.938 kB / 296.2 MB, free: 13.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003588/0.02831, allocations: 187.6 kB / 296.3 MB, free: 13.58 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.0001657/0.02848, allocations: 147.1 kB / 296.5 MB, free: 13.43 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003479/0.02882, allocations: 315.1 kB / 296.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.02882, allocations: 0 / 296.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.02898, allocations: 176.6 kB / 297 MB, free: 12.94 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.02928, allocations: 62.34 kB / 297 MB, free: 12.89 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.0305, allocations: 0.9485 MB / 298 MB, free: 11.9 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.724e-05/0.03057, allocations: 120.8 kB / 298.1 MB, free: 11.76 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002052/0.03078, allocations: 75.34 kB / 298.2 MB, free: 11.69 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.03097, allocations: 154.2 kB / 298.3 MB, free: 11.54 MB / 282.7 MB Notification: Performance of SimCode: time 7.01e-07/0.03097, allocations: 0 / 298.3 MB, free: 11.54 MB / 282.7 MB Notification: Performance of Templates: time 0.007483/0.03845, allocations: 5.705 MB / 304 MB, free: 5.926 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 2.753598554059863]