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.0007969/0.0007969, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001486/0.001486, allocations: 158.9 kB / 25.75 MB, free: 8.949 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 0.9185/0.9185, allocations: 158.6 MB / 187.6 MB, free: 2.941 MB / 170.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 2.094e-06/2.094e-06, allocations: 0 / 251.1 MB, free: 7.809 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.127e-05/2.336e-05, allocations: 6.25 kB / 251.1 MB, free: 7.801 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003841/0.003864, allocations: 4.104 MB / 255.2 MB, free: 3.676 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.005926, allocations: 1.628 MB / 256.8 MB, free: 2.031 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001694/0.006095, allocations: 12 kB / 256.9 MB, free: 2.02 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.007541, allocations: 1.073 MB / 257.9 MB, free: 0.9414 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004021/0.007943, allocations: 242.1 kB / 258.2 MB, free: 0.7031 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009429/0.008886, allocations: 0.7238 MB / 258.9 MB, free: 15.98 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004467/0.009333, allocations: 0.6492 MB / 259.5 MB, free: 15.32 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000509/0.009842, allocations: 427.4 kB / 260 MB, free: 14.9 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000349/0.01019, allocations: 395.1 kB / 260.3 MB, free: 14.51 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.01047, allocations: 271.2 kB / 260.6 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.702e-05/0.01052, allocations: 52 kB / 260.7 MB, free: 14.2 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003529/0.01088, allocations: 259.5 kB / 260.9 MB, free: 13.94 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.418e-05/0.01095, allocations: 131.4 kB / 261 MB, free: 13.81 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.0111, allocations: 211.5 kB / 261.2 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006056/0.0117, allocations: 0.6656 MB / 261.9 MB, free: 12.94 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.01171, allocations: 0 / 261.9 MB, free: 12.94 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.01171, allocations: 0 / 261.9 MB, free: 12.94 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.01172, allocations: 0 / 261.9 MB, free: 12.94 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.002016/0.01373, allocations: 1.253 MB / 263.2 MB, free: 11.64 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.01377, allocations: 11.98 kB / 263.2 MB, free: 11.63 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008229/0.01459, allocations: 300 kB / 263.5 MB, free: 11.34 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.01474, allocations: 180.5 kB / 263.6 MB, free: 11.14 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.541e-05/0.01477, allocations: 54.38 kB / 263.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.059e-05/0.01485, allocations: 64.38 kB / 263.8 MB, free: 11.02 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006951/0.01555, allocations: 0.5897 MB / 264.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.01557, allocations: 192 / 264.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.463e-05/0.01561, allocations: 24.38 kB / 264.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.657e-05/0.01563, allocations: 23.94 kB / 264.4 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000572/0.0162, allocations: 315.6 kB / 264.7 MB, free: 10.05 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001989/0.01819, allocations: 1.805 MB / 266.5 MB, free: 8.176 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006858/0.01887, allocations: 0.5666 MB / 267.1 MB, free: 7.59 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/0.01907, allocations: 153.3 kB / 267.2 MB, free: 7.434 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.563e-05/0.01915, allocations: 28.64 kB / 267.3 MB, free: 7.406 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.01918, allocations: 50.02 kB / 267.3 MB, free: 7.344 MB / 250.7 MB Notification: Performance of pre-optimization done (n=66): time 3.567e-06/0.01918, allocations: 4 kB / 267.3 MB, free: 7.34 MB / 250.7 MB Notification: Performance of matching and sorting (n=66): time 0.0006717/0.01985, allocations: 473.6 kB / 267.8 MB, free: 6.875 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.0199, allocations: 111.5 kB / 267.9 MB, free: 6.742 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.02008, allocations: 282.6 kB / 268.2 MB, free: 6.445 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.028e-05/0.02011, allocations: 37.69 kB / 268.2 MB, free: 6.402 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.02023, allocations: 319.4 kB / 268.5 MB, free: 6.086 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001255/0.02036, allocations: 237.9 kB / 268.7 MB, free: 5.852 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.02048, allocations: 128.3 kB / 268.9 MB, free: 5.719 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.02061, allocations: 0.5196 MB / 269.4 MB, free: 5.188 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.02078, allocations: 101.9 kB / 269.5 MB, free: 5.09 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002447/0.02103, allocations: 249.9 kB / 269.7 MB, free: 4.805 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004211/0.02145, allocations: 358.8 kB / 270.1 MB, free: 4.43 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.02145, allocations: 4 kB / 270.1 MB, free: 4.426 MB / 250.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0005665/0.02202, allocations: 469.1 kB / 270.5 MB, free: 3.961 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.02204, allocations: 11.97 kB / 270.5 MB, free: 3.949 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.02204, allocations: 4 kB / 270.6 MB, free: 3.945 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.02206, allocations: 4 kB / 270.6 MB, free: 3.941 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003802/0.02244, allocations: 155.7 kB / 270.7 MB, free: 3.789 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.02245, allocations: 8 kB / 270.7 MB, free: 3.781 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.02264, allocations: 63.5 kB / 270.8 MB, free: 3.719 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.02267, allocations: 31.98 kB / 270.8 MB, free: 3.688 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.0001328/0.02281, allocations: 188.5 kB / 271 MB, free: 3.492 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.427e-05/0.02288, allocations: 63.7 kB / 271.1 MB, free: 3.43 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005348/0.02341, allocations: 437.1 kB / 271.5 MB, free: 2.992 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.02342, allocations: 8 kB / 271.5 MB, free: 2.984 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.02342, allocations: 0 / 271.5 MB, free: 2.984 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.02343, allocations: 11.98 kB / 271.5 MB, free: 2.973 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.02448, allocations: 0.9712 MB / 272.5 MB, free: 1.957 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.02448, allocations: 0 / 272.5 MB, free: 1.957 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/0.02478, allocations: 119.9 kB / 272.6 MB, free: 1.84 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.02478, allocations: 3.938 kB / 272.6 MB, free: 1.836 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.02481, allocations: 23.98 kB / 272.6 MB, free: 1.812 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.02481, allocations: 0 / 272.6 MB, free: 1.812 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.02481, allocations: 0 / 272.6 MB, free: 1.812 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007493/0.02556, allocations: 0.7601 MB / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.02561, allocations: 55.56 kB / 273.4 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.641e-05/0.02565, allocations: 12.03 kB / 273.4 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001672/0.02582, allocations: 23.98 kB / 273.5 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.84e-05/0.0259, allocations: 40.58 kB / 273.5 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.075e-05/0.02592, allocations: 19.98 kB / 273.5 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001091/0.02603, allocations: 201.1 kB / 273.7 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02603, allocations: 0 / 273.7 MB, free: 0.6875 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004859/0.02652, allocations: 187.5 kB / 273.9 MB, free: 0.5039 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.0002299/0.02675, allocations: 155 kB / 274.1 MB, free: 352 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004845/0.02723, allocations: 355.4 kB / 274.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.02723, allocations: 4.125 kB / 274.4 MB, free: 15.99 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.02745, allocations: 200.5 kB / 274.6 MB, free: 15.79 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003232/0.02777, allocations: 48.66 kB / 274.7 MB, free: 15.74 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.02939, allocations: 0.9984 MB / 275.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.71e-05/0.02948, allocations: 124.8 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002384/0.02972, allocations: 79.33 kB / 275.9 MB, free: 14.49 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.852e-05/0.02981, allocations: 48.48 kB / 275.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of SimCode: time 8.61e-07/0.02982, allocations: 4 kB / 275.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of Templates: time 0.007031/0.03685, allocations: 4.868 MB / 280.8 MB, free: 9.602 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=240 -emit_protected -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.655448882840574]