Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001057, allocations: 198.2 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.191/1.191, allocations: 227.2 MB / 245 MB, free: 7.574 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008019/0.0008018, allocations: 108.5 kB / 297.3 MB, free: 6.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2877/0.2877, allocations: 45.23 MB / 394.7 MB, free: 31.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000256/0.000256, allocations: 8 kB / 468.4 MB, free: 7.789 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.2999, allocations: 63.25 MB / 0.5192 GB, free: 43.67 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1241/0.4241, allocations: 111.8 MB / 0.6284 GB, free: 9.824 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.4243, allocations: 79.95 kB / 0.6284 GB, free: 9.746 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5504/0.9747, allocations: 140.4 MB / 0.7655 GB, free: 91.8 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.444e-06/0.9748, allocations: 0 / 0.7655 GB, free: 91.8 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004901/0.9753, allocations: 146.3 kB / 0.7656 GB, free: 91.8 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2487 * Number of variables: 2487 Notification: Performance of Generate backend data structure: time 0.0242/0.9995, allocations: 7.481 MB / 0.773 GB, free: 88.21 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.9996, allocations: 10.28 kB / 0.773 GB, free: 88.21 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0259/1.025, allocations: 7.193 MB / 0.78 GB, free: 86.17 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01738/1.043, allocations: 6.706 MB / 0.7865 GB, free: 82.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005564/1.043, allocations: 0.5272 MB / 0.787 GB, free: 82.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003828/1.047, allocations: 0.7095 MB / 0.7877 GB, free: 81.85 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04253/1.09, allocations: 17.48 MB / 0.8048 GB, free: 68.34 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005405/1.09, allocations: 83.28 kB / 0.8049 GB, free: 68.26 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003273/1.094, allocations: 343.8 kB / 0.8052 GB, free: 67.92 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002153/1.096, allocations: 1.632 MB / 0.8068 GB, free: 66.29 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02616/1.122, allocations: 14.16 MB / 0.8206 GB, free: 52.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08218/1.204, allocations: 76.52 MB / 0.8954 GB, free: 5.379 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2947/1.499, allocations: 7.926 MB / 0.9031 GB, free: 115 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01846/1.518, allocations: 10.12 MB / 0.913 GB, free: 113.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.47e-05/1.518, allocations: 63.88 kB / 0.9131 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=277): time 5.871e-06/1.518, allocations: 0 / 0.9131 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=319): time 0.08204/1.6, allocations: 33.19 MB / 0.9455 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.037e-05/1.6, allocations: 247.9 kB / 0.9457 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008934/1.609, allocations: 6.294 MB / 0.9519 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007261/1.61, allocations: 72.84 kB / 0.9519 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002693/1.612, allocations: 4.901 MB / 0.9567 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00127/1.614, allocations: 1.202 MB / 0.9579 GB, free: 99.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003656/1.614, allocations: 180.9 kB / 0.9581 GB, free: 99.46 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003471/1.614, allocations: 0.6836 MB / 0.9587 GB, free: 98.99 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004047/1.618, allocations: 3.503 MB / 0.9621 GB, free: 97.82 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006672/1.625, allocations: 8.727 MB / 0.9707 GB, free: 89.66 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006185/1.631, allocations: 5.425 MB / 0.976 GB, free: 87.82 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.708e-05/1.631, allocations: 52.03 kB / 0.976 GB, free: 87.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1168) (initialization): time 0.01971/1.651, allocations: 13.52 MB / 0.9892 GB, free: 83.12 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.535e-05/1.651, allocations: 82.59 kB / 0.9893 GB, free: 83.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001943/1.651, allocations: 183.3 kB / 0.9895 GB, free: 83.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003512/1.655, allocations: 1.706 MB / 0.9911 GB, free: 82.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006337/1.661, allocations: 2.166 MB / 0.9933 GB, free: 82.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01191/1.673, allocations: 11.7 MB / 1.005 GB, free: 75.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007311/1.68, allocations: 0.5 MB / 1.005 GB, free: 75.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/1.682, allocations: 0.5225 MB / 1.006 GB, free: 74.54 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 841 * Number of states: 0 () * Number of discrete variables: 77 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1096): * Single equations (assignments): 1091 * 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%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005453/1.687, allocations: 3.355 MB / 1.009 GB, free: 71.59 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001104/1.688, allocations: 0.5977 MB / 1.01 GB, free: 70.98 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00959/1.698, allocations: 6.723 MB / 1.016 GB, free: 65.54 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.53e-05/1.698, allocations: 32 kB / 1.016 GB, free: 65.51 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-05/1.698, allocations: 12 kB / 1.016 GB, free: 65.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-05/1.698, allocations: 19.66 kB / 1.016 GB, free: 65.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02431/1.722, allocations: 15.75 MB / 1.032 GB, free: 52.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.617e-05/1.722, allocations: 11.66 kB / 1.032 GB, free: 52.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002877/1.725, allocations: 0.624 MB / 1.032 GB, free: 52.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003298/1.728, allocations: 1.421 MB / 1.034 GB, free: 51.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004263/1.729, allocations: 60 kB / 1.034 GB, free: 51.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01182/1.741, allocations: 10.94 MB / 1.044 GB, free: 41.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/1.741, allocations: 11.94 kB / 1.044 GB, free: 41.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01461/1.755, allocations: 12.13 MB / 1.056 GB, free: 29.35 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002618/1.758, allocations: 0.6805 MB / 1.057 GB, free: 28.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008483/1.759, allocations: 52 kB / 1.057 GB, free: 28.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002306/1.761, allocations: 220.7 kB / 1.057 GB, free: 28.38 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005158/1.762, allocations: 201.9 kB / 1.057 GB, free: 28.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002389/1.762, allocations: 80.86 kB / 1.057 GB, free: 28.11 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00651/1.768, allocations: 4.518 MB / 1.062 GB, free: 23.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/1.768, allocations: 0 / 1.062 GB, free: 23.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01001/1.778, allocations: 1.678 MB / 1.063 GB, free: 21.94 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (261): * Single equations (assignments): 256 * 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 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006829/1.779, allocations: 220.3 kB / 1.064 GB, free: 21.72 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01177/1.791, allocations: 8.679 MB / 1.072 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/1.791, allocations: 8.188 kB / 1.072 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004638/1.796, allocations: 3.419 MB / 1.075 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004679/1.8, allocations: 0.7628 MB / 1.076 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03359/1.834, allocations: 18.71 MB / 1.094 GB, free: 6.094 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007771/1.842, allocations: 5.202 MB / 1.1 GB, free: 0.8867 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008024/1.85, allocations: 2.989 MB / 1.102 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001504/1.851, allocations: 403.4 kB / 1.103 GB, free: 13.51 MB / 0.5573 GB Notification: Performance of SimCode: time 1.062e-06/1.851, allocations: 1.969 kB / 1.103 GB, free: 13.51 MB / 0.5573 GB Notification: Performance of Templates: time 0.3698/2.221, allocations: 64.87 MB / 1.166 GB, free: 122.8 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/ForcesAndTorques/ForcesAndTorques.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.ForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches