Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001525/0.001525, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 226.5 MB / 245.4 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009362/0.0009362, allocations: 104 kB / 297.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3614/0.3614, allocations: 44.82 MB / 394.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002626/0.0002628, allocations: 8 kB / 467.9 MB, free: 12.04 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.3412, allocations: 62.95 MB / 0.5184 GB, free: 37.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1557/0.497, allocations: 115.6 MB / 0.6313 GB, free: 5.645 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/0.4973, allocations: 87.94 kB / 0.6314 GB, free: 5.562 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6212/1.119, allocations: 138.4 MB / 0.7666 GB, free: 79.03 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.304e-06/1.119, allocations: 0 / 0.7666 GB, free: 79.03 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004839/1.119, allocations: 136 kB / 0.7667 GB, free: 78.9 MB / 490.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.02495/1.144, allocations: 7.383 MB / 0.7739 GB, free: 71.43 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/1.144, allocations: 8.031 kB / 0.7739 GB, free: 71.42 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02534/1.169, allocations: 5.849 MB / 0.7796 GB, free: 65.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01828/1.188, allocations: 7.51 MB / 0.787 GB, free: 57.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005689/1.188, allocations: 485.3 kB / 0.7874 GB, free: 57.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003457/1.192, allocations: 0.6562 MB / 0.7881 GB, free: 56.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0388/1.231, allocations: 16.56 MB / 0.8042 GB, free: 38.81 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005943/1.231, allocations: 103.2 kB / 0.8043 GB, free: 38.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002957/1.234, allocations: 315.8 kB / 0.8046 GB, free: 38.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002254/1.237, allocations: 1.588 MB / 0.8062 GB, free: 36.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02686/1.263, allocations: 13.54 MB / 0.8194 GB, free: 23.25 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3833/1.647, allocations: 74.2 MB / 0.8919 GB, free: 74.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0198/1.667, allocations: 7.723 MB / 0.8994 GB, free: 74.27 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004737/1.671, allocations: 4.031 MB / 0.9033 GB, free: 74.22 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02785/1.699, allocations: 18.5 MB / 0.9214 GB, free: 69.88 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.436e-05/1.699, allocations: 68.38 kB / 0.9215 GB, free: 69.84 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=287): time 6.372e-06/1.699, allocations: 0 / 0.9215 GB, free: 69.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=370): time 0.1613/1.861, allocations: 49.06 MB / 0.9694 GB, free: 60.06 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/1.861, allocations: 271.1 kB / 0.9696 GB, free: 59.77 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009117/1.87, allocations: 6.028 MB / 0.9755 GB, free: 56.61 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001111/1.871, allocations: 81.7 kB / 0.9756 GB, free: 56.52 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00363/1.875, allocations: 4.764 MB / 0.9803 GB, free: 52.24 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002215/1.877, allocations: 1.357 MB / 0.9816 GB, free: 51.04 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00072/1.878, allocations: 187.8 kB / 0.9818 GB, free: 50.86 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004228/1.878, allocations: 0.6985 MB / 0.9824 GB, free: 50.26 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005465/1.884, allocations: 3.775 MB / 0.9861 GB, free: 47.08 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00808/1.892, allocations: 9.015 MB / 0.9949 GB, free: 36.48 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01595/1.908, allocations: 13.85 MB / 1.008 GB, free: 21.76 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002557/1.908, allocations: 52 kB / 1.009 GB, free: 21.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.03697/1.945, allocations: 16.11 MB / 1.024 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002407/1.945, allocations: 87.7 kB / 1.024 GB, free: 8.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003501/1.946, allocations: 180 kB / 1.024 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01325/1.959, allocations: 4.04 MB / 1.028 GB, free: 5.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00774/1.967, allocations: 2.049 MB / 1.03 GB, free: 3.773 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03465/2.001, allocations: 20.98 MB / 1.051 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007834/2.009, allocations: 0.5461 MB / 1.051 GB, free: 14 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001968/2.011, allocations: 0.5195 MB / 1.052 GB, free: 13.48 MB / 0.5573 GB 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.007932/2.019, allocations: 3.124 MB / 1.055 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001654/2.021, allocations: 0.5669 MB / 1.056 GB, free: 9.77 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02363/2.045, allocations: 9.566 MB / 1.065 GB, free: 152 kB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.956e-05/2.045, allocations: 40 kB / 1.065 GB, free: 112 kB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.641e-05/2.045, allocations: 16 kB / 1.065 GB, free: 96 kB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.8e-05/2.045, allocations: 15.94 kB / 1.065 GB, free: 80 kB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04232/2.087, allocations: 19.05 MB / 1.084 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.343e-05/2.087, allocations: 3.984 kB / 1.084 GB, free: 12.92 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002805/2.09, allocations: 0.5032 MB / 1.084 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01205/2.102, allocations: 3.629 MB / 1.088 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006195/2.103, allocations: 60 kB / 1.088 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02967/2.132, allocations: 18.89 MB / 1.106 GB, free: 5.559 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/2.133, allocations: 4 kB / 1.106 GB, free: 5.555 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2849/2.417, allocations: 14.01 MB / 1.12 GB, free: 185 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001998/2.419, allocations: 0.5839 MB / 1.12 GB, free: 184.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001445/2.421, allocations: 59.75 kB / 1.12 GB, free: 184.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002889/2.424, allocations: 227 kB / 1.121 GB, free: 184.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007466/2.425, allocations: 224.9 kB / 1.121 GB, free: 184.9 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002541/2.425, allocations: 87.28 kB / 1.121 GB, free: 184.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.006588/2.431, allocations: 3.764 MB / 1.125 GB, free: 184.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.21e-07/2.431, allocations: 3.125 kB / 1.125 GB, free: 184.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01042/2.442, allocations: 1.851 MB / 1.126 GB, free: 184.7 MB / 0.6042 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 () * 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.001008/2.443, allocations: 229.7 kB / 1.127 GB, free: 184.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0158/2.459, allocations: 9.659 MB / 1.136 GB, free: 184.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/2.459, allocations: 0.9688 kB / 1.136 GB, free: 184.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.006017/2.465, allocations: 3.793 MB / 1.14 GB, free: 183.9 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005754/2.471, allocations: 0.7637 MB / 1.141 GB, free: 183.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0297/2.5, allocations: 18.46 MB / 1.159 GB, free: 177.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007823/2.508, allocations: 4.861 MB / 1.163 GB, free: 175.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.007309/2.516, allocations: 2.812 MB / 1.166 GB, free: 175.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/2.517, allocations: 375.4 kB / 1.166 GB, free: 175.4 MB / 0.6042 GB Notification: Performance of SimCode: time 8.61e-07/2.517, allocations: 3.312 kB / 1.166 GB, free: 175.4 MB / 0.6042 GB Notification: Performance of Templates: time 0.1146/2.631, allocations: 75.03 MB / 1.24 GB, free: 132.7 MB / 0.6042 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches