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.002251/0.002251, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002594/0.002594, allocations: 156.9 kB / 24.26 MB, free: 168 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.482/1.482, allocations: 177 MB / 204.4 MB, free: 5.602 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.233e-06/1.233e-06, allocations: 0 / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.973e-05, allocations: 2.312 kB / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.006017/0.006037, allocations: 3.805 MB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00292/0.008956, allocations: 1.619 MB / 277.6 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001773/0.009134, allocations: 12 kB / 277.6 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002446/0.01158, allocations: 0.9913 MB / 278.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005408/0.01212, allocations: 254 kB / 278.9 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.01375, allocations: 0.7199 MB / 279.6 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007364/0.01448, allocations: 0.6375 MB / 280.2 MB, free: 9.699 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009484/0.01543, allocations: 427.4 kB / 280.7 MB, free: 9.277 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005513/0.01598, allocations: 383.1 kB / 281 MB, free: 8.902 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003952/0.01638, allocations: 255.3 kB / 281.3 MB, free: 8.652 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 8.967e-05/0.01647, allocations: 60 kB / 281.3 MB, free: 8.594 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005322/0.017, allocations: 283.5 kB / 281.6 MB, free: 8.316 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.01714, allocations: 131.5 kB / 281.7 MB, free: 8.188 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002536/0.0174, allocations: 211.4 kB / 282 MB, free: 7.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.01863, allocations: 0.9772 MB / 282.9 MB, free: 7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.01863, allocations: 0 / 282.9 MB, free: 7 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01863, allocations: 0 / 282.9 MB, free: 7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.01864, allocations: 0 / 282.9 MB, free: 7 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.003711/0.02235, allocations: 1.157 MB / 284.1 MB, free: 5.809 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.0224, allocations: 15.98 kB / 284.1 MB, free: 5.793 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001398/0.0238, allocations: 296 kB / 284.4 MB, free: 5.504 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.02402, allocations: 177.7 kB / 284.6 MB, free: 5.301 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.774e-05/0.02407, allocations: 50.38 kB / 284.6 MB, free: 5.254 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.0242, allocations: 68.38 kB / 284.7 MB, free: 5.188 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.02564, allocations: 0.7369 MB / 285.4 MB, free: 4.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.02566, allocations: 192 / 285.4 MB, free: 4.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.968e-05/0.02573, allocations: 24.38 kB / 285.4 MB, free: 4.406 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.131e-05/0.02576, allocations: 19.94 kB / 285.5 MB, free: 4.387 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.02712, allocations: 0.5984 MB / 286.1 MB, free: 3.789 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00377/0.03089, allocations: 1.803 MB / 287.9 MB, free: 1.922 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/0.03233, allocations: 0.6878 MB / 288.6 MB, free: 1.223 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005402/0.03287, allocations: 239.6 kB / 288.8 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001422/0.03302, allocations: 36.66 kB / 288.8 MB, free: 0.9492 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/0.03306, allocations: 43.16 kB / 288.9 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of pre-optimization done (n=66): time 1.774e-06/0.03307, allocations: 4 kB / 288.9 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of matching and sorting (n=66): time 0.001745/0.03481, allocations: 0.7241 MB / 289.6 MB, free: 168 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.758e-05/0.03491, allocations: 111.5 kB / 289.7 MB, free: 32 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1071/0.142, allocations: 244.6 kB / 289.9 MB, free: 28.35 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001295/0.1422, allocations: 40.03 kB / 290 MB, free: 28.32 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.1423, allocations: 271.8 kB / 290.2 MB, free: 28.21 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.1425, allocations: 232.3 kB / 290.5 MB, free: 28.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/0.1427, allocations: 118.4 kB / 290.6 MB, free: 28.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.589e-05/0.1428, allocations: 342.5 kB / 290.9 MB, free: 27.76 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005018/0.1433, allocations: 212.9 kB / 291.1 MB, free: 27.75 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005349/0.1438, allocations: 329.8 kB / 291.5 MB, free: 27.65 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009392/0.1448, allocations: 0.5156 MB / 292 MB, free: 27.45 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.1448, allocations: 1.219 kB / 292 MB, free: 27.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001318/0.1461, allocations: 0.6583 MB / 292.6 MB, free: 27.19 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.1461, allocations: 6.938 kB / 292.6 MB, free: 27.19 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.168e-06/0.1461, allocations: 4.969 kB / 292.6 MB, free: 27.19 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.901e-05/0.1462, allocations: 8.156 kB / 292.6 MB, free: 27.19 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007335/0.1469, allocations: 160.7 kB / 292.8 MB, free: 27.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.1469, allocations: 6.594 kB / 292.8 MB, free: 27.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004631/0.1474, allocations: 70.53 kB / 292.9 MB, free: 27.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.081e-05/0.1474, allocations: 27.75 kB / 292.9 MB, free: 27.14 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.0002079/0.1476, allocations: 191.4 kB / 293.1 MB, free: 26.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.1478, allocations: 56.12 kB / 293.1 MB, free: 26.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.1491, allocations: 0.5972 MB / 293.7 MB, free: 26.7 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.1491, allocations: 11.02 kB / 293.8 MB, free: 26.7 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.1491, allocations: 3.766 kB / 293.8 MB, free: 26.7 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.1491, allocations: 7.219 kB / 293.8 MB, free: 26.7 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002031/0.1511, allocations: 1.103 MB / 294.9 MB, free: 26.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.1511, allocations: 1.312 kB / 294.9 MB, free: 26.12 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005972/0.1517, allocations: 128.6 kB / 295 MB, free: 26.11 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.1517, allocations: 3.844 kB / 295 MB, free: 26.11 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.701e-05/0.1518, allocations: 22.28 kB / 295 MB, free: 26.1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.1518, allocations: 4.078 kB / 295 MB, free: 26.1 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1518, allocations: 0 / 295 MB, free: 26.1 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.1534, allocations: 0.9992 MB / 296 MB, free: 25.57 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.455e-05/0.1534, allocations: 54.31 kB / 296.1 MB, free: 25.54 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.109e-05/0.1535, allocations: 11.34 kB / 296.1 MB, free: 25.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004114/0.1539, allocations: 28.84 kB / 296.1 MB, free: 25.53 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.154, allocations: 41.97 kB / 296.2 MB, free: 25.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.1541, allocations: 18.95 kB / 296.2 MB, free: 25.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001707/0.1542, allocations: 179.3 kB / 296.4 MB, free: 25.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1542, allocations: 0 / 296.4 MB, free: 25.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006704/0.1549, allocations: 187.1 kB / 296.5 MB, free: 25.37 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.0002333/0.1552, allocations: 153.8 kB / 296.7 MB, free: 25.26 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001077/0.1562, allocations: 0.5115 MB / 297.2 MB, free: 25.1 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1562, allocations: 0 / 297.2 MB, free: 25.1 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004836/0.1567, allocations: 245.9 kB / 297.4 MB, free: 25.03 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004834/0.1572, allocations: 55.83 kB / 297.5 MB, free: 24.99 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.1591, allocations: 1.013 MB / 298.5 MB, free: 24.45 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.1594, allocations: 242.2 kB / 298.7 MB, free: 24.35 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0003372/0.1597, allocations: 77.86 kB / 298.8 MB, free: 24.33 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001407/0.1598, allocations: 46.58 kB / 298.9 MB, free: 24.32 MB / 266.7 MB Notification: Performance of SimCode: time 7.02e-07/0.1598, allocations: 0 / 298.9 MB, free: 24.32 MB / 266.7 MB Notification: Performance of Templates: time 0.01038/0.1702, allocations: 5.046 MB / 303.9 MB, free: 22.83 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1) [Timeout 480] 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.44853078701999]