Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 79.91 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 141.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9062/0.9062, allocations: 173.3 MB / 201.1 MB, free: 9.352 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 3.938 kB / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.593e-05/2.792e-05, allocations: 6.25 kB / 268 MB, free: 6.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005869/0.005897, allocations: 4.166 MB / 272.2 MB, free: 2.254 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002929/0.008826, allocations: 1.603 MB / 273.8 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002864/0.009113, allocations: 12 kB / 273.8 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001888/0.011, allocations: 1.065 MB / 274.8 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006035/0.0116, allocations: 254 kB / 275.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001499/0.0131, allocations: 0.7549 MB / 275.8 MB, free: 14.55 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007106/0.01381, allocations: 0.6491 MB / 276.5 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000726/0.01454, allocations: 435.4 kB / 276.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005399/0.01508, allocations: 395.1 kB / 277.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004109/0.01549, allocations: 267.2 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.01559, allocations: 52 kB / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005029/0.01609, allocations: 259.5 kB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.0162, allocations: 135.4 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002083/0.0164, allocations: 215.5 kB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008593/0.01726, allocations: 0.6617 MB / 278.9 MB, free: 11.51 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.01727, allocations: 0 / 278.9 MB, free: 11.51 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01727, allocations: 0 / 278.9 MB, free: 11.51 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.01728, allocations: 4 kB / 278.9 MB, free: 11.5 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.003045/0.02033, allocations: 1.245 MB / 280.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.02037, allocations: 12.91 kB / 280.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.02149, allocations: 300.1 kB / 280.4 MB, free: 9.914 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004297/0.02192, allocations: 184.5 kB / 280.6 MB, free: 9.703 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.23e-05/0.02198, allocations: 50.38 kB / 280.7 MB, free: 9.656 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.02209, allocations: 64.38 kB / 280.7 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.02315, allocations: 0.5858 MB / 281.3 MB, free: 8.977 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.02318, allocations: 4.125 kB / 281.3 MB, free: 8.973 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.109e-05/0.02324, allocations: 28.38 kB / 281.3 MB, free: 8.945 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.02326, allocations: 19.94 kB / 281.4 MB, free: 8.926 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007797/0.02404, allocations: 315.6 kB / 281.7 MB, free: 8.617 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003044/0.02708, allocations: 1.801 MB / 283.5 MB, free: 6.746 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.02814, allocations: 0.5758 MB / 284 MB, free: 6.156 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000312/0.02845, allocations: 156.3 kB / 284.2 MB, free: 6 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.02855, allocations: 20.66 kB / 284.2 MB, free: 5.98 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.02859, allocations: 54 kB / 284.3 MB, free: 5.918 MB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 3.246e-06/0.02859, allocations: 0 / 284.3 MB, free: 5.918 MB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.001037/0.02963, allocations: 473.7 kB / 284.7 MB, free: 5.449 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.02968, allocations: 115.5 kB / 284.8 MB, free: 5.312 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.02993, allocations: 286.6 kB / 285.1 MB, free: 5.012 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.641e-05/0.02997, allocations: 33.7 kB / 285.2 MB, free: 4.973 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.03013, allocations: 323.3 kB / 285.5 MB, free: 4.652 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.03031, allocations: 234 kB / 285.7 MB, free: 4.422 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002047/0.03051, allocations: 128.3 kB / 285.8 MB, free: 4.289 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.03067, allocations: 0.5196 MB / 286.3 MB, free: 3.758 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002779/0.03095, allocations: 113.9 kB / 286.5 MB, free: 3.645 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/0.03131, allocations: 245.8 kB / 286.7 MB, free: 3.363 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000614/0.03192, allocations: 362.8 kB / 287.1 MB, free: 2.977 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.03193, allocations: 0 / 287.1 MB, free: 2.977 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0008803/0.03281, allocations: 473 kB / 287.5 MB, free: 2.508 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.03283, allocations: 8.125 kB / 287.5 MB, free: 2.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.03283, allocations: 8 kB / 287.5 MB, free: 2.492 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.03285, allocations: 4 kB / 287.5 MB, free: 2.488 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000934/0.03379, allocations: 159.7 kB / 287.7 MB, free: 2.332 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.53e-05/0.0338, allocations: 4 kB / 287.7 MB, free: 2.328 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003725/0.03417, allocations: 63.56 kB / 287.8 MB, free: 2.266 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-05/0.03423, allocations: 27.98 kB / 287.8 MB, free: 2.238 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.0001819/0.03441, allocations: 188.5 kB / 288 MB, free: 2.043 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.03453, allocations: 59.7 kB / 288 MB, free: 1.984 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008223/0.03536, allocations: 441.1 kB / 288.5 MB, free: 1.547 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.03537, allocations: 8 kB / 288.5 MB, free: 1.539 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.03537, allocations: 0 / 288.5 MB, free: 1.539 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.03538, allocations: 11.92 kB / 288.5 MB, free: 1.527 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.03699, allocations: 0.979 MB / 289.5 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.037, allocations: 0 / 289.5 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00047/0.03747, allocations: 119.9 kB / 289.6 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.03747, allocations: 0 / 289.6 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.03751, allocations: 12 kB / 289.6 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.03752, allocations: 7.984 kB / 289.6 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.03752, allocations: 3.938 kB / 289.6 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1131/0.1506, allocations: 0.7572 MB / 290.4 MB, free: 24.19 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.69e-05/0.1507, allocations: 46.81 kB / 290.4 MB, free: 24.19 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.019e-05/0.1507, allocations: 13.89 kB / 290.4 MB, free: 24.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.151, allocations: 22.45 kB / 290.4 MB, free: 24.19 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.577e-05/0.1511, allocations: 43.67 kB / 290.5 MB, free: 24.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.1511, allocations: 19.16 kB / 290.5 MB, free: 24.19 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001183/0.1512, allocations: 207.5 kB / 290.7 MB, free: 24.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1512, allocations: 0.5938 kB / 290.7 MB, free: 24.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004032/0.1516, allocations: 177.9 kB / 290.9 MB, free: 24.07 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.0002094/0.1518, allocations: 150.8 kB / 291 MB, free: 23.98 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005554/0.1524, allocations: 362.3 kB / 291.4 MB, free: 23.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1524, allocations: 1.125 kB / 291.4 MB, free: 23.95 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002149/0.1526, allocations: 192.7 kB / 291.6 MB, free: 23.94 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.1529, allocations: 53.55 kB / 291.6 MB, free: 23.93 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.1544, allocations: 1.001 MB / 292.6 MB, free: 23.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.156e-05/0.1545, allocations: 123.7 kB / 292.7 MB, free: 23.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002201/0.1547, allocations: 82.78 kB / 292.8 MB, free: 23.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.1549, allocations: 46.59 kB / 292.9 MB, free: 23.42 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.1549, allocations: 0 / 292.9 MB, free: 23.42 MB / 266.7 MB Notification: Performance of Templates: time 0.008466/0.1633, allocations: 5.401 MB / 298.3 MB, free: 22.77 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.789322845172137]