Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008763/0.0008764, allocations: 96.16 kB / 281.6 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.193/0.193, allocations: 44.14 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.602e-05/1.605e-05, allocations: 4.219 kB / 444.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1169, allocations: 61.91 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4204/0.5373, allocations: 107.3 MB / 0.5995 GB, free: 5.184 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002326/0.5376, allocations: 75.95 kB / 0.5995 GB, free: 5.109 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6/1.138, allocations: 119.4 MB / 0.7161 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.633e-06/1.138, allocations: 3.375 kB / 0.7161 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000381/1.138, allocations: 121.4 kB / 0.7162 GB, free: 104.6 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: 2137 * Number of variables: 2137 Notification: Performance of Generate backend data structure: time 0.02304/1.161, allocations: 5.927 MB / 0.722 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/1.161, allocations: 9.188 kB / 0.722 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02764/1.189, allocations: 7.006 MB / 0.7289 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01587/1.205, allocations: 6.653 MB / 0.7353 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002478/1.205, allocations: 194.6 kB / 0.7355 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002173/1.207, allocations: 370.8 kB / 0.7359 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0145/1.222, allocations: 8.419 MB / 0.7441 GB, free: 101 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02537/1.247, allocations: 12.98 MB / 0.7568 GB, free: 96.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000262/1.247, allocations: 85.03 kB / 0.7569 GB, free: 96.13 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001255/1.249, allocations: 37.84 kB / 0.7569 GB, free: 96.13 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001568/1.25, allocations: 1.356 MB / 0.7582 GB, free: 95.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05828/1.309, allocations: 62.39 MB / 0.8192 GB, free: 48.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004894/1.314, allocations: 4.841 MB / 0.8239 GB, free: 43.95 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003252/1.317, allocations: 3.238 MB / 0.827 GB, free: 40.98 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/1.317, allocations: 48.72 kB / 0.8271 GB, free: 40.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/1.317, allocations: 55.83 kB / 0.8271 GB, free: 40.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=218): time 7.645e-06/1.317, allocations: 3.516 kB / 0.8271 GB, free: 40.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=262): time 0.04902/1.366, allocations: 26.36 MB / 0.8529 GB, free: 18.15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/1.366, allocations: 205.9 kB / 0.8531 GB, free: 17.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004653/1.371, allocations: 3.979 MB / 0.857 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003686/1.371, allocations: 25.7 kB / 0.857 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001709/1.373, allocations: 4.278 MB / 0.8612 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007541/1.374, allocations: 0.9715 MB / 0.8621 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003135/1.374, allocations: 0 / 0.8621 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003168/1.374, allocations: 0.6326 MB / 0.8627 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003895/1.378, allocations: 3.03 MB / 0.8657 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008336/1.387, allocations: 7.592 MB / 0.8731 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01165/1.398, allocations: 4.728 MB / 0.8777 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002231/1.399, allocations: 52 kB / 0.8778 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1016) (initialization): time 0.03766/1.436, allocations: 11.07 MB / 0.8886 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001708/1.437, allocations: 76 kB / 0.8887 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000292/1.437, allocations: 167.3 kB / 0.8888 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006789/1.444, allocations: 1.672 MB / 0.8905 GB, free: 9.262 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01088/1.455, allocations: 1.875 MB / 0.8923 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3585/1.813, allocations: 10.73 MB / 0.9028 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007705/1.821, allocations: 318.5 kB / 0.9031 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00213/1.823, allocations: 482.2 kB / 0.9035 GB, free: 116.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 743 * Number of states: 0 () * Number of discrete variables: 62 (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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (944): * Single equations (assignments): 939 * 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%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001933/1.825, allocations: 0.519 MB / 0.904 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001144/1.826, allocations: 438.8 kB / 0.9045 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01215/1.838, allocations: 5.908 MB / 0.9102 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.416e-05/1.838, allocations: 28.03 kB / 0.9103 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.194e-05/1.838, allocations: 10.98 kB / 0.9103 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.746e-05/1.839, allocations: 12.48 kB / 0.9103 GB, free: 116 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02939/1.868, allocations: 12.6 MB / 0.9226 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-05/1.868, allocations: 0 / 0.9226 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003133/1.871, allocations: 0.4943 MB / 0.9231 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003658/1.875, allocations: 1.4 MB / 0.9244 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006985/1.876, allocations: 4.781 kB / 0.9244 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01139/1.887, allocations: 9.905 MB / 0.9341 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/1.887, allocations: 0 / 0.9341 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01284/1.9, allocations: 9.86 MB / 0.9437 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001853/1.902, allocations: 463.8 kB / 0.9442 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001218/1.903, allocations: 6.75 kB / 0.9442 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002437/1.905, allocations: 182.9 kB / 0.9444 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004662/1.906, allocations: 153.9 kB / 0.9445 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001971/1.906, allocations: 66.81 kB / 0.9446 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005068/1.911, allocations: 2.655 MB / 0.9472 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.91e-07/1.911, allocations: 3.875 kB / 0.9472 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009377/1.921, allocations: 1.266 MB / 0.9484 GB, free: 109.4 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (204): * Single equations (assignments): 199 * 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.0008416/1.921, allocations: 155.2 kB / 0.9486 GB, free: 109.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01402/1.936, allocations: 7.714 MB / 0.9561 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.965e-05/1.936, allocations: 0 / 0.9561 GB, free: 106.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005168/1.941, allocations: 3.056 MB / 0.9591 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003473/1.944, allocations: 0.5074 MB / 0.9596 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02395/1.968, allocations: 11.46 MB / 0.9708 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006623/1.975, allocations: 4.553 MB / 0.9752 GB, free: 99.95 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007203/1.982, allocations: 2.553 MB / 0.9777 GB, free: 99.91 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00166/1.984, allocations: 314.4 kB / 0.978 GB, free: 99.89 MB / 0.5261 GB Notification: Performance of SimCode: time 1.563e-06/1.984, allocations: 0 / 0.978 GB, free: 99.89 MB / 0.5261 GB Notification: Performance of Templates: time 0.08472/2.069, allocations: 48.31 MB / 1.025 GB, free: 65.58 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches