Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 221.3 MB / 235.5 MB, free: 2.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009127/0.0009127, allocations: 101.8 kB / 286.5 MB, free: 212 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.513e-05/2.517e-05, allocations: 0 / 343.8 MB, free: 4.301 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1022, allocations: 50.41 MB / 394.2 MB, free: 1.844 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3203/0.4225, allocations: 104.9 MB / 499.1 MB, free: 14.61 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.4229, allocations: 87.78 kB / 499.2 MB, free: 14.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6143/1.037, allocations: 137.9 MB / 0.6222 GB, free: 82.81 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.174e-06/1.037, allocations: 0 / 0.6222 GB, free: 82.81 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002719/1.038, allocations: 136 kB / 0.6223 GB, free: 82.68 MB / 426.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.02216/1.06, allocations: 7.034 MB / 0.6292 GB, free: 75.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.586e-05/1.06, allocations: 11.97 kB / 0.6292 GB, free: 75.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03096/1.091, allocations: 7.565 MB / 0.6366 GB, free: 67.97 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02057/1.111, allocations: 9.088 MB / 0.6454 GB, free: 58.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003185/1.112, allocations: 492.9 kB / 0.6459 GB, free: 58.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002169/1.114, allocations: 0.652 MB / 0.6465 GB, free: 57.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03188/1.146, allocations: 16.58 MB / 0.6627 GB, free: 39.62 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004712/1.146, allocations: 103 kB / 0.6628 GB, free: 39.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00277/1.149, allocations: 311.8 kB / 0.6631 GB, free: 39.22 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002007/1.151, allocations: 1.58 MB / 0.6647 GB, free: 37.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02549/1.177, allocations: 13.51 MB / 0.6779 GB, free: 24.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.341/1.518, allocations: 74.33 MB / 0.7505 GB, free: 44.69 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02227/1.54, allocations: 7.695 MB / 0.758 GB, free: 44 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005402/1.545, allocations: 3.979 MB / 0.7619 GB, free: 43.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02438/1.57, allocations: 18.65 MB / 0.7801 GB, free: 38.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/1.57, allocations: 59.78 kB / 0.7801 GB, free: 38.61 MB / 442.7 MB Notification: Performance of pre-optimization done (n=287): time 5.961e-06/1.57, allocations: 2.719 kB / 0.7801 GB, free: 38.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=370): time 0.1079/1.678, allocations: 38.74 MB / 0.818 GB, free: 28 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/1.678, allocations: 272.3 kB / 0.8182 GB, free: 27.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008588/1.687, allocations: 5.263 MB / 0.8234 GB, free: 23.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001043/1.688, allocations: 82.25 kB / 0.8234 GB, free: 22.99 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002745/1.69, allocations: 4.76 MB / 0.8281 GB, free: 18.71 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001777/1.692, allocations: 1.366 MB / 0.8294 GB, free: 17.51 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005191/1.693, allocations: 189 kB / 0.8296 GB, free: 17.32 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004087/1.693, allocations: 0.6958 MB / 0.8303 GB, free: 16.73 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004652/1.698, allocations: 3.666 MB / 0.8339 GB, free: 13.42 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006301/1.704, allocations: 8.863 MB / 0.8425 GB, free: 2.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00982/1.714, allocations: 5.788 MB / 0.8482 GB, free: 14.58 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001407/1.714, allocations: 52 kB / 0.8482 GB, free: 14.53 MB / 458.7 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.03527/1.749, allocations: 15.87 MB / 0.8637 GB, free: 1.82 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001381/1.75, allocations: 87.95 kB / 0.8638 GB, free: 1.734 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003033/1.75, allocations: 187.1 kB / 0.864 GB, free: 1.555 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0128/1.763, allocations: 4.019 MB / 0.8679 GB, free: 14.28 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007538/1.77, allocations: 2.037 MB / 0.8699 GB, free: 12.24 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03223/1.803, allocations: 20.8 MB / 0.8902 GB, free: 7.203 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009126/1.812, allocations: 0.5423 MB / 0.8907 GB, free: 6.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002275/1.814, allocations: 0.5234 MB / 0.8912 GB, free: 6.137 MB / 490.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 () * 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.00208/1.816, allocations: 0.8048 MB / 0.892 GB, free: 5.328 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001676/1.818, allocations: 0.5707 MB / 0.8926 GB, free: 4.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2774/2.095, allocations: 9.444 MB / 0.9018 GB, free: 129.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.319e-05/2.095, allocations: 39.47 kB / 0.9018 GB, free: 129.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-05/2.095, allocations: 15.88 kB / 0.9019 GB, free: 129.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.491e-05/2.096, allocations: 16.97 kB / 0.9019 GB, free: 129.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04027/2.136, allocations: 18.92 MB / 0.9204 GB, free: 128.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.083e-05/2.136, allocations: 3.625 kB / 0.9204 GB, free: 128.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002762/2.139, allocations: 0.5074 MB / 0.9209 GB, free: 128.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01069/2.149, allocations: 3.572 MB / 0.9243 GB, free: 128.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006573/2.15, allocations: 62.28 kB / 0.9244 GB, free: 128.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02404/2.174, allocations: 18.7 MB / 0.9427 GB, free: 122.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/2.174, allocations: 5.469 kB / 0.9427 GB, free: 122.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02288/2.197, allocations: 13.95 MB / 0.9563 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001931/2.199, allocations: 0.587 MB / 0.9569 GB, free: 117.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001013/2.2, allocations: 57 kB / 0.9569 GB, free: 117.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002777/2.203, allocations: 222.2 kB / 0.9571 GB, free: 117.3 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006867/2.204, allocations: 232.5 kB / 0.9574 GB, free: 117.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002628/2.204, allocations: 90.2 kB / 0.9575 GB, free: 117.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005505/2.209, allocations: 3.675 MB / 0.961 GB, free: 116 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.1e-07/2.209, allocations: 0 / 0.961 GB, free: 116 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007046/2.216, allocations: 1.854 MB / 0.9628 GB, free: 115.8 MB / 490.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 () * 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.0006668/2.217, allocations: 230.8 kB / 0.9631 GB, free: 115.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01248/2.23, allocations: 9.488 MB / 0.9723 GB, free: 111.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/2.23, allocations: 2.188 kB / 0.9723 GB, free: 111.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004657/2.234, allocations: 3.727 MB / 0.976 GB, free: 108 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003725/2.238, allocations: 0.7231 MB / 0.9767 GB, free: 107.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01978/2.258, allocations: 13.14 MB / 0.9895 GB, free: 95.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004382/2.262, allocations: 4.995 MB / 0.9944 GB, free: 92.29 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006457/2.269, allocations: 2.809 MB / 0.9971 GB, free: 90.63 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/2.27, allocations: 389.2 kB / 0.9975 GB, free: 90.27 MB / 490.7 MB Notification: Performance of SimCode: time 7.71e-07/2.27, allocations: 0 / 0.9975 GB, free: 90.27 MB / 490.7 MB Notification: Performance of Templates: time 0.4131/2.683, allocations: 74.44 MB / 1.07 GB, free: 121.9 MB / 490.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches