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.00153/0.00153, allocations: 88.33 kB / 21.73 MB, free: 2.68 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.001613/0.001613, allocations: 168.5 kB / 25.02 MB, free: 9.434 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 1.461/1.461, allocations: 158.6 MB / 186.8 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] 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.385e-06/2.385e-06, allocations: 0 / 250.4 MB, free: 3.938 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/3.084e-05, allocations: 10.25 kB / 250.4 MB, free: 3.926 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.006688/0.006719, allocations: 3.752 MB / 254.1 MB, free: 156 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003529/0.01025, allocations: 1.593 MB / 255.7 MB, free: 14.55 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002605/0.01051, allocations: 12 kB / 255.7 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002734/0.01324, allocations: 0.9835 MB / 256.7 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007757/0.01402, allocations: 242.1 kB / 256.9 MB, free: 13.31 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002114/0.01613, allocations: 0.716 MB / 257.7 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009065/0.01704, allocations: 0.6492 MB / 258.3 MB, free: 11.94 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008244/0.01786, allocations: 427.5 kB / 258.7 MB, free: 11.51 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006486/0.01851, allocations: 395.1 kB / 259.1 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004522/0.01896, allocations: 259.3 kB / 259.4 MB, free: 10.87 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 9.223e-05/0.01906, allocations: 52 kB / 259.4 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006626/0.01972, allocations: 255.5 kB / 259.7 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.01986, allocations: 135.4 kB / 259.8 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002837/0.02015, allocations: 211.5 kB / 260 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001372/0.02152, allocations: 0.9539 MB / 261 MB, free: 9.273 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.02152, allocations: 0 / 261 MB, free: 9.273 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.02152, allocations: 0 / 261 MB, free: 9.273 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.02153, allocations: 0 / 261 MB, free: 9.273 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.003905/0.02544, allocations: 1.133 MB / 262.1 MB, free: 8.105 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.702e-05/0.02549, allocations: 11.98 kB / 262.1 MB, free: 8.094 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001356/0.02684, allocations: 300 kB / 262.4 MB, free: 7.801 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.02712, allocations: 189.7 kB / 262.6 MB, free: 7.59 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.399e-05/0.02718, allocations: 50.38 kB / 262.6 MB, free: 7.543 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001324/0.02731, allocations: 72.3 kB / 262.7 MB, free: 7.473 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.02887, allocations: 0.7214 MB / 263.4 MB, free: 6.73 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.02889, allocations: 192 / 263.4 MB, free: 6.73 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.933e-05/0.02897, allocations: 32.38 kB / 263.5 MB, free: 6.699 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.02899, allocations: 23.94 kB / 263.5 MB, free: 6.676 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.03045, allocations: 0.5946 MB / 264.1 MB, free: 6.082 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004184/0.03463, allocations: 1.787 MB / 265.9 MB, free: 4.23 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.03616, allocations: 0.6759 MB / 266.5 MB, free: 3.547 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005809/0.03674, allocations: 243.6 kB / 266.8 MB, free: 3.305 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.03685, allocations: 20.64 kB / 266.8 MB, free: 3.285 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.808e-05/0.03691, allocations: 47.16 kB / 266.8 MB, free: 3.227 MB / 250.7 MB Notification: Performance of pre-optimization done (n=66): time 2.806e-06/0.03691, allocations: 0 / 266.8 MB, free: 3.227 MB / 250.7 MB Notification: Performance of matching and sorting (n=66): time 0.001916/0.03882, allocations: 0.728 MB / 267.6 MB, free: 2.496 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001013/0.03892, allocations: 115.5 kB / 267.7 MB, free: 2.359 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003515/0.03928, allocations: 244 kB / 267.9 MB, free: 2.109 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.423e-05/0.03933, allocations: 37.7 kB / 268 MB, free: 2.066 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.03956, allocations: 272.6 kB / 268.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002317/0.03979, allocations: 226 kB / 268.4 MB, free: 1.574 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002292/0.04002, allocations: 122.6 kB / 268.6 MB, free: 1.449 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002252/0.04025, allocations: 346.8 kB / 268.9 MB, free: 1.102 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00055/0.0408, allocations: 210 kB / 269.1 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006707/0.04147, allocations: 331 kB / 269.4 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.04266, allocations: 0.5107 MB / 269.9 MB, free: 8 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.04267, allocations: 0 / 269.9 MB, free: 8 kB / 250.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001566/0.04423, allocations: 0.6533 MB / 270.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.04425, allocations: 11.94 kB / 270.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.04426, allocations: 4 kB / 270.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.04429, allocations: 4 kB / 270.6 MB, free: 15.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008083/0.0451, allocations: 155.8 kB / 270.8 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/0.04511, allocations: 7.984 kB / 270.8 MB, free: 15.17 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005195/0.04563, allocations: 71.55 kB / 270.8 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.722e-05/0.04569, allocations: 23.98 kB / 270.9 MB, free: 15.07 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.000288/0.04598, allocations: 193.7 kB / 271.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/0.04612, allocations: 59.7 kB / 271.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001749/0.04787, allocations: 0.6065 MB / 271.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.239e-05/0.04788, allocations: 7.984 kB / 271.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.04789, allocations: 0 / 271.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.286e-06/0.04789, allocations: 4 kB / 271.7 MB, free: 14.19 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002463/0.05036, allocations: 1.101 MB / 272.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.05036, allocations: 3.984 kB / 272.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006715/0.05104, allocations: 131.8 kB / 273 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.366e-05/0.05105, allocations: 7.984 kB / 273 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.394e-05/0.05109, allocations: 12 kB / 273 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.0511, allocations: 0 / 273 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.0511, allocations: 4 kB / 273 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/0.05319, allocations: 0.9979 MB / 274 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001047/0.0533, allocations: 47.66 kB / 274 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.761e-05/0.05336, allocations: 16 kB / 274.1 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004531/0.05382, allocations: 27.97 kB / 274.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/0.05394, allocations: 44.58 kB / 274.1 MB, free: 11.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.729e-05/0.05398, allocations: 16 kB / 274.1 MB, free: 11.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002258/0.0542, allocations: 181.2 kB / 274.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0542, allocations: 0 / 274.3 MB, free: 11.55 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000691/0.0549, allocations: 183.5 kB / 274.5 MB, free: 11.38 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.0002932/0.05519, allocations: 151 kB / 274.6 MB, free: 11.22 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.05648, allocations: 0.5052 MB / 275.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.05648, allocations: 0 / 275.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005834/0.05706, allocations: 248 kB / 275.4 MB, free: 10.47 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005252/0.05759, allocations: 60.64 kB / 275.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.06003, allocations: 1.045 MB / 276.5 MB, free: 9.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.06033, allocations: 245.1 kB / 276.7 MB, free: 9.078 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003868/0.06072, allocations: 79.33 kB / 276.8 MB, free: 9 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.06088, allocations: 40.48 kB / 276.9 MB, free: 8.961 MB / 266.7 MB Notification: Performance of SimCode: time 1.192e-06/0.06088, allocations: 0 / 276.9 MB, free: 8.961 MB / 266.7 MB Notification: Performance of Templates: time 0.01237/0.07325, allocations: 4.869 MB / 281.7 MB, free: 4.117 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.495221012970433]