Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.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.001163/0.001163, allocations: 79.73 kB / 21.97 MB, free: 2.594 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.001196/0.001196, allocations: 173.6 kB / 25.33 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8628/0.8628, allocations: 158.6 MB / 187.2 MB, free: 2.527 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 251.1 MB, free: 3.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.881e-05/3.035e-05, allocations: 2.312 kB / 251.1 MB, free: 3.57 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.01417/0.0142, allocations: 16.83 MB / 267.9 MB, free: 2.68 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.02442, allocations: 5.409 MB / 273.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003157/0.02758, allocations: 143.2 kB / 273.4 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006596/0.03417, allocations: 4.711 MB / 278.1 MB, free: 8.387 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007379/0.04155, allocations: 2.958 MB / 281.1 MB, free: 5.414 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003052/0.0446, allocations: 1.661 MB / 282.8 MB, free: 3.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01057/0.05518, allocations: 9.421 MB / 292.2 MB, free: 10.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007446/0.06262, allocations: 5.62 MB / 297.8 MB, free: 4.617 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1404/0.2031, allocations: 4.85 MB / 302.7 MB, free: 23.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007613/0.2107, allocations: 4.458 MB / 307.1 MB, free: 23.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002554/0.2132, allocations: 0.5521 MB / 307.7 MB, free: 23.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004936/0.2182, allocations: 1.587 MB / 309.3 MB, free: 23.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005397/0.2236, allocations: 3.657 MB / 312.9 MB, free: 23.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005083/0.2286, allocations: 2.23 MB / 315.1 MB, free: 23.18 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01072/0.2394, allocations: 7.643 MB / 322.8 MB, free: 22.14 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.2394, allocations: 0 / 322.8 MB, free: 22.14 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2394, allocations: 0 / 322.8 MB, free: 22.14 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0006764/0.2401, allocations: 0 / 322.8 MB, free: 22.14 MB / 282.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.01904/0.2591, allocations: 9.03 MB / 331.8 MB, free: 18.24 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.997e-05/0.2592, allocations: 12.02 kB / 331.8 MB, free: 18.23 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01813/0.2773, allocations: 4.467 MB / 336.3 MB, free: 16.37 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007887/0.2852, allocations: 4.21 MB / 340.5 MB, free: 13.07 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002623/0.2854, allocations: 365.3 kB / 340.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002335/0.2878, allocations: 0.5161 MB / 341.4 MB, free: 12.31 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02333/0.3111, allocations: 10.33 MB / 351.7 MB, free: 0.793 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003042/0.3114, allocations: 80 kB / 351.8 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001214/0.3126, allocations: 239.2 kB / 352 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002809/0.3154, allocations: 2.849 MB / 354.9 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02046/0.3359, allocations: 5.657 MB / 360.5 MB, free: 8.383 MB / 298.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.07921/0.4151, allocations: 68.97 MB / 429.5 MB, free: 2.156 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01762/0.4327, allocations: 4.714 MB / 434.2 MB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002938/0.4356, allocations: 1.252 MB / 435.5 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01822/0.4539, allocations: 9.445 MB / 444.9 MB, free: 2.758 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.731e-05/0.4539, allocations: 67.33 kB / 445 MB, free: 2.684 MB / 378.7 MB Notification: Performance of pre-optimization done (n=259): time 8.476e-06/0.4539, allocations: 0 / 445 MB, free: 2.684 MB / 378.7 MB Notification: Performance of matching and sorting (n=332): time 0.207/0.6609, allocations: 31.15 MB / 476.1 MB, free: 123.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.385e-05/0.661, allocations: 265.7 kB / 476.4 MB, free: 122.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005611/0.6666, allocations: 5.529 MB / 481.9 MB, free: 119.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006634/0.6673, allocations: 76.58 kB / 482 MB, free: 119.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002192/0.6694, allocations: 5.199 MB / 487.2 MB, free: 115.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001206/0.6706, allocations: 1.323 MB / 488.5 MB, free: 114 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00169/0.6723, allocations: 1.995 MB / 490.5 MB, free: 112 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.579e-05/0.6724, allocations: 476.8 kB / 491 MB, free: 111.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00178/0.6742, allocations: 1.263 MB / 492.2 MB, free: 110.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003721/0.6779, allocations: 9.397 MB / 0.4899 GB, free: 97.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007621/0.6855, allocations: 11.68 MB / 0.5013 GB, free: 82.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001568/0.6857, allocations: 52 kB / 0.5013 GB, free: 82.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=1246) (initialization): time 0.01818/0.7038, allocations: 10.39 MB / 0.5115 GB, free: 71.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.038e-05/0.7039, allocations: 88 kB / 0.5116 GB, free: 71.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001386/0.7041, allocations: 188 kB / 0.5117 GB, free: 71.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005968/0.71, allocations: 2.854 MB / 0.5145 GB, free: 68.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004238/0.7143, allocations: 2.163 MB / 0.5166 GB, free: 66.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01043/0.7247, allocations: 8.972 MB / 0.5254 GB, free: 57.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006708/0.7314, allocations: 0.6973 MB / 0.5261 GB, free: 56.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001038/0.7325, allocations: 0.5351 MB / 0.5266 GB, free: 55.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 867 * 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 (1158): * Single equations (assignments): 1153 * 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,29,100.0%), (4,32,62.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002654/0.7351, allocations: 0.9344 MB / 0.5275 GB, free: 54.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001194/0.7363, allocations: 0.6392 MB / 0.5281 GB, free: 54.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009713/0.746, allocations: 4.737 MB / 0.5328 GB, free: 49.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.709e-05/0.7461, allocations: 36 kB / 0.5328 GB, free: 49.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.376e-05/0.7461, allocations: 12 kB / 0.5328 GB, free: 49.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.078e-05/0.7461, allocations: 15.94 kB / 0.5328 GB, free: 49.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02324/0.7694, allocations: 11.44 MB / 0.544 GB, free: 37.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-05/0.7694, allocations: 4 kB / 0.544 GB, free: 37.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001877/0.7713, allocations: 0.5038 MB / 0.5445 GB, free: 37.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007658/0.7789, allocations: 2.543 MB / 0.547 GB, free: 34.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004874/0.7794, allocations: 71.8 kB / 0.547 GB, free: 34.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01099/0.7904, allocations: 7.767 MB / 0.5546 GB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.7904, allocations: 7.938 kB / 0.5546 GB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01063/0.801, allocations: 6.259 MB / 0.5608 GB, free: 20.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002323/0.8034, allocations: 0.9724 MB / 0.5617 GB, free: 19.29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00102/0.8044, allocations: 67.53 kB / 0.5618 GB, free: 19.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002051/0.8064, allocations: 319.5 kB / 0.5621 GB, free: 18.92 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004884/0.8069, allocations: 225.5 kB / 0.5623 GB, free: 18.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001639/0.8071, allocations: 87.98 kB / 0.5624 GB, free: 18.61 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003875/0.8109, allocations: 2.442 MB / 0.5648 GB, free: 16.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8109, allocations: 0 / 0.5648 GB, free: 16.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007858/0.8188, allocations: 1.965 MB / 0.5667 GB, free: 14.23 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (255): * Single equations (assignments): 250 * 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 {(4,28,62.5%), (1,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009807/0.8198, allocations: 247.2 kB / 0.5669 GB, free: 13.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.1198/0.9396, allocations: 5.472 MB / 0.5723 GB, free: 116.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-05/0.9396, allocations: 2.188 kB / 0.5723 GB, free: 116.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003186/0.9428, allocations: 1.852 MB / 0.5741 GB, free: 116.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003828/0.9466, allocations: 0.7174 MB / 0.5748 GB, free: 116.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01741/0.9641, allocations: 12.62 MB / 0.5871 GB, free: 111.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001664/0.9657, allocations: 2.006 MB / 0.589 GB, free: 111.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003708/0.9694, allocations: 2.359 MB / 0.5913 GB, free: 111 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009108/0.9703, allocations: 373.2 kB / 0.5917 GB, free: 111 MB / 378.7 MB Notification: Performance of SimCode: time 2.835e-06/0.9703, allocations: 0 / 0.5917 GB, free: 111 MB / 378.7 MB Notification: Performance of Templates: time 0.08194/1.052, allocations: 71.4 MB / 0.6614 GB, free: 46.34 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.310056169983]