Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009729/0.0009731, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007943/0.0007943, allocations: 93.3 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4204/0.4204, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.152e-05/3.154e-05, allocations: 4 kB / 425.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1391, allocations: 58.84 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4656/0.6047, allocations: 110.1 MB / 0.5803 GB, free: 11.84 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.605, allocations: 81.05 kB / 0.5804 GB, free: 11.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6945/1.3, allocations: 149.4 MB / 0.7263 GB, free: 80.59 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.928e-06/1.3, allocations: 0 / 0.7263 GB, free: 80.59 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005741/1.3, allocations: 150.4 kB / 0.7264 GB, free: 80.59 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: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.02684/1.327, allocations: 7.387 MB / 0.7336 GB, free: 77.71 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/1.327, allocations: 9.688 kB / 0.7337 GB, free: 77.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03251/1.36, allocations: 7.329 MB / 0.7408 GB, free: 77.18 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02357/1.383, allocations: 7.896 MB / 0.7485 GB, free: 76.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001292/1.385, allocations: 0.5835 MB / 0.7491 GB, free: 76.24 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00561/1.39, allocations: 0.7686 MB / 0.7498 GB, free: 76.23 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.056/1.446, allocations: 18.86 MB / 0.7683 GB, free: 72 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009924/1.447, allocations: 98.06 kB / 0.7684 GB, free: 71.99 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005692/1.453, allocations: 373.2 kB / 0.7687 GB, free: 71.99 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003569/1.457, allocations: 1.828 MB / 0.7705 GB, free: 71.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03539/1.492, allocations: 15.37 MB / 0.7855 GB, free: 67.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1032/1.595, allocations: 81.83 MB / 0.8654 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01991/1.615, allocations: 8.666 MB / 0.8739 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006218/1.622, allocations: 4.613 MB / 0.8784 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3646/1.986, allocations: 11.73 MB / 0.8898 GB, free: 93.52 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001669/1.986, allocations: 71.94 kB / 0.8899 GB, free: 93.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=347): time 9.949e-06/1.986, allocations: 3.938 kB / 0.8899 GB, free: 93.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=389): time 0.08177/2.068, allocations: 31.51 MB / 0.9207 GB, free: 88.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/2.068, allocations: 248 kB / 0.9209 GB, free: 88.04 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01178/2.08, allocations: 6.52 MB / 0.9273 GB, free: 87.51 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.00118/2.081, allocations: 84.61 kB / 0.9274 GB, free: 87.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004245/2.086, allocations: 5.285 MB / 0.9325 GB, free: 85.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002437/2.088, allocations: 1.439 MB / 0.9339 GB, free: 84.18 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006109/2.089, allocations: 203 kB / 0.9341 GB, free: 84.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005203/2.089, allocations: 0.7316 MB / 0.9349 GB, free: 83.85 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006639/2.096, allocations: 4.023 MB / 0.9388 GB, free: 83.83 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009473/2.105, allocations: 9.606 MB / 0.9482 GB, free: 76.69 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00992/2.115, allocations: 6.168 MB / 0.9542 GB, free: 76.63 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001836/2.116, allocations: 62.58 kB / 0.9542 GB, free: 76.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1300) (initialization): time 0.02832/2.144, allocations: 14.98 MB / 0.9689 GB, free: 71.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002734/2.144, allocations: 92.31 kB / 0.969 GB, free: 71.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003552/2.145, allocations: 193.8 kB / 0.9692 GB, free: 71.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004121/2.149, allocations: 1.724 MB / 0.9708 GB, free: 71.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008923/2.158, allocations: 2.429 MB / 0.9732 GB, free: 71.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01273/2.17, allocations: 11.41 MB / 0.9843 GB, free: 65.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01013/2.181, allocations: 0.5756 MB / 0.9849 GB, free: 65.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002698/2.183, allocations: 0.578 MB / 0.9855 GB, free: 65.09 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * Number of states: 0 () * Number of discrete variables: 69 (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.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1228): * Single equations (assignments): 1223 * 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.004171/2.188, allocations: 0.868 MB / 0.9863 GB, free: 64.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002273/2.19, allocations: 0.6418 MB / 0.987 GB, free: 64.04 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01546/2.205, allocations: 8.128 MB / 0.9949 GB, free: 61.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.629e-05/2.205, allocations: 43.78 kB / 0.9949 GB, free: 61.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.011e-05/2.206, allocations: 6.562 kB / 0.9949 GB, free: 61.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.778e-05/2.206, allocations: 21.73 kB / 0.995 GB, free: 61.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0397/2.245, allocations: 18.23 MB / 1.013 GB, free: 52.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.705e-05/2.245, allocations: 8.125 kB / 1.013 GB, free: 52.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003935/2.249, allocations: 0.7651 MB / 1.014 GB, free: 52.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003513/2.253, allocations: 1.425 MB / 1.015 GB, free: 51.39 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007503/2.254, allocations: 75.28 kB / 1.015 GB, free: 51.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01177/2.265, allocations: 10.6 MB / 1.025 GB, free: 41.84 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/2.265, allocations: 11.94 kB / 1.025 GB, free: 41.83 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01914/2.285, allocations: 14.36 MB / 1.039 GB, free: 28.67 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004451/2.289, allocations: 1.329 MB / 1.041 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002344/2.291, allocations: 70.25 kB / 1.041 GB, free: 27.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004848/2.296, allocations: 255.5 kB / 1.041 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007836/2.297, allocations: 244.8 kB / 1.041 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003921/2.298, allocations: 106.4 kB / 1.041 GB, free: 26.96 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0109/2.308, allocations: 4.662 MB / 1.046 GB, free: 22.88 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.81e-07/2.309, allocations: 4 kB / 1.046 GB, free: 22.87 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01242/2.321, allocations: 1.87 MB / 1.048 GB, free: 21 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (329): * Single equations (assignments): 324 * 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.001198/2.322, allocations: 239.2 kB / 1.048 GB, free: 20.77 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01517/2.337, allocations: 9.948 MB / 1.058 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.002e-05/2.337, allocations: 0.875 kB / 1.058 GB, free: 11.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005989/2.343, allocations: 3.981 MB / 1.062 GB, free: 8.145 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005008/2.348, allocations: 0.7638 MB / 1.062 GB, free: 7.484 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02968/2.378, allocations: 15.19 MB / 1.077 GB, free: 9.871 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007808/2.386, allocations: 5.64 MB / 1.083 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.3315/2.718, allocations: 3.877 MB / 1.086 GB, free: 89.98 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002896/2.72, allocations: 454.9 kB / 1.087 GB, free: 89.97 MB / 0.5261 GB Notification: Performance of SimCode: time 1.263e-06/2.721, allocations: 0 / 1.087 GB, free: 89.97 MB / 0.5261 GB Notification: Performance of Templates: time 0.1456/2.866, allocations: 70.77 MB / 1.156 GB, free: 85.66 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/ForcesAndTorques/ForcesAndTorques.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches