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.001333/0.001333, allocations: 79.59 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.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.0009377/0.0009377, allocations: 165 kB / 24.56 MB, free: 16 kB / 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.8762/0.8762, allocations: 177.1 MB / 205 MB, free: 5.285 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.503e-06/1.503e-06, allocations: 0 / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.585e-05/1.735e-05, allocations: 9.969 kB / 273 MB, free: 1.391 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003733/0.003751, allocations: 4.179 MB / 277.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002219/0.00597, allocations: 1.677 MB / 278.8 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000215/0.006185, allocations: 12 kB / 278.9 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.0075, allocations: 1.069 MB / 279.9 MB, free: 10.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004921/0.007992, allocations: 250.1 kB / 280.2 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.009014, allocations: 0.7472 MB / 280.9 MB, free: 9.422 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00051/0.009524, allocations: 0.6297 MB / 281.5 MB, free: 8.789 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005742/0.0101, allocations: 435.4 kB / 282 MB, free: 8.359 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004636/0.01056, allocations: 387.1 kB / 282.3 MB, free: 7.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.01083, allocations: 267.2 kB / 282.6 MB, free: 7.719 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.971e-05/0.01089, allocations: 52 kB / 282.7 MB, free: 7.668 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004343/0.01132, allocations: 275.5 kB / 282.9 MB, free: 7.398 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.826e-05/0.01139, allocations: 131.5 kB / 283.1 MB, free: 7.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001447/0.01154, allocations: 219.4 kB / 283.3 MB, free: 7.055 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006793/0.01222, allocations: 0.6889 MB / 284 MB, free: 6.363 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.01222, allocations: 0 / 284 MB, free: 6.363 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01222, allocations: 0 / 284 MB, free: 6.363 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.01223, allocations: 0 / 284 MB, free: 6.363 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.001988/0.01422, allocations: 1.261 MB / 285.2 MB, free: 5.062 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.01425, allocations: 8.031 kB / 285.2 MB, free: 5.055 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000766/0.01502, allocations: 303.9 kB / 285.5 MB, free: 4.758 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.01516, allocations: 184.5 kB / 285.7 MB, free: 4.547 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.6e-05/0.01521, allocations: 50.38 kB / 285.8 MB, free: 4.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.087e-05/0.01529, allocations: 76.36 kB / 285.8 MB, free: 4.426 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006892/0.01598, allocations: 0.5858 MB / 286.4 MB, free: 3.812 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.016, allocations: 192 / 286.4 MB, free: 3.812 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.116e-05/0.01604, allocations: 28.38 kB / 286.4 MB, free: 3.785 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.01605, allocations: 19.94 kB / 286.5 MB, free: 3.766 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004833/0.01654, allocations: 312.4 kB / 286.8 MB, free: 3.461 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.01848, allocations: 1.82 MB / 288.6 MB, free: 1.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006539/0.01914, allocations: 0.5632 MB / 289.2 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/0.01933, allocations: 161.4 kB / 289.3 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.01944, allocations: 28.62 kB / 289.3 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.01947, allocations: 49.98 kB / 289.4 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 1.724e-06/0.01947, allocations: 0 / 289.4 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.0006602/0.02013, allocations: 473.6 kB / 289.8 MB, free: 276 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.02018, allocations: 111.5 kB / 290 MB, free: 140 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1014/0.1215, allocations: 288.3 kB / 290.2 MB, free: 20.09 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.986e-05/0.1216, allocations: 36.95 kB / 290.3 MB, free: 20.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.1218, allocations: 317.2 kB / 290.6 MB, free: 19.9 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.1219, allocations: 236 kB / 290.8 MB, free: 19.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.1221, allocations: 129.8 kB / 290.9 MB, free: 19.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.318e-05/0.1222, allocations: 0.519 MB / 291.5 MB, free: 19.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.1223, allocations: 109.1 kB / 291.6 MB, free: 19.25 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002398/0.1226, allocations: 253.9 kB / 291.8 MB, free: 19.12 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004048/0.123, allocations: 351.8 kB / 292.2 MB, free: 19.03 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.123, allocations: 1.469 kB / 292.2 MB, free: 19.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0006005/0.1236, allocations: 472.1 kB / 292.6 MB, free: 18.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.1236, allocations: 8.141 kB / 292.6 MB, free: 18.97 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1236, allocations: 1.125 kB / 292.6 MB, free: 18.97 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.757e-05/0.1236, allocations: 6.516 kB / 292.6 MB, free: 18.97 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/0.1241, allocations: 158.8 kB / 292.8 MB, free: 18.97 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.1241, allocations: 7.5 kB / 292.8 MB, free: 18.97 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.1243, allocations: 68.34 kB / 292.9 MB, free: 18.95 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/0.1243, allocations: 26.92 kB / 292.9 MB, free: 18.95 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.0001084/0.1244, allocations: 193.5 kB / 293.1 MB, free: 18.79 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.39e-05/0.1245, allocations: 57.36 kB / 293.1 MB, free: 18.77 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005716/0.1251, allocations: 440.1 kB / 293.6 MB, free: 18.71 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.1251, allocations: 12.61 kB / 293.6 MB, free: 18.71 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1251, allocations: 0 / 293.6 MB, free: 18.71 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.1251, allocations: 4.688 kB / 293.6 MB, free: 18.71 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.1262, allocations: 0.9863 MB / 294.6 MB, free: 18.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1262, allocations: 1.031 kB / 294.6 MB, free: 18.39 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003085/0.1265, allocations: 120.6 kB / 294.7 MB, free: 18.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.1265, allocations: 3.781 kB / 294.7 MB, free: 18.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.1265, allocations: 16.19 kB / 294.7 MB, free: 18.39 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.1266, allocations: 3.469 kB / 294.7 MB, free: 18.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1266, allocations: 4.594 kB / 294.7 MB, free: 18.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000724/0.1273, allocations: 0.7668 MB / 295.5 MB, free: 18.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.1273, allocations: 43.69 kB / 295.5 MB, free: 18.02 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.941e-05/0.1274, allocations: 15.3 kB / 295.5 MB, free: 18.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.1275, allocations: 20 kB / 295.6 MB, free: 18.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.815e-05/0.1276, allocations: 42.67 kB / 295.6 MB, free: 18.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.223e-05/0.1276, allocations: 20.48 kB / 295.6 MB, free: 18.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001064/0.1277, allocations: 201.4 kB / 295.8 MB, free: 17.89 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1277, allocations: 0 / 295.8 MB, free: 17.89 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004067/0.1281, allocations: 188 kB / 296 MB, free: 17.88 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.0001897/0.1283, allocations: 151.9 kB / 296.1 MB, free: 17.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004977/0.1288, allocations: 361.3 kB / 296.5 MB, free: 17.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1288, allocations: 0 / 296.5 MB, free: 17.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002232/0.1291, allocations: 191.5 kB / 296.7 MB, free: 17.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.1294, allocations: 59.41 kB / 296.7 MB, free: 17.74 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.1308, allocations: 0.9604 MB / 297.7 MB, free: 17.32 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.362e-05/0.1309, allocations: 123.6 kB / 297.8 MB, free: 17.24 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.00021/0.1311, allocations: 77.72 kB / 297.9 MB, free: 17.22 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001039/0.1312, allocations: 49.17 kB / 298 MB, free: 17.21 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1312, allocations: 0 / 298 MB, free: 17.21 MB / 266.7 MB Notification: Performance of Templates: time 0.007797/0.139, allocations: 5.547 MB / 303.5 MB, free: 16.29 MB / 266.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: 2.8184324488975108]