Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001011/0.001011, allocations: 91.5 kB / 21.19 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009697/0.0009697, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.032/1.032, allocations: 177 MB / 204.8 MB, free: 5.262 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 272.9 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.954e-05/3.125e-05, allocations: 5.266 kB / 272.9 MB, free: 1.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.008188/0.008219, allocations: 4.187 MB / 277.1 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002538/0.01076, allocations: 1.674 MB / 278.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002304/0.01099, allocations: 8 kB / 278.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001606/0.01259, allocations: 1.077 MB / 279.9 MB, free: 10.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004403/0.01303, allocations: 246 kB / 280.1 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.01415, allocations: 0.7433 MB / 280.8 MB, free: 9.324 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004598/0.01461, allocations: 0.6258 MB / 281.5 MB, free: 8.695 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005358/0.01514, allocations: 431.4 kB / 281.9 MB, free: 8.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000412/0.01556, allocations: 391.1 kB / 282.3 MB, free: 7.887 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002539/0.01581, allocations: 263.3 kB / 282.5 MB, free: 7.629 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.743e-05/0.01587, allocations: 52 kB / 282.6 MB, free: 7.578 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004538/0.01632, allocations: 283.5 kB / 282.9 MB, free: 7.301 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.346e-05/0.0164, allocations: 131.5 kB / 283 MB, free: 7.172 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.01654, allocations: 215.4 kB / 283.2 MB, free: 6.961 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006796/0.01722, allocations: 0.6889 MB / 283.9 MB, free: 6.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.01723, allocations: 4 kB / 283.9 MB, free: 6.266 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.01723, allocations: 0 / 283.9 MB, free: 6.266 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.01724, allocations: 0 / 283.9 MB, free: 6.266 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.001999/0.01924, allocations: 1.257 MB / 285.1 MB, free: 4.969 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.01928, allocations: 15.98 kB / 285.2 MB, free: 4.953 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007682/0.02004, allocations: 292 kB / 285.5 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.02021, allocations: 196.4 kB / 285.6 MB, free: 4.449 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.02025, allocations: 50.38 kB / 285.7 MB, free: 4.402 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.312e-05/0.02033, allocations: 68.38 kB / 285.8 MB, free: 4.336 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000691/0.02102, allocations: 0.5858 MB / 286.3 MB, free: 3.723 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.02104, allocations: 192 / 286.3 MB, free: 3.723 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.02108, allocations: 28.38 kB / 286.4 MB, free: 3.695 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.0211, allocations: 19.94 kB / 286.4 MB, free: 3.676 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004843/0.02158, allocations: 323.5 kB / 286.7 MB, free: 3.359 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002164/0.02375, allocations: 1.809 MB / 288.5 MB, free: 1.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006927/0.02444, allocations: 0.5748 MB / 289.1 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.02464, allocations: 157.3 kB / 289.2 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001169/0.02475, allocations: 32.62 kB / 289.3 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.02478, allocations: 45.98 kB / 289.3 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 1.994e-06/0.02478, allocations: 0 / 289.3 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.0006796/0.02546, allocations: 473.6 kB / 289.8 MB, free: 176 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.02551, allocations: 111.5 kB / 289.9 MB, free: 40 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1198/0.1453, allocations: 287.3 kB / 290.2 MB, free: 20.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.1454, allocations: 36.61 kB / 290.2 MB, free: 19.98 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.1456, allocations: 317.4 kB / 290.5 MB, free: 19.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001919/0.1458, allocations: 236.8 kB / 290.7 MB, free: 19.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.146, allocations: 128.9 kB / 290.9 MB, free: 19.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1461, allocations: 0.524 MB / 291.4 MB, free: 19.17 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/0.1464, allocations: 106.4 kB / 291.5 MB, free: 19.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003323/0.1467, allocations: 249.9 kB / 291.7 MB, free: 19.03 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005663/0.1473, allocations: 354.9 kB / 292.1 MB, free: 18.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.1473, allocations: 1.156 kB / 292.1 MB, free: 18.95 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0008225/0.1481, allocations: 473.5 kB / 292.6 MB, free: 18.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.1481, allocations: 9.203 kB / 292.6 MB, free: 18.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.1481, allocations: 2.156 kB / 292.6 MB, free: 18.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/0.1482, allocations: 5.875 kB / 292.6 MB, free: 18.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005595/0.1487, allocations: 155.9 kB / 292.7 MB, free: 18.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.1487, allocations: 9.094 kB / 292.7 MB, free: 18.88 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002957/0.149, allocations: 71.08 kB / 292.8 MB, free: 18.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.495e-05/0.1491, allocations: 24.06 kB / 292.8 MB, free: 18.86 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.0001565/0.1492, allocations: 188.6 kB / 293 MB, free: 18.7 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.1493, allocations: 66.03 kB / 293.1 MB, free: 18.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007891/0.1501, allocations: 432.2 kB / 293.5 MB, free: 18.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.1501, allocations: 11.88 kB / 293.5 MB, free: 18.62 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1501, allocations: 1.094 kB / 293.5 MB, free: 18.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.1501, allocations: 4.828 kB / 293.5 MB, free: 18.62 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001556/0.1517, allocations: 0.9832 MB / 294.5 MB, free: 18.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.1517, allocations: 1.188 kB / 294.5 MB, free: 18.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004363/0.1521, allocations: 125.3 kB / 294.6 MB, free: 18.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.865e-06/0.1522, allocations: 5.219 kB / 294.6 MB, free: 18.3 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.84e-05/0.1522, allocations: 14.69 kB / 294.6 MB, free: 18.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.781e-06/0.1522, allocations: 3.188 kB / 294.6 MB, free: 18.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.1522, allocations: 1.031 kB / 294.6 MB, free: 18.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009715/0.1532, allocations: 0.7644 MB / 295.4 MB, free: 17.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.343e-05/0.1532, allocations: 42.67 kB / 295.5 MB, free: 17.94 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.961e-05/0.1533, allocations: 23.64 kB / 295.5 MB, free: 17.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002551/0.1535, allocations: 24.31 kB / 295.5 MB, free: 17.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.1537, allocations: 39.86 kB / 295.5 MB, free: 17.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.071e-05/0.1537, allocations: 18.61 kB / 295.6 MB, free: 17.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001399/0.1538, allocations: 205.1 kB / 295.8 MB, free: 17.81 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1538, allocations: 0 / 295.8 MB, free: 17.81 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006326/0.1545, allocations: 180.5 kB / 295.9 MB, free: 17.8 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.000255/0.1547, allocations: 148.1 kB / 296.1 MB, free: 17.71 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006984/0.1554, allocations: 364.7 kB / 296.4 MB, free: 17.68 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.1554, allocations: 6.531 kB / 296.4 MB, free: 17.68 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002991/0.1557, allocations: 191.7 kB / 296.6 MB, free: 17.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.1562, allocations: 54.23 kB / 296.7 MB, free: 17.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.1581, allocations: 0.9715 MB / 297.7 MB, free: 17.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.1583, allocations: 123.7 kB / 297.8 MB, free: 17.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002871/0.1585, allocations: 73.62 kB / 297.8 MB, free: 17.14 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.1587, allocations: 46.19 kB / 297.9 MB, free: 17.14 MB / 266.7 MB Notification: Performance of SimCode: time 8.72e-07/0.1587, allocations: 7.562 kB / 297.9 MB, free: 17.13 MB / 266.7 MB Notification: Performance of Templates: time 0.009899/0.1686, allocations: 5.053 MB / 303 MB, free: 16.47 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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: 3.071064808871597]