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.0007648/0.0007648, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001077/0.001841, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007065/0.0007065, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008798/0.001586, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.8485/0.8485, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1812/1.03, allocations: 49.48 MB / 220.5 MB, free: 1.457 MB / 218.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 1.432e-06/1.432e-06, allocations: 0 / 221.8 MB, free: 192 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.173e-05/1.316e-05, allocations: 6.25 kB / 221.8 MB, free: 184 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.008967/0.00898, allocations: 4.093 MB / 225.9 MB, free: 12.06 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00591/0.01489, allocations: 1.701 MB / 227.6 MB, free: 10.34 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002069/0.0151, allocations: 12 kB / 227.6 MB, free: 10.33 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005072/0.02017, allocations: 1.054 MB / 228.7 MB, free: 9.273 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005119/0.02068, allocations: 242.1 kB / 228.9 MB, free: 9.035 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.02205, allocations: 0.7276 MB / 229.7 MB, free: 8.305 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.003656/0.0257, allocations: 0.6454 MB / 230.3 MB, free: 7.656 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006709/0.02637, allocations: 433.5 kB / 230.7 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000526/0.0269, allocations: 423.9 kB / 231.1 MB, free: 6.816 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003619/0.02726, allocations: 259.3 kB / 231.4 MB, free: 6.562 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 8.097e-05/0.02734, allocations: 56 kB / 231.4 MB, free: 6.508 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004972/0.02784, allocations: 263.6 kB / 231.7 MB, free: 6.25 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 9.24e-05/0.02793, allocations: 95.62 kB / 231.8 MB, free: 6.156 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001957/0.02813, allocations: 171.7 kB / 232 MB, free: 5.988 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003799/0.03193, allocations: 0.6033 MB / 232.6 MB, free: 5.383 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.435e-05/0.03194, allocations: 0 / 232.6 MB, free: 5.383 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.03194, allocations: 4 kB / 232.6 MB, free: 5.379 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.76e-05/0.03196, allocations: 0 / 232.6 MB, free: 5.379 MB / 234.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.002873/0.03483, allocations: 1.363 MB / 233.9 MB, free: 3.973 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.03487, allocations: 12.03 kB / 233.9 MB, free: 3.961 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.03593, allocations: 308.3 kB / 234.2 MB, free: 3.66 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.03609, allocations: 185.6 kB / 234.4 MB, free: 3.453 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.419e-05/0.03615, allocations: 50.38 kB / 234.5 MB, free: 3.402 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.5e-05/0.03624, allocations: 72.38 kB / 234.5 MB, free: 3.332 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000756/0.037, allocations: 0.5266 MB / 235.1 MB, free: 2.781 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.03703, allocations: 8.125 kB / 235.1 MB, free: 2.773 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.518e-05/0.03708, allocations: 24.38 kB / 235.1 MB, free: 2.75 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.864e-05/0.0371, allocations: 19.94 kB / 235.1 MB, free: 2.73 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004391/0.03754, allocations: 205 kB / 235.3 MB, free: 2.531 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002421/0.03996, allocations: 1.364 MB / 236.7 MB, free: 1.117 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000759/0.04072, allocations: 486 kB / 237.2 MB, free: 0.625 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.0409, allocations: 115.6 kB / 237.3 MB, free: 0.5039 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001123/0.04101, allocations: 24.64 kB / 237.3 MB, free: 492 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.04104, allocations: 43.22 kB / 237.3 MB, free: 440 kB / 234.7 MB Notification: Performance of pre-optimization done (n=66): time 2.464e-06/0.04105, allocations: 0 / 237.3 MB, free: 440 kB / 234.7 MB Notification: Performance of matching and sorting (n=66): time 0.0006243/0.04167, allocations: 313.8 kB / 237.6 MB, free: 120 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.04172, allocations: 85.77 kB / 237.7 MB, free: 16 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.04192, allocations: 223.3 kB / 237.9 MB, free: 15.79 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.04195, allocations: 41.69 kB / 238 MB, free: 15.74 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.04209, allocations: 256.6 kB / 238.2 MB, free: 15.48 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.0423, allocations: 238.1 kB / 238.5 MB, free: 15.25 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.04246, allocations: 122.5 kB / 238.6 MB, free: 15.12 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.04257, allocations: 350.7 kB / 238.9 MB, free: 14.77 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.04272, allocations: 65.97 kB / 239 MB, free: 14.7 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000226/0.04294, allocations: 199 kB / 239.2 MB, free: 14.48 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003835/0.04333, allocations: 262.9 kB / 239.4 MB, free: 14.2 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.04333, allocations: 8.031 kB / 239.5 MB, free: 14.19 MB / 250.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0004947/0.04382, allocations: 313.1 kB / 239.8 MB, free: 13.88 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.04384, allocations: 4 kB / 239.8 MB, free: 13.88 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.04385, allocations: 11.92 kB / 239.8 MB, free: 13.86 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.04387, allocations: 7.938 kB / 239.8 MB, free: 13.86 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006135/0.04448, allocations: 176 kB / 240 MB, free: 13.68 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.04449, allocations: 8 kB / 240 MB, free: 13.68 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.04478, allocations: 67.55 kB / 240 MB, free: 13.61 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-05/0.04482, allocations: 19.98 kB / 240.1 MB, free: 13.59 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.0002826/0.0451, allocations: 141.7 kB / 240.2 MB, free: 13.44 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.164e-05/0.04519, allocations: 43.97 kB / 240.2 MB, free: 13.4 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005444/0.04573, allocations: 325.2 kB / 240.6 MB, free: 13.08 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.04574, allocations: 11.94 kB / 240.6 MB, free: 13.07 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.04575, allocations: 0 / 240.6 MB, free: 13.07 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.04575, allocations: 3.984 kB / 240.6 MB, free: 13.06 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.04687, allocations: 0.6366 MB / 241.2 MB, free: 12.4 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.04688, allocations: 4 kB / 241.2 MB, free: 12.4 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005018/0.04738, allocations: 143.8 kB / 241.3 MB, free: 12.26 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.04743, allocations: 39.64 kB / 241.4 MB, free: 12.22 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.04744, allocations: 4 kB / 241.4 MB, free: 12.21 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.106e-05/0.04747, allocations: 15.98 kB / 241.4 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.04748, allocations: 0 / 241.4 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.04748, allocations: 0 / 241.4 MB, free: 12.2 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000647/0.04812, allocations: 0.5216 MB / 241.9 MB, free: 11.66 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.53e-05/0.04818, allocations: 23.91 kB / 241.9 MB, free: 11.64 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002663/0.04845, allocations: 16 kB / 242 MB, free: 11.62 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.513e-05/0.04853, allocations: 44.56 kB / 242 MB, free: 11.58 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.04856, allocations: 12.03 kB / 242 MB, free: 11.57 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.328e-05/0.04864, allocations: 74.78 kB / 242.1 MB, free: 11.49 MB / 250.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.04864, allocations: 0 / 242.1 MB, free: 11.49 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004826/0.04912, allocations: 179.6 kB / 242.3 MB, free: 11.32 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.0002133/0.04934, allocations: 128.2 kB / 242.4 MB, free: 11.18 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004395/0.04978, allocations: 288.3 kB / 242.7 MB, free: 10.9 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.555e-05/0.04979, allocations: 4 kB / 242.7 MB, free: 10.89 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.05, allocations: 154.2 kB / 242.8 MB, free: 10.74 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.05043, allocations: 88.64 kB / 242.9 MB, free: 10.66 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00782/0.05825, allocations: 1.052 MB / 244 MB, free: 9.57 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.05836, allocations: 128.8 kB / 244.1 MB, free: 9.422 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0003493/0.05871, allocations: 79.34 kB / 244.2 MB, free: 9.344 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002488/0.05896, allocations: 123.3 kB / 244.3 MB, free: 9.223 MB / 250.7 MB Notification: Performance of SimCode: time 6.31e-07/0.05896, allocations: 0 / 244.3 MB, free: 9.223 MB / 250.7 MB Notification: Performance of Templates: time 0.009007/0.06797, allocations: 5.466 MB / 249.8 MB, free: 3.773 MB / 250.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 -ignoreHideResult -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.6174893425777555]