Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.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.0009724/0.0009724, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001014/0.001014, allocations: 156.5 kB / 24.55 MB, free: 20 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 0.9357/0.9357, allocations: 177 MB / 204.8 MB, free: 5.586 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.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.742e-05/1.848e-05, allocations: 6.25 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.01262/0.01264, allocations: 16.72 MB / 289.6 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1336/0.1462, allocations: 5.395 MB / 295 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002503/0.1487, allocations: 141.2 kB / 295.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005663/0.1544, allocations: 4.688 MB / 299.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005356/0.1597, allocations: 2.906 MB / 302.8 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002389/0.1621, allocations: 1.653 MB / 304.4 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007326/0.1695, allocations: 10.06 MB / 314.5 MB, free: 6.328 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004311/0.1738, allocations: 5.607 MB / 320.1 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004377/0.1781, allocations: 4.143 MB / 324.2 MB, free: 13.08 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004797/0.1829, allocations: 4.489 MB / 328.7 MB, free: 8.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001107/0.184, allocations: 0.5562 MB / 329.3 MB, free: 8.355 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002173/0.1862, allocations: 1.589 MB / 330.9 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002333/0.1886, allocations: 3.614 MB / 334.5 MB, free: 3.309 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002142/0.1907, allocations: 2.207 MB / 336.7 MB, free: 1.199 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006431/0.1971, allocations: 7.58 MB / 344.3 MB, free: 9.938 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1971, allocations: 0 / 344.3 MB, free: 9.938 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1971, allocations: 0 / 344.3 MB, free: 9.938 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001475/0.1973, allocations: 0 / 344.3 MB, free: 9.938 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.01024/0.2075, allocations: 8.959 MB / 353.2 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.2076, allocations: 11.98 kB / 353.2 MB, free: 0.9336 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01445/0.222, allocations: 4.552 MB / 357.8 MB, free: 12.37 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006563/0.2286, allocations: 4.742 MB / 362.5 MB, free: 7.539 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/0.2288, allocations: 375.7 kB / 362.9 MB, free: 7.172 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006425/0.2294, allocations: 0.5074 MB / 363.4 MB, free: 6.664 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01209/0.2415, allocations: 10.28 MB / 373.7 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001227/0.2416, allocations: 81.31 kB / 373.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004041/0.242, allocations: 239.8 kB / 374 MB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002685/0.2447, allocations: 2.919 MB / 376.9 MB, free: 7.656 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01048/0.2552, allocations: 5.812 MB / 382.7 MB, free: 1.832 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2133/0.4685, allocations: 68.33 MB / 451.1 MB, free: 61.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0142/0.4827, allocations: 4.976 MB / 456 MB, free: 61.2 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002185/0.4848, allocations: 1.467 MB / 457.5 MB, free: 61.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01494/0.4998, allocations: 11.17 MB / 468.7 MB, free: 58.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/0.4998, allocations: 61.33 kB / 468.7 MB, free: 58.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=290): time 5.129e-06/0.4998, allocations: 3.844 kB / 468.7 MB, free: 58.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=372): time 0.06782/0.5676, allocations: 33.15 MB / 0.4901 GB, free: 33.17 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.159e-05/0.5677, allocations: 276.6 kB / 0.4904 GB, free: 32.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004291/0.572, allocations: 5.304 MB / 0.4956 GB, free: 27.79 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000198/0.5722, allocations: 81.7 kB / 0.4957 GB, free: 27.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001595/0.5738, allocations: 5.076 MB / 0.5006 GB, free: 22.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000761/0.5746, allocations: 1.464 MB / 0.502 GB, free: 21.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001631/0.5762, allocations: 2 MB / 0.504 GB, free: 19.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.479e-05/0.5762, allocations: 476.8 kB / 0.5044 GB, free: 19.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001962/0.5782, allocations: 1.436 MB / 0.5058 GB, free: 17.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003895/0.5821, allocations: 9.228 MB / 0.5149 GB, free: 4.934 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00864/0.5907, allocations: 11.69 MB / 0.5263 GB, free: 6.305 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.259e-05/0.5908, allocations: 56 kB / 0.5263 GB, free: 6.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=1253) (initialization): time 0.01656/0.6074, allocations: 11.31 MB / 0.5374 GB, free: 10.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.593e-05/0.6074, allocations: 92.16 kB / 0.5375 GB, free: 10.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001219/0.6076, allocations: 180 kB / 0.5376 GB, free: 10.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008073/0.6156, allocations: 3.748 MB / 0.5413 GB, free: 6.883 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003584/0.6192, allocations: 2.125 MB / 0.5434 GB, free: 4.754 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01697/0.6362, allocations: 11.3 MB / 0.5544 GB, free: 9.238 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005215/0.6414, allocations: 0.6281 MB / 0.555 GB, free: 8.609 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007009/0.6421, allocations: 0.5312 MB / 0.5555 GB, free: 8.078 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1133): * Single equations (assignments): 1128 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,45,100.0%), (2,50,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001912/0.644, allocations: 0.9152 MB / 0.5564 GB, free: 7.152 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009479/0.645, allocations: 0.6565 MB / 0.5571 GB, free: 6.488 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01309/0.6581, allocations: 5.979 MB / 0.5629 GB, free: 456 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.425e-05/0.6581, allocations: 40 kB / 0.5629 GB, free: 416 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.491e-05/0.6581, allocations: 16 kB / 0.563 GB, free: 400 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.768e-05/0.6581, allocations: 23.12 kB / 0.563 GB, free: 380 kB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02434/0.6825, allocations: 12.74 MB / 0.5754 GB, free: 3.633 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/0.6825, allocations: 4 kB / 0.5754 GB, free: 3.629 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001861/0.6844, allocations: 0.5383 MB / 0.576 GB, free: 3.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01602/0.7004, allocations: 3.421 MB / 0.5793 GB, free: 15.66 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002697/0.7006, allocations: 63.98 kB / 0.5794 GB, free: 15.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01777/0.7184, allocations: 9.753 MB / 0.5889 GB, free: 5.605 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.7184, allocations: 0 / 0.5889 GB, free: 5.605 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1486/0.8671, allocations: 7.451 MB / 0.5962 GB, free: 164.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/0.8686, allocations: 0.5531 MB / 0.5967 GB, free: 164.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008734/0.8695, allocations: 57.52 kB / 0.5968 GB, free: 164.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002064/0.8715, allocations: 319.6 kB / 0.5971 GB, free: 164.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006639/0.8722, allocations: 242.7 kB / 0.5973 GB, free: 164.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002113/0.8724, allocations: 87.77 kB / 0.5974 GB, free: 164.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003829/0.8762, allocations: 2.333 MB / 0.5997 GB, free: 164.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.8762, allocations: 0 / 0.5997 GB, free: 164.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007233/0.8835, allocations: 2.158 MB / 0.6018 GB, free: 164.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * 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 (272): * Single equations (assignments): 267 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,43,100.0%), (1,36,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007186/0.8842, allocations: 235.2 kB / 0.602 GB, free: 164.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008501/0.8927, allocations: 6.017 MB / 0.6079 GB, free: 163.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.8927, allocations: 0 / 0.6079 GB, free: 163.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002938/0.8956, allocations: 2.242 MB / 0.6101 GB, free: 163 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003269/0.8989, allocations: 0.7133 MB / 0.6107 GB, free: 163 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01715/0.916, allocations: 12.9 MB / 0.6233 GB, free: 158.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00216/0.9182, allocations: 2.032 MB / 0.6253 GB, free: 158.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004043/0.9222, allocations: 2.325 MB / 0.6276 GB, free: 158 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009952/0.9232, allocations: 376.1 kB / 0.628 GB, free: 158 MB / 458.7 MB Notification: Performance of SimCode: time 2.134e-06/0.9232, allocations: 3.828 kB / 0.628 GB, free: 158 MB / 458.7 MB Notification: Performance of Templates: time 0.09009/1.013, allocations: 80.73 MB / 0.7068 GB, free: 83.54 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/LineForceWithTwoMasses/LineForceWithTwoMasses.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: 5.462478706147522]