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.00118/0.00118, allocations: 80.8 kB / 22.28 MB, free: 2.207 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.001555/0.001555, allocations: 167.7 kB / 25.69 MB, free: 8.398 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.9599/0.9599, allocations: 158.6 MB / 187.6 MB, free: 2.797 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.472e-06/1.472e-06, allocations: 0 / 251.6 MB, free: 7.203 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.486e-05, allocations: 6.25 kB / 251.6 MB, free: 7.195 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses): time 0.01262/0.01264, allocations: 16.34 MB / 267.9 MB, free: 6.789 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.02374, allocations: 5.598 MB / 273.5 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003186/0.02693, allocations: 143.2 kB / 273.7 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006033/0.03296, allocations: 4.613 MB / 278.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006764/0.03972, allocations: 2.97 MB / 281.2 MB, free: 9.418 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002637/0.04236, allocations: 1.669 MB / 282.9 MB, free: 7.746 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009634/0.05199, allocations: 9.413 MB / 292.3 MB, free: 14.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006446/0.05844, allocations: 5.309 MB / 297.6 MB, free: 8.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007753/0.06619, allocations: 4.729 MB / 302.4 MB, free: 4.172 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00647/0.07266, allocations: 4.267 MB / 306.6 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001774/0.07444, allocations: 0.5508 MB / 307.2 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003328/0.07777, allocations: 1.623 MB / 308.8 MB, free: 13.72 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003941/0.08171, allocations: 3.659 MB / 312.5 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003547/0.08525, allocations: 2.228 MB / 314.7 MB, free: 7.816 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01017/0.09542, allocations: 7.641 MB / 322.3 MB, free: 152 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.09543, allocations: 0 / 322.3 MB, free: 152 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.09543, allocations: 0 / 322.3 MB, free: 152 kB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0004069/0.09584, allocations: 0 / 322.3 MB, free: 152 kB / 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.01455/0.1104, allocations: 7.554 MB / 329.9 MB, free: 8.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.1104, allocations: 15.98 kB / 329.9 MB, free: 8.504 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006396/0.1168, allocations: 1.807 MB / 331.7 MB, free: 6.695 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006483/0.1233, allocations: 3.525 MB / 335.2 MB, free: 3.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002504/0.1236, allocations: 373.8 kB / 335.6 MB, free: 2.703 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00122/0.1248, allocations: 0.519 MB / 336.1 MB, free: 2.184 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01463/0.1394, allocations: 8.092 MB / 344.2 MB, free: 8.973 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002437/0.1396, allocations: 79.31 kB / 344.3 MB, free: 8.895 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008161/0.1405, allocations: 239.8 kB / 344.5 MB, free: 8.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002633/0.1431, allocations: 2.65 MB / 347.2 MB, free: 6.004 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00974/0.1528, allocations: 4.143 MB / 351.3 MB, free: 1.805 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.18/0.3328, allocations: 49.08 MB / 400.4 MB, free: 36.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008066/0.3409, allocations: 3.664 MB / 404.1 MB, free: 36.28 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001809/0.3427, allocations: 0.8477 MB / 404.9 MB, free: 36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01176/0.3544, allocations: 8.029 MB / 412.9 MB, free: 28.99 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.3545, allocations: 64.55 kB / 413 MB, free: 28.92 MB / 330.7 MB Notification: Performance of pre-optimization done (n=259): time 4.469e-06/0.3545, allocations: 0 / 413 MB, free: 28.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=332): time 0.04978/0.4043, allocations: 19.88 MB / 432.9 MB, free: 9.898 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.469e-05/0.4043, allocations: 268.5 kB / 433.1 MB, free: 9.582 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005282/0.4096, allocations: 4.95 MB / 438.1 MB, free: 5.684 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007097/0.4103, allocations: 81.7 kB / 438.2 MB, free: 5.598 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001518/0.4118, allocations: 4.556 MB / 442.7 MB, free: 1.312 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001194/0.413, allocations: 1.283 MB / 444 MB, free: 100 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002004/0.415, allocations: 1.769 MB / 445.8 MB, free: 14.53 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.813e-05/0.4151, allocations: 301.1 kB / 446.1 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00232/0.4174, allocations: 1.329 MB / 447.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004904/0.4223, allocations: 6.696 MB / 454.1 MB, free: 3.863 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008335/0.4307, allocations: 8.776 MB / 462.9 MB, free: 9.359 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001477/0.4308, allocations: 52 kB / 462.9 MB, free: 9.309 MB / 362.7 MB Notification: Performance of matching and sorting (n=1246) (initialization): time 0.01413/0.4449, allocations: 7.627 MB / 470.6 MB, free: 2.055 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001444/0.4451, allocations: 91.98 kB / 470.6 MB, free: 1.965 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001908/0.4453, allocations: 188 kB / 470.8 MB, free: 1.781 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005351/0.4506, allocations: 1.954 MB / 472.8 MB, free: 15.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00497/0.4556, allocations: 2.195 MB / 475 MB, free: 13.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009383/0.465, allocations: 6.836 MB / 481.8 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005221/0.4702, allocations: 399.7 kB / 482.2 MB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001157/0.4714, allocations: 472 kB / 482.7 MB, free: 5.852 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.002794/0.4742, allocations: 0.8912 MB / 483.6 MB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001251/0.4754, allocations: 391.6 kB / 483.9 MB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006846/0.4823, allocations: 3.195 MB / 487.1 MB, free: 1.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-05/0.4823, allocations: 32 kB / 487.2 MB, free: 1.289 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.749e-05/0.4823, allocations: 12 kB / 487.2 MB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.249e-05/0.4824, allocations: 19.94 kB / 487.2 MB, free: 1.258 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0183/0.5007, allocations: 8.611 MB / 495.8 MB, free: 9.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/0.5007, allocations: 9.531 kB / 495.8 MB, free: 9.402 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001493/0.5022, allocations: 491.5 kB / 496.3 MB, free: 8.922 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005398/0.5076, allocations: 1.918 MB / 498.2 MB, free: 7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003208/0.5079, allocations: 56 kB / 498.3 MB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007962/0.5159, allocations: 5.728 MB / 0.4922 GB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.5159, allocations: 8 kB / 0.4922 GB, free: 1.086 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.141/0.6569, allocations: 4.266 MB / 0.4964 GB, free: 116.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002098/0.659, allocations: 0.7972 MB / 0.4971 GB, free: 116.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009617/0.66, allocations: 69.52 kB / 0.4972 GB, free: 116.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/0.6615, allocations: 74.98 kB / 0.4973 GB, free: 116.8 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004719/0.662, allocations: 222.4 kB / 0.4975 GB, free: 116.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/0.6621, allocations: 71.75 kB / 0.4976 GB, free: 116.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002205/0.6643, allocations: 1.903 MB / 0.4994 GB, free: 116.6 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6643, allocations: 3.156 kB / 0.4994 GB, free: 116.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006269/0.6706, allocations: 1.963 MB / 0.5013 GB, free: 116.6 MB / 394.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.0005767/0.6712, allocations: 228.5 kB / 0.5016 GB, free: 116.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005556/0.6767, allocations: 4.519 MB / 0.506 GB, free: 116.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000289/0.677, allocations: 124.2 kB / 0.5061 GB, free: 116.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001873/0.6789, allocations: 1.405 MB / 0.5075 GB, free: 115.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004981/0.6839, allocations: 1.015 MB / 0.5085 GB, free: 115.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01826/0.7021, allocations: 12.32 MB / 0.5205 GB, free: 109.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002279/0.7044, allocations: 1.996 MB / 0.5224 GB, free: 108.7 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002592/0.707, allocations: 0.7771 MB / 0.5232 GB, free: 108.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001561/0.7085, allocations: 0.8742 MB / 0.524 GB, free: 107.4 MB / 394.7 MB Notification: Performance of SimCode: time 1.893e-06/0.7085, allocations: 0 / 0.524 GB, free: 107.4 MB / 394.7 MB Notification: Performance of Templates: time 0.09712/0.8057, allocations: 74.04 MB / 0.5963 GB, free: 37.51 MB / 394.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 -s gbode -gbm=radauIIA3 -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: 4.991936990059912]