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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008286/0.0008286, allocations: 86.7 kB / 262.5 MB, free: 1.684 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.316e-05/1.318e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07541/0.07544, allocations: 47.58 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2972/0.3727, allocations: 102.7 MB / 465.8 MB, free: 9.254 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.373, allocations: 92.81 kB / 465.9 MB, free: 9.207 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4975/0.8705, allocations: 133.7 MB / 0.5855 GB, free: 89.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.8706, allocations: 3.938 kB / 0.5855 GB, free: 89.63 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003696/0.871, allocations: 131.4 kB / 0.5857 GB, free: 89.62 MB / 410.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.01968/0.8906, allocations: 7.045 MB / 0.5925 GB, free: 86.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.8907, allocations: 7.031 kB / 0.5926 GB, free: 86.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02969/0.9204, allocations: 7.569 MB / 0.5999 GB, free: 83.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02076/0.9412, allocations: 9.687 MB / 0.6094 GB, free: 74.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003686/0.9416, allocations: 208 kB / 0.6096 GB, free: 74.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002927/0.9446, allocations: 399.7 kB / 0.61 GB, free: 74.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01576/0.9603, allocations: 9.687 MB / 0.6194 GB, free: 64.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02494/0.9853, allocations: 14.26 MB / 0.6334 GB, free: 48.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004223/0.9858, allocations: 95.12 kB / 0.6335 GB, free: 48.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002184/0.988, allocations: 51.89 kB / 0.6335 GB, free: 48.77 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002016/0.99, allocations: 1.58 MB / 0.635 GB, free: 47.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3141/1.304, allocations: 73.75 MB / 0.7071 GB, free: 55.49 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007775/1.312, allocations: 5.239 MB / 0.7122 GB, free: 54.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004939/1.317, allocations: 3.773 MB / 0.7159 GB, free: 54.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002164/1.319, allocations: 2.262 MB / 0.7181 GB, free: 52.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.681e-05/1.319, allocations: 68.98 kB / 0.7181 GB, free: 52.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=302): time 6.672e-06/1.319, allocations: 0 / 0.7181 GB, free: 52.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=385): time 0.0945/1.414, allocations: 40.9 MB / 0.7581 GB, free: 43.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/1.414, allocations: 270.9 kB / 0.7583 GB, free: 42.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01117/1.425, allocations: 4.664 MB / 0.7629 GB, free: 41.22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001127/1.426, allocations: 29.2 kB / 0.7629 GB, free: 41.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003355/1.43, allocations: 4.792 MB / 0.7676 GB, free: 37.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001884/1.432, allocations: 1.364 MB / 0.7689 GB, free: 36.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001168/1.433, allocations: 2.906 kB / 0.7689 GB, free: 36.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005261/1.433, allocations: 0.708 MB / 0.7696 GB, free: 36.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004517/1.438, allocations: 3.63 MB / 0.7732 GB, free: 34.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0062/1.444, allocations: 8.934 MB / 0.7819 GB, free: 24.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006652/1.451, allocations: 5.567 MB / 0.7873 GB, free: 20.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-05/1.451, allocations: 52 kB / 0.7874 GB, free: 20.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=1247) (initialization): time 0.02873/1.48, allocations: 15.02 MB / 0.8021 GB, free: 8.473 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001886/1.48, allocations: 84 kB / 0.8021 GB, free: 8.391 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003302/1.48, allocations: 188.9 kB / 0.8023 GB, free: 8.207 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01155/1.492, allocations: 4.003 MB / 0.8062 GB, free: 5.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007386/1.499, allocations: 2.117 MB / 0.8083 GB, free: 3.582 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03287/1.532, allocations: 20.19 MB / 0.828 GB, free: 2.465 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007782/1.54, allocations: 383.4 kB / 0.8284 GB, free: 2.168 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002097/1.542, allocations: 0.543 MB / 0.8289 GB, free: 1.637 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 855 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1127): * Single equations (assignments): 1122 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 45,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002652/1.545, allocations: 0.5848 MB / 0.8295 GB, free: 1.051 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001282/1.546, allocations: 0.5399 MB / 0.83 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02178/1.568, allocations: 9.446 MB / 0.8392 GB, free: 8.246 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.972e-05/1.568, allocations: 47.94 kB / 0.8393 GB, free: 8.199 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.012e-05/1.568, allocations: 17.22 kB / 0.8393 GB, free: 8.184 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001082/1.568, allocations: 15.94 kB / 0.8393 GB, free: 8.168 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04177/1.61, allocations: 18.03 MB / 0.8569 GB, free: 6.012 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.931e-05/1.61, allocations: 4 kB / 0.8569 GB, free: 6.008 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003173/1.613, allocations: 0.5305 MB / 0.8574 GB, free: 5.477 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01232/1.625, allocations: 3.526 MB / 0.8609 GB, free: 1.945 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009084/1.626, allocations: 15.94 kB / 0.8609 GB, free: 1.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02695/1.653, allocations: 17.67 MB / 0.8782 GB, free: 24 kB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.118e-06/1.653, allocations: 4 kB / 0.8782 GB, free: 20 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2565/1.91, allocations: 14.15 MB / 0.892 GB, free: 144 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003272/1.913, allocations: 1.091 MB / 0.893 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001556/1.915, allocations: 7.812 kB / 0.893 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003861/1.919, allocations: 166.2 kB / 0.8932 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008404/1.92, allocations: 241.4 kB / 0.8934 GB, free: 143.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003113/1.92, allocations: 96.27 kB / 0.8935 GB, free: 143.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007107/1.927, allocations: 3.136 MB / 0.8966 GB, free: 143.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.81e-07/1.927, allocations: 0 / 0.8966 GB, free: 143.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01115/1.938, allocations: 1.619 MB / 0.8982 GB, free: 143.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 280 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001127/1.939, allocations: 174.9 kB / 0.8983 GB, free: 143.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0146/1.954, allocations: 9.22 MB / 0.9073 GB, free: 143.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/1.954, allocations: 6.422 kB / 0.9073 GB, free: 143.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005664/1.96, allocations: 3.685 MB / 0.9109 GB, free: 142.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004892/1.965, allocations: 0.5902 MB / 0.9115 GB, free: 142.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02795/1.993, allocations: 13.07 MB / 0.9243 GB, free: 137.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007734/2, allocations: 5.019 MB / 0.9292 GB, free: 136.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007755/2.008, allocations: 2.895 MB / 0.932 GB, free: 136.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001373/2.01, allocations: 367 kB / 0.9324 GB, free: 136.1 MB / 490.7 MB Notification: Performance of SimCode: time 2.294e-06/2.01, allocations: 3.688 kB / 0.9324 GB, free: 136.1 MB / 490.7 MB Notification: Performance of Templates: time 0.1089/2.119, allocations: 68.67 MB / 0.9994 GB, free: 86.95 MB / 490.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) 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","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches