Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,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.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001044/0.001044, allocations: 198.9 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.217/1.217, allocations: 227.2 MB / 245 MB, free: 7.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008754/0.0008754, allocations: 96.42 kB / 297.3 MB, free: 6.172 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2865/0.2865, allocations: 45.23 MB / 394.7 MB, free: 31.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002349/0.0002349, allocations: 8 kB / 468.4 MB, free: 7.715 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3115, allocations: 63.23 MB / 0.5192 GB, free: 43.66 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1263/0.4379, allocations: 108.4 MB / 0.625 GB, free: 13.19 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.4381, allocations: 75.97 kB / 0.6251 GB, free: 13.11 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5025/0.9406, allocations: 122.3 MB / 0.7445 GB, free: 96.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.984e-06/0.9407, allocations: 1.25 kB / 0.7445 GB, free: 96.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003566/0.941, allocations: 112.2 kB / 0.7446 GB, free: 96.1 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: 2101 * Number of variables: 2101 Notification: Performance of Generate backend data structure: time 0.02052/0.9616, allocations: 6.391 MB / 0.7509 GB, free: 93.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.9616, allocations: 13.5 kB / 0.7509 GB, free: 93.57 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0253/0.9869, allocations: 6.955 MB / 0.7577 GB, free: 93.16 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01505/1.002, allocations: 6.056 MB / 0.7636 GB, free: 90.96 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00035/1.002, allocations: 452.7 kB / 0.764 GB, free: 90.78 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002429/1.005, allocations: 0.5931 MB / 0.7646 GB, free: 90.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03139/1.036, allocations: 15.03 MB / 0.7793 GB, free: 83.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001821/1.036, allocations: 79.56 kB / 0.7794 GB, free: 83.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007407/1.037, allocations: 281.1 kB / 0.7796 GB, free: 83.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001353/1.039, allocations: 1.374 MB / 0.781 GB, free: 83 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02302/1.062, allocations: 12.67 MB / 0.7933 GB, free: 79.01 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05819/1.12, allocations: 60.84 MB / 0.8528 GB, free: 17.61 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01294/1.133, allocations: 6.141 MB / 0.8587 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01676/1.15, allocations: 12.85 MB / 0.8713 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.121e-05/1.15, allocations: 56.56 kB / 0.8713 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=228): time 5.53e-06/1.15, allocations: 4 kB / 0.8714 GB, free: 14.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=270): time 0.0709/1.221, allocations: 27.23 MB / 0.8979 GB, free: 2.875 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/1.221, allocations: 214.2 kB / 0.8981 GB, free: 2.625 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2374/1.458, allocations: 4.437 MB / 0.9025 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006376/1.459, allocations: 70.69 kB / 0.9025 GB, free: 117 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003131/1.462, allocations: 4.038 MB / 0.9065 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001175/1.463, allocations: 1.013 MB / 0.9075 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004522/1.464, allocations: 141.9 kB / 0.9076 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003174/1.464, allocations: 0.6095 MB / 0.9082 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003776/1.468, allocations: 3.009 MB / 0.9111 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004963/1.473, allocations: 7.116 MB / 0.9181 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005088/1.478, allocations: 4.533 MB / 0.9225 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.391e-05/1.478, allocations: 40.75 kB / 0.9226 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=939) (initialization): time 0.01615/1.494, allocations: 11.43 MB / 0.9337 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/1.494, allocations: 67.16 kB / 0.9338 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002234/1.495, allocations: 149.1 kB / 0.9339 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003764/1.498, allocations: 1.654 MB / 0.9355 GB, free: 106.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005416/1.504, allocations: 1.658 MB / 0.9372 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01369/1.517, allocations: 11.65 MB / 0.9485 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005994/1.523, allocations: 432.8 kB / 0.949 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001248/1.525, allocations: 431.7 kB / 0.9494 GB, free: 100.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 59 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (867): * Single equations (assignments): 862 * 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.005082/1.53, allocations: 2.813 MB / 0.9521 GB, free: 98.96 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001045/1.531, allocations: 462.3 kB / 0.9526 GB, free: 98.71 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009342/1.54, allocations: 6.07 MB / 0.9585 GB, free: 96.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-05/1.54, allocations: 27.41 kB / 0.9585 GB, free: 96.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/1.54, allocations: 9.719 kB / 0.9585 GB, free: 96.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.979e-05/1.54, allocations: 17.36 kB / 0.9585 GB, free: 96.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01872/1.559, allocations: 13.5 MB / 0.9717 GB, free: 91.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/1.559, allocations: 2.812 kB / 0.9717 GB, free: 91.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001918/1.561, allocations: 448.3 kB / 0.9722 GB, free: 91.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003093/1.564, allocations: 1.413 MB / 0.9735 GB, free: 91.44 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002509/1.564, allocations: 42.16 kB / 0.9736 GB, free: 91.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01127/1.576, allocations: 10.92 MB / 0.9842 GB, free: 85.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/1.576, allocations: 0 / 0.9842 GB, free: 85.58 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01226/1.588, allocations: 9.862 MB / 0.9939 GB, free: 81.59 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/1.59, allocations: 0.5055 MB / 0.9944 GB, free: 81.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008482/1.59, allocations: 43.08 kB / 0.9944 GB, free: 81.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002081/1.592, allocations: 208.8 kB / 0.9946 GB, free: 81.14 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004341/1.593, allocations: 150.5 kB / 0.9947 GB, free: 81.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002022/1.593, allocations: 66.91 kB / 0.9948 GB, free: 81.11 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004146/1.597, allocations: 3.125 MB / 0.9979 GB, free: 80.07 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.81e-07/1.597, allocations: 0 / 0.9979 GB, free: 80.07 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006339/1.604, allocations: 1.424 MB / 0.9992 GB, free: 79.91 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (212): * Single equations (assignments): 207 * 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.0005884/1.604, allocations: 202.3 kB / 0.9994 GB, free: 79.76 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009479/1.614, allocations: 7.508 MB / 1.007 GB, free: 75.29 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/1.614, allocations: 2.734 kB / 1.007 GB, free: 75.29 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004111/1.618, allocations: 3.148 MB / 1.01 GB, free: 72.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002786/1.621, allocations: 0.611 MB / 1.01 GB, free: 72.03 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02066/1.641, allocations: 15.93 MB / 1.026 GB, free: 57.48 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005023/1.646, allocations: 4.489 MB / 1.03 GB, free: 54.14 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005458/1.652, allocations: 2.335 MB / 1.033 GB, free: 52.63 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001155/1.653, allocations: 323.2 kB / 1.033 GB, free: 52.34 MB / 0.5261 GB Notification: Performance of SimCode: time 8.72e-07/1.653, allocations: 0 / 1.033 GB, free: 52.34 MB / 0.5261 GB Notification: Performance of Templates: time 0.07642/1.73, allocations: 54.06 MB / 1.086 GB, free: 2.883 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches