Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.0015/0.0015, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.876/1.876, allocations: 205.4 MB / 222.5 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.0012/0.0012, allocations: 95.39 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003902, allocations: 12 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3867, allocations: 47.57 MB / 374.5 MB, free: 45.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1667/0.5535, allocations: 103.2 MB / 477.7 MB, free: 9.523 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000348/0.5539, allocations: 91.95 kB / 477.8 MB, free: 9.434 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8141/1.368, allocations: 136.3 MB / 0.5998 GB, free: 14.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.667e-06/1.368, allocations: 0 / 0.5998 GB, free: 14.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005052/1.369, allocations: 135.9 kB / 0.5999 GB, free: 14.83 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.03444/1.403, allocations: 7.663 MB / 0.6074 GB, free: 7.082 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/1.403, allocations: 8.031 kB / 0.6074 GB, free: 7.074 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05718/1.46, allocations: 7.561 MB / 0.6148 GB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03927/1.5, allocations: 9.752 MB / 0.6243 GB, free: 5.656 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008156/1.501, allocations: 488.9 kB / 0.6248 GB, free: 5.176 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004324/1.505, allocations: 0.6596 MB / 0.6254 GB, free: 4.516 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06123/1.566, allocations: 16.72 MB / 0.6417 GB, free: 2.344 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006775/1.567, allocations: 99.11 kB / 0.6418 GB, free: 2.246 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003732/1.571, allocations: 315.8 kB / 0.6421 GB, free: 1.938 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004474/1.575, allocations: 1.588 MB / 0.6437 GB, free: 356 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3633/1.939, allocations: 13.76 MB / 0.6571 GB, free: 63.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1216/2.06, allocations: 74.43 MB / 0.7298 GB, free: 16.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03832/2.099, allocations: 7.736 MB / 0.7374 GB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04701/2.146, allocations: 18.72 MB / 0.7556 GB, free: 4.836 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.076e-05/2.146, allocations: 66.28 kB / 0.7557 GB, free: 4.777 MB / 410.7 MB Notification: Performance of pre-optimization done (n=287): time 7.684e-06/2.146, allocations: 0 / 0.7557 GB, free: 4.777 MB / 410.7 MB Notification: Performance of matching and sorting (n=370): time 0.3162/2.462, allocations: 49.49 MB / 0.804 GB, free: 15.43 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001991/2.462, allocations: 277.7 kB / 0.8043 GB, free: 15.1 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01663/2.479, allocations: 5.408 MB / 0.8096 GB, free: 9.695 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001123/2.48, allocations: 81.7 kB / 0.8097 GB, free: 9.609 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006367/2.487, allocations: 4.561 MB / 0.8141 GB, free: 5.051 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003076/2.49, allocations: 1.355 MB / 0.8154 GB, free: 3.707 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001747/2.491, allocations: 189.7 kB / 0.8156 GB, free: 3.523 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0009985/2.493, allocations: 0.7033 MB / 0.8163 GB, free: 2.809 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3498/2.842, allocations: 3.773 MB / 0.82 GB, free: 108.6 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01452/2.857, allocations: 8.976 MB / 0.8287 GB, free: 102 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01385/2.871, allocations: 5.657 MB / 0.8343 GB, free: 101.9 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000228/2.871, allocations: 54.12 kB / 0.8343 GB, free: 101.9 MB / 458.7 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.05815/2.929, allocations: 15.89 MB / 0.8498 GB, free: 101.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002229/2.93, allocations: 86.97 kB / 0.8499 GB, free: 101.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004505/2.93, allocations: 185.3 kB / 0.8501 GB, free: 101.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02474/2.955, allocations: 4.066 MB / 0.8541 GB, free: 101.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01373/2.969, allocations: 2.041 MB / 0.8561 GB, free: 101 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05561/3.024, allocations: 21.72 MB / 0.8773 GB, free: 93.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01252/3.037, allocations: 0.5456 MB / 0.8778 GB, free: 93.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002625/3.04, allocations: 0.5205 MB / 0.8783 GB, free: 93.53 MB / 458.7 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.01077/3.05, allocations: 3.13 MB / 0.8814 GB, free: 92.21 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002021/3.052, allocations: 0.5762 MB / 0.8819 GB, free: 92.21 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04018/3.093, allocations: 9.566 MB / 0.8913 GB, free: 89.07 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-05/3.093, allocations: 38.02 kB / 0.8913 GB, free: 89.07 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-05/3.093, allocations: 21.25 kB / 0.8913 GB, free: 89.07 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.837e-05/3.093, allocations: 20.83 kB / 0.8914 GB, free: 89.07 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0689/3.162, allocations: 19.07 MB / 0.91 GB, free: 78.63 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.056e-05/3.162, allocations: 0 / 0.91 GB, free: 78.63 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005072/3.167, allocations: 0.5042 MB / 0.9105 GB, free: 78.22 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0223/3.189, allocations: 3.626 MB / 0.914 GB, free: 75.88 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009898/3.19, allocations: 59.23 kB / 0.9141 GB, free: 75.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04762/3.238, allocations: 19.64 MB / 0.9332 GB, free: 59.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/3.238, allocations: 3.938 kB / 0.9332 GB, free: 59.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04593/3.284, allocations: 14.12 MB / 0.947 GB, free: 47.67 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004462/3.289, allocations: 1.127 MB / 0.9481 GB, free: 46.52 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001702/3.29, allocations: 60 kB / 0.9482 GB, free: 46.46 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005394/3.296, allocations: 223.7 kB / 0.9484 GB, free: 46.25 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001108/3.297, allocations: 230 kB / 0.9486 GB, free: 46.02 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003974/3.297, allocations: 91.98 kB / 0.9487 GB, free: 45.93 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.008874/3.306, allocations: 3.804 MB / 0.9524 GB, free: 42.13 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.91e-07/3.306, allocations: 0 / 0.9524 GB, free: 42.13 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0119/3.318, allocations: 1.851 MB / 0.9542 GB, free: 40.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 (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.001091/3.319, allocations: 235.9 kB / 0.9545 GB, free: 40.07 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.023/3.342, allocations: 9.667 MB / 0.9639 GB, free: 30.39 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/3.342, allocations: 4.062 kB / 0.9639 GB, free: 30.39 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008943/3.351, allocations: 3.792 MB / 0.9676 GB, free: 26.56 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005733/3.357, allocations: 0.7217 MB / 0.9683 GB, free: 25.86 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3763/3.733, allocations: 19.17 MB / 0.987 GB, free: 92.39 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0134/3.747, allocations: 5.022 MB / 0.9919 GB, free: 91.53 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002821/3.75, allocations: 447.4 kB / 0.9924 GB, free: 91.52 MB / 458.7 MB Notification: Performance of SimCode: time 1.663e-06/3.75, allocations: 0.5625 kB / 0.9924 GB, free: 91.52 MB / 458.7 MB Notification: Performance of Templates: time 0.2817/4.032, allocations: 146.2 MB / 1.135 GB, free: 1.008 MB / 458.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches