Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001885/0.001885, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 225.4 MB / 240.1 MB, free: 15.1 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009229/0.000923, allocations: 97.28 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.69e-05/4.701e-05, allocations: 4 kB / 350.5 MB, free: 2.547 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1064, allocations: 51.48 MB / 402 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3957/0.5022, allocations: 105.5 MB / 0.4956 GB, free: 224 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.5025, allocations: 90.19 kB / 0.4957 GB, free: 180 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6266/1.129, allocations: 143.1 MB / 0.6355 GB, free: 76.88 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.865e-06/1.129, allocations: 0 / 0.6355 GB, free: 76.88 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000523/1.13, allocations: 130.9 kB / 0.6356 GB, free: 76.88 MB / 442.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.02595/1.156, allocations: 7.07 MB / 0.6425 GB, free: 74.26 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/1.156, allocations: 9.719 kB / 0.6425 GB, free: 74.26 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03111/1.187, allocations: 7.564 MB / 0.6499 GB, free: 73.77 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02182/1.209, allocations: 8.209 MB / 0.658 GB, free: 71.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004854/1.209, allocations: 491.1 kB / 0.6584 GB, free: 71.06 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003613/1.213, allocations: 0.6526 MB / 0.6591 GB, free: 70.87 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03838/1.251, allocations: 16.58 MB / 0.6752 GB, free: 60.61 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003875/1.252, allocations: 103.7 kB / 0.6753 GB, free: 60.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001997/1.254, allocations: 315.4 kB / 0.6756 GB, free: 60.38 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001998/1.256, allocations: 1.586 MB / 0.6772 GB, free: 59.83 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0282/1.284, allocations: 13.52 MB / 0.6904 GB, free: 46.31 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3989/1.683, allocations: 74.32 MB / 0.763 GB, free: 39.07 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02051/1.704, allocations: 7.683 MB / 0.7705 GB, free: 38.39 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004871/1.708, allocations: 3.986 MB / 0.7744 GB, free: 38.34 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02716/1.736, allocations: 18.64 MB / 0.7926 GB, free: 34 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.276e-05/1.736, allocations: 65 kB / 0.7926 GB, free: 33.96 MB / 458.7 MB Notification: Performance of pre-optimization done (n=287): time 6.282e-06/1.736, allocations: 0 / 0.7926 GB, free: 33.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=370): time 0.1223/1.858, allocations: 38.75 MB / 0.8305 GB, free: 25.92 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.537e-05/1.858, allocations: 274.7 kB / 0.8307 GB, free: 25.64 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009143/1.867, allocations: 5.257 MB / 0.8359 GB, free: 23.72 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009185/1.868, allocations: 82.77 kB / 0.836 GB, free: 23.64 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002937/1.871, allocations: 4.765 MB / 0.8406 GB, free: 19.96 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001855/1.873, allocations: 1.361 MB / 0.8419 GB, free: 18.96 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007284/1.874, allocations: 187.9 kB / 0.8421 GB, free: 18.82 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004236/1.874, allocations: 0.695 MB / 0.8428 GB, free: 18.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004815/1.879, allocations: 3.666 MB / 0.8464 GB, free: 17.07 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0076/1.887, allocations: 8.87 MB / 0.855 GB, free: 8.855 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007741/1.895, allocations: 5.587 MB / 0.8605 GB, free: 7.066 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000127/1.895, allocations: 51.22 kB / 0.8605 GB, free: 7.066 MB / 458.7 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.03556/1.93, allocations: 15.91 MB / 0.8761 GB, free: 13.6 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003298/1.931, allocations: 80 kB / 0.8762 GB, free: 13.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004964/1.931, allocations: 184.6 kB / 0.8763 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01343/1.945, allocations: 4.019 MB / 0.8803 GB, free: 10.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00787/1.952, allocations: 2.047 MB / 0.8823 GB, free: 8.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03364/1.986, allocations: 20.86 MB / 0.9026 GB, free: 7.09 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009427/1.996, allocations: 0.5484 MB / 0.9032 GB, free: 6.621 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002297/1.998, allocations: 0.5344 MB / 0.9037 GB, free: 6.102 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.002314/2, allocations: 0.8019 MB / 0.9045 GB, free: 5.301 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001474/2.002, allocations: 0.5702 MB / 0.905 GB, free: 4.727 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02207/2.024, allocations: 9.453 MB / 0.9143 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.85e-05/2.024, allocations: 40 kB / 0.9143 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.976e-05/2.024, allocations: 16 kB / 0.9143 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.96e-05/2.024, allocations: 15.94 kB / 0.9143 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04174/2.066, allocations: 18.93 MB / 0.9328 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.547e-05/2.066, allocations: 7.938 kB / 0.9328 GB, free: 8.801 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002784/2.069, allocations: 0.5032 MB / 0.9333 GB, free: 8.297 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01187/2.081, allocations: 3.571 MB / 0.9368 GB, free: 4.719 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008014/2.081, allocations: 61.28 kB / 0.9369 GB, free: 4.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3336/2.415, allocations: 18.7 MB / 0.9551 GB, free: 134 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.982e-06/2.415, allocations: 4.156 kB / 0.9551 GB, free: 134 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02784/2.443, allocations: 13.95 MB / 0.9687 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002492/2.446, allocations: 0.5834 MB / 0.9693 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002539/2.448, allocations: 65.41 kB / 0.9694 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006494/2.455, allocations: 221 kB / 0.9696 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001616/2.456, allocations: 225.2 kB / 0.9698 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007423/2.457, allocations: 88.5 kB / 0.9699 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01471/2.472, allocations: 3.679 MB / 0.9735 GB, free: 133 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.152e-06/2.472, allocations: 0 / 0.9735 GB, free: 133 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01742/2.489, allocations: 1.85 MB / 0.9753 GB, free: 133 MB / 0.5105 GB 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.001668/2.491, allocations: 234.8 kB / 0.9755 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02834/2.519, allocations: 9.491 MB / 0.9848 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/2.519, allocations: 3.906 kB / 0.9848 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0108/2.53, allocations: 3.729 MB / 0.9884 GB, free: 129 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007559/2.538, allocations: 0.7177 MB / 0.9891 GB, free: 128.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04567/2.584, allocations: 13.13 MB / 1.002 GB, free: 124.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01021/2.594, allocations: 4.999 MB / 1.007 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01471/2.609, allocations: 2.811 MB / 1.01 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002557/2.611, allocations: 376.9 kB / 1.01 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.142e-06/2.611, allocations: 0 / 1.01 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.2167/2.828, allocations: 74.47 MB / 1.083 GB, free: 76.81 MB / 0.5105 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.makefile (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches