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.000932/0.0009321, allocations: 180.9 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.275/1.275, allocations: 205.4 MB / 223.1 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009075/0.0009074, allocations: 84.19 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002271/0.0002272, allocations: 4 kB / 328.2 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2478, allocations: 47.57 MB / 375.8 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1409/0.3887, allocations: 103.2 MB / 479 MB, free: 9.418 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003328/0.3891, allocations: 95.94 kB / 479.1 MB, free: 9.324 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4881/0.8772, allocations: 136.3 MB / 0.601 GB, free: 14.83 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.8773, allocations: 0 / 0.601 GB, free: 14.83 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004989/0.8778, allocations: 132 kB / 0.6011 GB, free: 14.7 MB / 378.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.0288/0.9066, allocations: 7.667 MB / 0.6086 GB, free: 6.945 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.9067, allocations: 8.031 kB / 0.6086 GB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0312/0.9379, allocations: 7.557 MB / 0.616 GB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02921/0.9671, allocations: 9.748 MB / 0.6255 GB, free: 5.527 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006125/0.9678, allocations: 492.9 kB / 0.626 GB, free: 5.043 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003746/0.9716, allocations: 0.6558 MB / 0.6266 GB, free: 4.387 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04493/1.017, allocations: 16.72 MB / 0.643 GB, free: 2.211 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005951/1.017, allocations: 99.11 kB / 0.6431 GB, free: 2.113 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003405/1.021, allocations: 315.8 kB / 0.6434 GB, free: 1.805 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003409/1.024, allocations: 1.588 MB / 0.6449 GB, free: 220 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.493/1.517, allocations: 13.77 MB / 0.6584 GB, free: 62.01 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09206/1.609, allocations: 74.43 MB / 0.731 GB, free: 15.73 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02137/1.631, allocations: 7.74 MB / 0.7386 GB, free: 13.4 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0276/1.658, allocations: 18.71 MB / 0.7569 GB, free: 3.664 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.782e-05/1.658, allocations: 72.17 kB / 0.7569 GB, free: 3.605 MB / 410.8 MB Notification: Performance of pre-optimization done (n=287): time 6.291e-06/1.658, allocations: 0 / 0.7569 GB, free: 3.605 MB / 410.8 MB Notification: Performance of matching and sorting (n=370): time 0.1761/1.834, allocations: 50.03 MB / 0.8058 GB, free: 14.03 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001526/1.835, allocations: 273.8 kB / 0.8061 GB, free: 13.71 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009637/1.844, allocations: 5.408 MB / 0.8113 GB, free: 8.301 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009141/1.845, allocations: 81.7 kB / 0.8114 GB, free: 8.215 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004382/1.85, allocations: 4.769 MB / 0.8161 GB, free: 3.445 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002386/1.852, allocations: 1.367 MB / 0.8174 GB, free: 2.09 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007965/1.853, allocations: 184 kB / 0.8176 GB, free: 1.91 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0006351/1.854, allocations: 0.6908 MB / 0.8183 GB, free: 1.211 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2379/2.091, allocations: 3.775 MB / 0.8219 GB, free: 107.9 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008073/2.1, allocations: 8.98 MB / 0.8307 GB, free: 101.2 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008122/2.108, allocations: 5.646 MB / 0.8362 GB, free: 101.1 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001962/2.108, allocations: 52.5 kB / 0.8363 GB, free: 101.1 MB / 458.8 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.03479/2.143, allocations: 16.13 MB / 0.852 GB, free: 100.4 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000179/2.143, allocations: 86.75 kB / 0.8521 GB, free: 100.4 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000303/2.143, allocations: 184.2 kB / 0.8523 GB, free: 100.4 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01323/2.157, allocations: 4.06 MB / 0.8563 GB, free: 100.4 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007654/2.164, allocations: 2.046 MB / 0.8583 GB, free: 100.2 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03119/2.195, allocations: 21.72 MB / 0.8795 GB, free: 92.43 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00847/2.204, allocations: 0.5466 MB / 0.88 GB, free: 92.28 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001728/2.206, allocations: 0.5269 MB / 0.8805 GB, free: 92.21 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * 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 (1088): * Single equations (assignments): 1083 * 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%) 44,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006532/2.212, allocations: 3.124 MB / 0.8836 GB, free: 90.89 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001389/2.214, allocations: 0.5745 MB / 0.8841 GB, free: 90.89 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02148/2.235, allocations: 9.57 MB / 0.8935 GB, free: 87.75 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.239e-05/2.235, allocations: 39.72 kB / 0.8935 GB, free: 87.75 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.753e-05/2.235, allocations: 15.34 kB / 0.8935 GB, free: 87.75 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.142e-05/2.235, allocations: 17.59 kB / 0.8935 GB, free: 87.75 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04157/2.277, allocations: 19.07 MB / 0.9122 GB, free: 75.5 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.249e-05/2.277, allocations: 0 / 0.9122 GB, free: 75.5 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002658/2.28, allocations: 0.5142 MB / 0.9127 GB, free: 75.07 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01195/2.292, allocations: 3.614 MB / 0.9162 GB, free: 72.74 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008509/2.293, allocations: 68.5 kB / 0.9163 GB, free: 72.68 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02719/2.32, allocations: 19.63 MB / 0.9354 GB, free: 56.06 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/2.32, allocations: 7.938 kB / 0.9354 GB, free: 56.05 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02694/2.347, allocations: 14.12 MB / 0.9492 GB, free: 44.33 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004053/2.351, allocations: 1.124 MB / 0.9503 GB, free: 43.19 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001937/2.353, allocations: 59.98 kB / 0.9504 GB, free: 43.13 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004301/2.357, allocations: 219.7 kB / 0.9506 GB, free: 42.91 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001134/2.358, allocations: 230 kB / 0.9508 GB, free: 42.69 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005587/2.359, allocations: 90.09 kB / 0.9509 GB, free: 42.6 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.007672/2.367, allocations: 3.808 MB / 0.9546 GB, free: 38.8 MB / 458.8 MB Notification: Performance of sort global known variables: time 5.31e-07/2.367, allocations: 0 / 0.9546 GB, free: 38.8 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01106/2.378, allocations: 1.85 MB / 0.9564 GB, free: 36.96 MB / 458.8 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 (270): * Single equations (assignments): 265 * 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.001161/2.379, allocations: 234.4 kB / 0.9566 GB, free: 36.75 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01664/2.396, allocations: 9.669 MB / 0.9661 GB, free: 27.06 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/2.396, allocations: 0 / 0.9661 GB, free: 27.06 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006171/2.402, allocations: 3.792 MB / 0.9698 GB, free: 23.23 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004837/2.407, allocations: 0.7274 MB / 0.9705 GB, free: 22.53 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2446/2.651, allocations: 18.43 MB / 0.9885 GB, free: 93.03 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006572/2.658, allocations: 5.021 MB / 0.9934 GB, free: 92.16 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.00924/2.667, allocations: 2.816 MB / 0.9962 GB, free: 92.1 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00237/2.67, allocations: 379.9 kB / 0.9965 GB, free: 92.09 MB / 458.8 MB Notification: Performance of SimCode: time 1.453e-06/2.67, allocations: 0.5 kB / 0.9965 GB, free: 92.09 MB / 458.8 MB Notification: Performance of Templates: time 0.1871/2.857, allocations: 74.95 MB / 1.07 GB, free: 68.79 MB / 458.8 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