Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,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_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001112/0.001112, allocations: 193.9 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.258/1.258, allocations: 226.5 MB / 244.1 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007978/0.0007978, allocations: 98.88 kB / 296.1 MB, free: 6.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3341/0.3341, allocations: 44.82 MB / 392.9 MB, free: 35.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003356, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.296, allocations: 62.96 MB / 0.5165 GB, free: 37.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1383/0.4344, allocations: 110.5 MB / 0.6244 GB, free: 10.83 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.4347, allocations: 83.95 kB / 0.6245 GB, free: 10.75 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5081/0.9428, allocations: 127 MB / 0.7485 GB, free: 89.23 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.9429, allocations: 0 / 0.7485 GB, free: 89.23 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002904/0.9432, allocations: 130.6 kB / 0.7486 GB, free: 89.22 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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.01975/0.9629, allocations: 6.533 MB / 0.755 GB, free: 84.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.963, allocations: 11.83 kB / 0.755 GB, free: 84.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02103/0.984, allocations: 5.406 MB / 0.7603 GB, free: 81.93 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01426/0.9983, allocations: 5.642 MB / 0.7658 GB, free: 77.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000439/0.9988, allocations: 480.9 kB / 0.7663 GB, free: 76.94 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002774/1.002, allocations: 0.6212 MB / 0.7669 GB, free: 76.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03002/1.032, allocations: 15.58 MB / 0.7821 GB, free: 59.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002863/1.032, allocations: 87.36 kB / 0.7822 GB, free: 59.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001521/1.034, allocations: 307.8 kB / 0.7825 GB, free: 59 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001545/1.035, allocations: 1.416 MB / 0.7839 GB, free: 57.59 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0236/1.059, allocations: 12.77 MB / 0.7963 GB, free: 44.79 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06655/1.125, allocations: 66.86 MB / 0.8616 GB, free: 7.918 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01516/1.141, allocations: 6.233 MB / 0.8677 GB, free: 1.523 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004218/1.145, allocations: 3.375 MB / 0.871 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01318/1.158, allocations: 7.931 MB / 0.8787 GB, free: 6.098 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.529e-05/1.158, allocations: 68.14 kB / 0.8788 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=227): time 4.849e-06/1.158, allocations: 0 / 0.8788 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of matching and sorting (n=269): time 0.3078/1.466, allocations: 28.03 MB / 0.9062 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.125e-05/1.466, allocations: 239.6 kB / 0.9064 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01224/1.478, allocations: 6.375 MB / 0.9126 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006454/1.479, allocations: 63.23 kB / 0.9127 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00348/1.482, allocations: 4.431 MB / 0.917 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001346/1.484, allocations: 1.025 MB / 0.918 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006264/1.484, allocations: 159.5 kB / 0.9182 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004686/1.485, allocations: 0.6447 MB / 0.9188 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005294/1.49, allocations: 3.127 MB / 0.9219 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007194/1.497, allocations: 7.839 MB / 0.9295 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01135/1.509, allocations: 11.91 MB / 0.9411 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001546/1.509, allocations: 46.62 kB / 0.9412 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1032) (initialization): time 0.02157/1.531, allocations: 12.21 MB / 0.9531 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/1.531, allocations: 76.16 kB / 0.9532 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000212/1.531, allocations: 166.2 kB / 0.9533 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003659/1.535, allocations: 1.659 MB / 0.955 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006413/1.541, allocations: 1.859 MB / 0.9568 GB, free: 100 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/1.553, allocations: 11.39 MB / 0.9679 GB, free: 93.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007177/1.56, allocations: 469.5 kB / 0.9684 GB, free: 93.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001511/1.562, allocations: 484.7 kB / 0.9688 GB, free: 93.72 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 755 * Number of states: 0 () * Number of discrete variables: 65 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],fixed2.color[3],fixed2.color[2],fixed2.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 (960): * Single equations (assignments): 955 * 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.005831/1.568, allocations: 2.999 MB / 0.9717 GB, free: 92.34 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00118/1.569, allocations: 0.5504 MB / 0.9723 GB, free: 91.85 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009161/1.578, allocations: 6.063 MB / 0.9782 GB, free: 86.99 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.718e-05/1.578, allocations: 30.77 kB / 0.9782 GB, free: 86.96 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/1.578, allocations: 8 kB / 0.9782 GB, free: 86.96 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.874e-05/1.578, allocations: 15.94 kB / 0.9783 GB, free: 86.95 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02213/1.6, allocations: 13.65 MB / 0.9916 GB, free: 75.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-05/1.6, allocations: 4 kB / 0.9916 GB, free: 75.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002285/1.603, allocations: 495 kB / 0.9921 GB, free: 75.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003137/1.606, allocations: 1.42 MB / 0.9934 GB, free: 74.61 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003215/1.606, allocations: 49.55 kB / 0.9935 GB, free: 74.56 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01111/1.617, allocations: 10.63 MB / 1.004 GB, free: 65.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/1.617, allocations: 7.938 kB / 1.004 GB, free: 65.08 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01232/1.63, allocations: 9.842 MB / 1.013 GB, free: 56.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001666/1.631, allocations: 0.61 MB / 1.014 GB, free: 55.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007902/1.632, allocations: 52.64 kB / 1.014 GB, free: 55.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00206/1.634, allocations: 177.3 kB / 1.014 GB, free: 55.79 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004671/1.635, allocations: 165.2 kB / 1.014 GB, free: 55.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001877/1.635, allocations: 71.55 kB / 1.015 GB, free: 55.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005873/1.641, allocations: 4.082 MB / 1.019 GB, free: 52.27 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/1.641, allocations: 0 / 1.019 GB, free: 52.27 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00715/1.648, allocations: 1.514 MB / 1.02 GB, free: 50.77 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (211): * Single equations (assignments): 206 * 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.0005587/1.648, allocations: 191.9 kB / 1.02 GB, free: 50.58 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01034/1.659, allocations: 7.768 MB / 1.028 GB, free: 43.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/1.659, allocations: 4 kB / 1.028 GB, free: 43.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004304/1.663, allocations: 3.1 MB / 1.031 GB, free: 40.07 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006868/1.67, allocations: 0.7373 MB / 1.032 GB, free: 39.36 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02508/1.695, allocations: 17.55 MB / 1.049 GB, free: 21.79 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005081/1.7, allocations: 4.616 MB / 1.053 GB, free: 17.17 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001727/1.702, allocations: 419.4 kB / 1.054 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of SimCode: time 8.61e-07/1.702, allocations: 4 kB / 1.054 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of Templates: time 0.4043/2.106, allocations: 141.9 MB / 1.192 GB, free: 75.29 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches