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.0009941/0.0009941, allocations: 187.3 kB / 18.04 MB, free: 3.652 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.444/1.444, allocations: 205.4 MB / 224.2 MB, free: 9.027 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.000889/0.0008889, allocations: 74.45 kB / 272.5 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002987/0.0002989, allocations: 8 kB / 329.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2239, allocations: 47.58 MB / 377 MB, free: 45.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1153/0.3393, allocations: 103.4 MB / 480.4 MB, free: 9.094 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.3396, allocations: 87.95 kB / 480.5 MB, free: 9.008 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5322/0.8718, allocations: 133.7 MB / 0.5998 GB, free: 17.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.659e-06/0.8719, allocations: 7.984 kB / 0.5998 GB, free: 17.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004886/0.8724, allocations: 132 kB / 0.6 GB, free: 16.89 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.02469/0.8971, allocations: 7.382 MB / 0.6072 GB, free: 9.414 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.8971, allocations: 12.03 kB / 0.6072 GB, free: 9.402 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02531/0.9225, allocations: 5.853 MB / 0.6129 GB, free: 3.531 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02001/0.9425, allocations: 8.408 MB / 0.6211 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005936/0.9432, allocations: 489.3 kB / 0.6216 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003474/0.9467, allocations: 0.6562 MB / 0.6222 GB, free: 9.902 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04178/0.9885, allocations: 16.55 MB / 0.6384 GB, free: 7.898 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006019/0.9891, allocations: 103.2 kB / 0.6385 GB, free: 7.797 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003147/0.9923, allocations: 315.8 kB / 0.6388 GB, free: 7.488 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002909/0.9952, allocations: 1.584 MB / 0.6403 GB, free: 5.902 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2375/1.233, allocations: 13.54 MB / 0.6536 GB, free: 63.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08131/1.314, allocations: 74.28 MB / 0.7261 GB, free: 18.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01942/1.334, allocations: 7.735 MB / 0.7336 GB, free: 16.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005206/1.339, allocations: 4.018 MB / 0.7376 GB, free: 14.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02896/1.368, allocations: 18.55 MB / 0.7557 GB, free: 4.914 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.78e-05/1.368, allocations: 73.25 kB / 0.7558 GB, free: 4.848 MB / 410.7 MB Notification: Performance of pre-optimization done (n=287): time 6.021e-06/1.368, allocations: 0 / 0.7558 GB, free: 4.848 MB / 410.7 MB Notification: Performance of matching and sorting (n=370): time 0.1756/1.543, allocations: 50.03 MB / 0.8046 GB, free: 1.988 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001615/1.544, allocations: 273.7 kB / 0.8049 GB, free: 1.664 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2108/1.755, allocations: 6.09 MB / 0.8108 GB, free: 96.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008879/1.755, allocations: 83.36 kB / 0.8109 GB, free: 96.95 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003358/1.759, allocations: 4.773 MB / 0.8156 GB, free: 95.65 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001614/1.76, allocations: 1.359 MB / 0.8169 GB, free: 94.85 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001125/1.762, allocations: 192.1 kB / 0.8171 GB, free: 94.85 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007579/1.762, allocations: 0.6971 MB / 0.8178 GB, free: 94.53 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005695/1.768, allocations: 3.772 MB / 0.8214 GB, free: 94.5 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009179/1.777, allocations: 9.014 MB / 0.8302 GB, free: 87.85 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01602/1.793, allocations: 13.84 MB / 0.8438 GB, free: 81.21 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004261/1.794, allocations: 53.09 kB / 0.8438 GB, free: 81.21 MB / 442.7 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.03444/1.828, allocations: 16.13 MB / 0.8596 GB, free: 77.25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002736/1.829, allocations: 83.66 kB / 0.8596 GB, free: 77.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003257/1.829, allocations: 185.1 kB / 0.8598 GB, free: 77.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0122/1.841, allocations: 4.042 MB / 0.8638 GB, free: 76.66 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006995/1.848, allocations: 2.05 MB / 0.8658 GB, free: 76.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02847/1.877, allocations: 20.98 MB / 0.8863 GB, free: 67.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00793/1.885, allocations: 0.5496 MB / 0.8868 GB, free: 66.86 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001735/1.886, allocations: 0.5239 MB / 0.8873 GB, free: 66.79 MB / 442.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.007426/1.894, allocations: 3.131 MB / 0.8904 GB, free: 65.35 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001478/1.895, allocations: 0.5793 MB / 0.8909 GB, free: 65.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01995/1.915, allocations: 9.563 MB / 0.9003 GB, free: 57.7 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.47e-05/1.915, allocations: 40 kB / 0.9003 GB, free: 57.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.994e-05/1.915, allocations: 20 kB / 0.9003 GB, free: 57.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.707e-05/1.915, allocations: 17.34 kB / 0.9003 GB, free: 57.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03766/1.953, allocations: 19.08 MB / 0.919 GB, free: 42.53 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.89e-05/1.953, allocations: 0 / 0.919 GB, free: 42.53 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002883/1.956, allocations: 0.5054 MB / 0.9195 GB, free: 42.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01158/1.968, allocations: 3.626 MB / 0.923 GB, free: 39.74 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007818/1.969, allocations: 64.5 kB / 0.9231 GB, free: 39.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02534/1.994, allocations: 18.87 MB / 0.9415 GB, free: 23.52 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.994, allocations: 7.625 kB / 0.9415 GB, free: 23.51 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02491/2.019, allocations: 14.01 MB / 0.9552 GB, free: 9.434 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00334/2.022, allocations: 1.126 MB / 0.9563 GB, free: 8.281 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001725/2.024, allocations: 67.94 kB / 0.9563 GB, free: 8.215 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003565/2.028, allocations: 221.7 kB / 0.9566 GB, free: 8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008613/2.029, allocations: 226.1 kB / 0.9568 GB, free: 7.777 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003371/2.029, allocations: 91.98 kB / 0.9569 GB, free: 7.688 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007282/2.036, allocations: 3.8 MB / 0.9606 GB, free: 3.895 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.62e-07/2.036, allocations: 0 / 0.9606 GB, free: 3.895 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01126/2.047, allocations: 1.857 MB / 0.9624 GB, free: 2.047 MB / 442.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.00123/2.049, allocations: 229.6 kB / 0.9626 GB, free: 1.828 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2107/2.259, allocations: 9.662 MB / 0.972 GB, free: 103 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/2.259, allocations: 3.094 kB / 0.972 GB, free: 103 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00636/2.266, allocations: 3.79 MB / 0.9757 GB, free: 102.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007078/2.273, allocations: 0.7651 MB / 0.9765 GB, free: 102.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03154/2.305, allocations: 18.51 MB / 0.9946 GB, free: 96.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009287/2.314, allocations: 4.881 MB / 0.9993 GB, free: 95.16 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008799/2.323, allocations: 2.812 MB / 1.002 GB, free: 95.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001663/2.324, allocations: 380.2 kB / 1.002 GB, free: 95.09 MB / 458.7 MB Notification: Performance of SimCode: time 7.32e-07/2.324, allocations: 0 / 1.002 GB, free: 95.09 MB / 458.7 MB Notification: Performance of Templates: time 0.1261/2.451, allocations: 75.2 MB / 1.076 GB, free: 56.97 MB / 458.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/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_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches