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.002619/0.002619, allocations: 103.5 kB / 20.97 MB, free: 3.449 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.003034/0.003034, allocations: 156.8 kB / 24.27 MB, free: 156 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.714/1.714, allocations: 177 MB / 204.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 178] 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.693e-06/1.693e-06, allocations: 0 / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.1e-05/3.269e-05, allocations: 2.312 kB / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.00958/0.009612, allocations: 4.136 MB / 276.3 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004981/0.01459, allocations: 1.662 MB / 278 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005154/0.01511, allocations: 12 kB / 278 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003821/0.01893, allocations: 1.065 MB / 279.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.02032, allocations: 254.1 kB / 279.3 MB, free: 10.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002713/0.02304, allocations: 0.7355 MB / 280.1 MB, free: 9.922 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001402/0.02444, allocations: 0.6336 MB / 280.7 MB, free: 9.285 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.02568, allocations: 435.4 kB / 281.1 MB, free: 8.855 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009323/0.02661, allocations: 387.1 kB / 281.5 MB, free: 8.477 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006268/0.02724, allocations: 263.2 kB / 281.7 MB, free: 8.219 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.02738, allocations: 52 kB / 281.8 MB, free: 8.168 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001016/0.02839, allocations: 283.5 kB / 282.1 MB, free: 7.891 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001976/0.02859, allocations: 127.5 kB / 282.2 MB, free: 7.766 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004024/0.02899, allocations: 207.4 kB / 282.4 MB, free: 7.562 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00216/0.03115, allocations: 0.9811 MB / 283.4 MB, free: 6.578 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.03116, allocations: 4 kB / 283.4 MB, free: 6.574 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.03116, allocations: 0 / 283.4 MB, free: 6.574 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.03117, allocations: 0 / 283.4 MB, free: 6.574 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.00568/0.03685, allocations: 1.299 MB / 284.7 MB, free: 5.234 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.0369, allocations: 11.98 kB / 284.7 MB, free: 5.223 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002378/0.03928, allocations: 300 kB / 285 MB, free: 4.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.0396, allocations: 188.5 kB / 285.2 MB, free: 4.715 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.073e-05/0.03968, allocations: 54.38 kB / 285.2 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.03984, allocations: 64.38 kB / 285.3 MB, free: 4.602 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002061/0.0419, allocations: 0.753 MB / 286 MB, free: 3.824 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.784e-05/0.04194, allocations: 8.172 kB / 286.1 MB, free: 3.816 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.04204, allocations: 28.38 kB / 286.1 MB, free: 3.789 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.334e-05/0.04208, allocations: 23.92 kB / 286.1 MB, free: 3.766 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.04389, allocations: 0.5633 MB / 286.7 MB, free: 3.203 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005441/0.04933, allocations: 2.049 MB / 288.7 MB, free: 1.086 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.05083, allocations: 0.692 MB / 289.4 MB, free: 384 kB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004921/0.05132, allocations: 237.3 kB / 289.6 MB, free: 140 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001665/0.05149, allocations: 32.72 kB / 289.7 MB, free: 108 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/0.05153, allocations: 53.92 kB / 289.7 MB, free: 40 kB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 2.825e-06/0.05154, allocations: 4 kB / 289.7 MB, free: 36 kB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.1092/0.1607, allocations: 0.6687 MB / 290.4 MB, free: 28.11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.1608, allocations: 111.3 kB / 290.5 MB, free: 27.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/0.1611, allocations: 330.2 kB / 290.8 MB, free: 27.81 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.273e-05/0.1611, allocations: 36.17 kB / 290.9 MB, free: 27.78 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.1612, allocations: 333.9 kB / 291.2 MB, free: 27.6 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.1614, allocations: 241.3 kB / 291.4 MB, free: 27.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.1615, allocations: 140.2 kB / 291.6 MB, free: 27.44 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.399e-05/0.1616, allocations: 0.5344 MB / 292.1 MB, free: 26.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003884/0.162, allocations: 193.8 kB / 292.3 MB, free: 26.95 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004957/0.1625, allocations: 352.2 kB / 292.6 MB, free: 26.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008494/0.1634, allocations: 0.5269 MB / 293.2 MB, free: 26.58 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.1634, allocations: 0.8438 kB / 293.2 MB, free: 26.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001157/0.1645, allocations: 0.6351 MB / 293.8 MB, free: 26.35 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.1646, allocations: 9.625 kB / 293.8 MB, free: 26.35 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.1646, allocations: 2.188 kB / 293.8 MB, free: 26.35 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.1646, allocations: 6.359 kB / 293.8 MB, free: 26.35 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007091/0.1653, allocations: 151.9 kB / 294 MB, free: 26.34 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.1653, allocations: 7.828 kB / 294 MB, free: 26.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004164/0.1657, allocations: 68.91 kB / 294 MB, free: 26.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.72e-05/0.1658, allocations: 23.94 kB / 294.1 MB, free: 26.29 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.0001988/0.166, allocations: 231.4 kB / 294.3 MB, free: 26.08 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/0.1661, allocations: 58.41 kB / 294.3 MB, free: 26.05 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001115/0.1672, allocations: 0.5779 MB / 294.9 MB, free: 25.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.1672, allocations: 7.531 kB / 294.9 MB, free: 25.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1672, allocations: 0 / 294.9 MB, free: 25.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.1672, allocations: 4.391 kB / 294.9 MB, free: 25.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001917/0.1692, allocations: 1.22 MB / 296.1 MB, free: 25.14 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.1692, allocations: 5.094 kB / 296.2 MB, free: 25.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005501/0.1697, allocations: 120.1 kB / 296.3 MB, free: 25.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/0.1697, allocations: 2.344 kB / 296.3 MB, free: 25.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.583e-05/0.1698, allocations: 15 kB / 296.3 MB, free: 25.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.1698, allocations: 7.141 kB / 296.3 MB, free: 25.12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1698, allocations: 1.312 kB / 296.3 MB, free: 25.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001382/0.1711, allocations: 1.044 MB / 297.3 MB, free: 24.54 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.151e-05/0.1712, allocations: 46.94 kB / 297.4 MB, free: 24.51 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.044e-05/0.1713, allocations: 11.53 kB / 297.4 MB, free: 24.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003443/0.1716, allocations: 20.86 kB / 297.4 MB, free: 24.49 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.1717, allocations: 41.62 kB / 297.5 MB, free: 24.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.689e-05/0.1718, allocations: 19.77 kB / 297.5 MB, free: 24.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001712/0.1719, allocations: 226.9 kB / 297.7 MB, free: 24.33 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1719, allocations: 0 / 297.7 MB, free: 24.33 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006091/0.1725, allocations: 198.9 kB / 297.9 MB, free: 24.27 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.0002234/0.1728, allocations: 147.9 kB / 298 MB, free: 24.17 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001003/0.1738, allocations: 0.5203 MB / 298.6 MB, free: 24.01 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1738, allocations: 4.906 kB / 298.6 MB, free: 24.01 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004491/0.1742, allocations: 276.2 kB / 298.8 MB, free: 23.92 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004581/0.1747, allocations: 51.36 kB / 298.9 MB, free: 23.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.1766, allocations: 1.033 MB / 299.9 MB, free: 23.34 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.1768, allocations: 244.5 kB / 300.2 MB, free: 23.24 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003212/0.1771, allocations: 76.36 kB / 300.2 MB, free: 23.22 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.1772, allocations: 46.8 kB / 300.3 MB, free: 23.21 MB / 266.7 MB Notification: Performance of SimCode: time 9.22e-07/0.1773, allocations: 1.375 kB / 300.3 MB, free: 23.21 MB / 266.7 MB Notification: Performance of Templates: time 0.00992/0.1872, allocations: 5.055 MB / 305.3 MB, free: 21.4 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.995360999018885]