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.001437/0.001437, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.001567/0.001567, allocations: 161.6 kB / 24.27 MB, free: 172 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 1.484/1.484, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.462e-06/1.462e-06, allocations: 0 / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.57e-05, allocations: 2.312 kB / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.006029/0.006055, allocations: 3.819 MB / 276.1 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003196/0.009251, allocations: 1.607 MB / 277.8 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002143/0.009465, allocations: 16 kB / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0025/0.01197, allocations: 0.9835 MB / 278.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006508/0.01262, allocations: 254 kB / 279 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001939/0.01456, allocations: 0.7238 MB / 279.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007686/0.01532, allocations: 0.6375 MB / 280.4 MB, free: 9.73 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007246/0.01605, allocations: 431.4 kB / 280.8 MB, free: 9.305 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005572/0.01661, allocations: 391.1 kB / 281.2 MB, free: 8.922 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003846/0.01699, allocations: 251.3 kB / 281.4 MB, free: 8.676 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.953e-05/0.01708, allocations: 56 kB / 281.5 MB, free: 8.621 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005719/0.01765, allocations: 279.5 kB / 281.7 MB, free: 8.348 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.01779, allocations: 135.5 kB / 281.9 MB, free: 8.215 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002438/0.01803, allocations: 203.5 kB / 282.1 MB, free: 8.016 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.01928, allocations: 0.9811 MB / 283.1 MB, free: 7.031 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.01929, allocations: 0 / 283.1 MB, free: 7.031 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01929, allocations: 0 / 283.1 MB, free: 7.031 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.01929, allocations: 0 / 283.1 MB, free: 7.031 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.003673/0.02297, allocations: 1.153 MB / 284.2 MB, free: 5.844 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.023, allocations: 15.97 kB / 284.2 MB, free: 5.828 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00142/0.02442, allocations: 300 kB / 284.5 MB, free: 5.535 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.02462, allocations: 185.7 kB / 284.7 MB, free: 5.324 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.433e-05/0.02469, allocations: 54.38 kB / 284.7 MB, free: 5.273 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.02481, allocations: 64.38 kB / 284.8 MB, free: 5.211 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.02625, allocations: 0.7292 MB / 285.5 MB, free: 4.461 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.02627, allocations: 4.125 kB / 285.5 MB, free: 4.457 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.755e-05/0.02634, allocations: 24.38 kB / 285.6 MB, free: 4.434 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.067e-05/0.02636, allocations: 19.94 kB / 285.6 MB, free: 4.414 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001394/0.02776, allocations: 0.6062 MB / 286.2 MB, free: 3.805 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004145/0.0319, allocations: 1.788 MB / 288 MB, free: 1.953 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/0.03339, allocations: 0.6763 MB / 288.7 MB, free: 1.266 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00055/0.03394, allocations: 247.6 kB / 288.9 MB, free: 1.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/0.03409, allocations: 32.62 kB / 288.9 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.376e-05/0.03414, allocations: 47.19 kB / 289 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 2.204e-06/0.03415, allocations: 0 / 289 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.001807/0.03595, allocations: 0.7281 MB / 289.7 MB, free: 204 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.652e-05/0.03605, allocations: 115.5 kB / 289.8 MB, free: 64 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0951/0.1311, allocations: 242.8 kB / 290.1 MB, free: 28.35 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001085/0.1313, allocations: 37.33 kB / 290.1 MB, free: 28.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.1314, allocations: 272.1 kB / 290.4 MB, free: 28.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/0.1315, allocations: 233 kB / 290.6 MB, free: 28.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.1317, allocations: 116 kB / 290.7 MB, free: 28.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.498e-05/0.1318, allocations: 343.5 kB / 291 MB, free: 27.76 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004855/0.1323, allocations: 211.2 kB / 291.2 MB, free: 27.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005007/0.1328, allocations: 328.1 kB / 291.6 MB, free: 27.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009306/0.1337, allocations: 0.5176 MB / 292.1 MB, free: 27.47 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1337, allocations: 0 / 292.1 MB, free: 27.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001275/0.135, allocations: 0.659 MB / 292.7 MB, free: 27.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.135, allocations: 7.625 kB / 292.7 MB, free: 27.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.135, allocations: 2.156 kB / 292.7 MB, free: 27.21 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.868e-05/0.1351, allocations: 9.922 kB / 292.8 MB, free: 27.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007413/0.1358, allocations: 159.2 kB / 292.9 MB, free: 27.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.1358, allocations: 5.344 kB / 292.9 MB, free: 27.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004836/0.1363, allocations: 76.72 kB / 293 MB, free: 27.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/0.1364, allocations: 23.98 kB / 293 MB, free: 27.17 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.0002043/0.1366, allocations: 192.3 kB / 293.2 MB, free: 27 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.1367, allocations: 54.66 kB / 293.3 MB, free: 26.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.1379, allocations: 0.5994 MB / 293.9 MB, free: 26.72 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.407e-06/0.1379, allocations: 11.78 kB / 293.9 MB, free: 26.72 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.138, allocations: 0 / 293.9 MB, free: 26.72 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.138, allocations: 8.656 kB / 293.9 MB, free: 26.72 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/0.1399, allocations: 1.11 MB / 295 MB, free: 26.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.1399, allocations: 2.141 kB / 295 MB, free: 26.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006106/0.1405, allocations: 127.3 kB / 295.1 MB, free: 26.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.1405, allocations: 4 kB / 295.1 MB, free: 26.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.654e-05/0.1405, allocations: 17.36 kB / 295.1 MB, free: 26.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.1406, allocations: 3.172 kB / 295.1 MB, free: 26.12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1406, allocations: 1.094 kB / 295.1 MB, free: 26.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.1422, allocations: 1.002 MB / 296.1 MB, free: 25.59 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.363e-05/0.1422, allocations: 49.75 kB / 296.2 MB, free: 25.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.037e-05/0.1423, allocations: 11.47 kB / 296.2 MB, free: 25.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004115/0.1427, allocations: 28.25 kB / 296.2 MB, free: 25.55 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.1428, allocations: 45 kB / 296.3 MB, free: 25.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/0.1428, allocations: 19.52 kB / 296.3 MB, free: 25.54 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001661/0.143, allocations: 179.8 kB / 296.5 MB, free: 25.43 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.143, allocations: 0 / 296.5 MB, free: 25.43 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006/0.1436, allocations: 183.2 kB / 296.6 MB, free: 25.39 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.0002336/0.1438, allocations: 161.7 kB / 296.8 MB, free: 25.28 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.1449, allocations: 0.499 MB / 297.3 MB, free: 25.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1449, allocations: 0.5938 kB / 297.3 MB, free: 25.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004638/0.1454, allocations: 257.1 kB / 297.6 MB, free: 25.05 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005492/0.1459, allocations: 59.09 kB / 297.6 MB, free: 25.01 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001917/0.1479, allocations: 1.006 MB / 298.6 MB, free: 24.47 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.1481, allocations: 245.4 kB / 298.9 MB, free: 24.37 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003546/0.1484, allocations: 80.17 kB / 298.9 MB, free: 24.35 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.1486, allocations: 47.08 kB / 299 MB, free: 24.34 MB / 266.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1486, allocations: 0 / 299 MB, free: 24.34 MB / 266.7 MB Notification: Performance of Templates: time 0.009941/0.1585, allocations: 5.043 MB / 304 MB, free: 22.86 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.455291232909076]