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.001034/0.001034, allocations: 75.75 kB / 21.69 MB, free: 2.852 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.001107/0.001107, allocations: 162.2 kB / 24.99 MB, free: 8.746 MB / 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.9216/0.9216, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.453e-06/1.453e-06, allocations: 0 / 273.1 MB, free: 1.84 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.344e-05/2.49e-05, allocations: 6.312 kB / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005792/0.005817, allocations: 4.162 MB / 277.2 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002871/0.008688, allocations: 1.673 MB / 278.9 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002538/0.008942, allocations: 12 kB / 278.9 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001851/0.01079, allocations: 1.069 MB / 280 MB, free: 10.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004122/0.0112, allocations: 254.1 kB / 280.2 MB, free: 10.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.01229, allocations: 0.7433 MB / 281 MB, free: 9.887 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004911/0.01278, allocations: 0.6258 MB / 281.6 MB, free: 9.258 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005295/0.01331, allocations: 435.3 kB / 282 MB, free: 8.828 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004034/0.01371, allocations: 391.1 kB / 282.4 MB, free: 8.445 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004911/0.0142, allocations: 251.3 kB / 282.6 MB, free: 8.199 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.344e-05/0.01426, allocations: 56 kB / 282.7 MB, free: 8.145 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004337/0.0147, allocations: 279.5 kB / 283 MB, free: 7.871 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.819e-05/0.01477, allocations: 131.4 kB / 283.1 MB, free: 7.742 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.01491, allocations: 219.4 kB / 283.3 MB, free: 7.527 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000657/0.01556, allocations: 0.689 MB / 284 MB, free: 6.836 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.01557, allocations: 3.938 kB / 284 MB, free: 6.832 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01557, allocations: 0 / 284 MB, free: 6.832 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.01558, allocations: 0 / 284 MB, free: 6.832 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.002139/0.01771, allocations: 1.257 MB / 285.3 MB, free: 5.535 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.01775, allocations: 12.03 kB / 285.3 MB, free: 5.523 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008853/0.01863, allocations: 300 kB / 285.6 MB, free: 5.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.01879, allocations: 184.5 kB / 285.8 MB, free: 5.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.848e-05/0.01883, allocations: 46.38 kB / 285.8 MB, free: 4.977 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.585e-05/0.0189, allocations: 72.36 kB / 285.9 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007046/0.01961, allocations: 0.5819 MB / 286.4 MB, free: 4.297 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.01963, allocations: 4.188 kB / 286.5 MB, free: 4.293 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.42e-05/0.01967, allocations: 28.38 kB / 286.5 MB, free: 4.266 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.01969, allocations: 19.94 kB / 286.5 MB, free: 4.246 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004934/0.02018, allocations: 322 kB / 286.8 MB, free: 3.934 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002014/0.02219, allocations: 1.817 MB / 288.6 MB, free: 2.047 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007048/0.0229, allocations: 0.5631 MB / 289.2 MB, free: 1.465 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/0.0231, allocations: 157.3 kB / 289.3 MB, free: 1.305 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001156/0.02322, allocations: 36.66 kB / 289.4 MB, free: 1.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.02324, allocations: 49.98 kB / 289.4 MB, free: 1.207 MB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 2.084e-06/0.02325, allocations: 0 / 289.4 MB, free: 1.207 MB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.0009437/0.02419, allocations: 477.6 kB / 289.9 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.02424, allocations: 111.5 kB / 290 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.02442, allocations: 294.5 kB / 290.3 MB, free: 304 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.744e-05/0.02445, allocations: 37.7 kB / 290.3 MB, free: 260 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1025/0.127, allocations: 313.2 kB / 290.6 MB, free: 28 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002224/0.1272, allocations: 232 kB / 290.9 MB, free: 27.89 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/0.1274, allocations: 129.2 kB / 291 MB, free: 27.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.247e-05/0.1275, allocations: 0.5203 MB / 291.5 MB, free: 27.38 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.1277, allocations: 104.7 kB / 291.6 MB, free: 27.38 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003026/0.128, allocations: 250.2 kB / 291.9 MB, free: 27.24 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005351/0.1286, allocations: 358.2 kB / 292.2 MB, free: 27.16 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.1286, allocations: 1.281 kB / 292.2 MB, free: 27.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0008004/0.1294, allocations: 477 kB / 292.7 MB, free: 27.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.1294, allocations: 7.375 kB / 292.7 MB, free: 27.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/0.1294, allocations: 1.25 kB / 292.7 MB, free: 27.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.1294, allocations: 6.844 kB / 292.7 MB, free: 27.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005426/0.13, allocations: 153.8 kB / 292.8 MB, free: 27.09 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/0.13, allocations: 9.047 kB / 292.8 MB, free: 27.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002773/0.1303, allocations: 66.38 kB / 292.9 MB, free: 27.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.983e-05/0.1303, allocations: 23.62 kB / 292.9 MB, free: 27.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.0001473/0.1305, allocations: 189.7 kB / 293.1 MB, free: 26.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.1306, allocations: 58.61 kB / 293.2 MB, free: 26.89 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007629/0.1313, allocations: 445.6 kB / 293.6 MB, free: 26.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.203e-06/0.1313, allocations: 6.859 kB / 293.6 MB, free: 26.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1313, allocations: 5.578 kB / 293.6 MB, free: 26.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.1313, allocations: 4.375 kB / 293.6 MB, free: 26.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/0.1328, allocations: 0.9788 MB / 294.6 MB, free: 26.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.1328, allocations: 5.953 kB / 294.6 MB, free: 26.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003966/0.1332, allocations: 123.7 kB / 294.7 MB, free: 26.33 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/0.1332, allocations: 2.906 kB / 294.7 MB, free: 26.33 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.1332, allocations: 18.78 kB / 294.8 MB, free: 26.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/0.1332, allocations: 6.125 kB / 294.8 MB, free: 26.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1332, allocations: 0 / 294.8 MB, free: 26.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008917/0.1341, allocations: 0.7566 MB / 295.5 MB, free: 25.88 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.5e-05/0.1342, allocations: 55.41 kB / 295.6 MB, free: 25.86 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.341e-05/0.1342, allocations: 10.5 kB / 295.6 MB, free: 25.85 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.1344, allocations: 24.86 kB / 295.6 MB, free: 25.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.813e-05/0.1345, allocations: 50.81 kB / 295.7 MB, free: 25.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.874e-05/0.1346, allocations: 17.5 kB / 295.7 MB, free: 25.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001246/0.1347, allocations: 199.9 kB / 295.9 MB, free: 25.69 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1347, allocations: 0 / 295.9 MB, free: 25.69 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005644/0.1353, allocations: 183.4 kB / 296 MB, free: 25.66 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.000229/0.1355, allocations: 149.2 kB / 296.2 MB, free: 25.55 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006347/0.1361, allocations: 363.4 kB / 296.5 MB, free: 25.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1361, allocations: 1.062 kB / 296.5 MB, free: 25.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002851/0.1364, allocations: 192.5 kB / 296.7 MB, free: 25.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.1369, allocations: 56.56 kB / 296.8 MB, free: 25.39 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/0.1387, allocations: 0.9588 MB / 297.8 MB, free: 24.9 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.617e-05/0.1387, allocations: 127 kB / 297.9 MB, free: 24.81 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002784/0.139, allocations: 76.23 kB / 298 MB, free: 24.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.1392, allocations: 45.86 kB / 298 MB, free: 24.79 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1392, allocations: 1.25 kB / 298 MB, free: 24.79 MB / 266.7 MB Notification: Performance of Templates: time 0.009291/0.1484, allocations: 5.071 MB / 303.1 MB, free: 23.51 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.8795407149009407]