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.001001/0.001001, allocations: 200.7 kB / 18.1 MB, free: 3.719 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 226.5 MB / 245.4 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007846/0.0007845, allocations: 97.36 kB / 297.5 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3837/0.3837, allocations: 44.82 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002344/0.0002345, allocations: 8 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3192/0.3194, allocations: 62.95 MB / 0.5184 GB, free: 37.39 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1481/0.4676, allocations: 111.8 MB / 0.6276 GB, free: 9.461 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.468, allocations: 83.92 kB / 0.6277 GB, free: 9.383 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.607/1.075, allocations: 137.3 MB / 0.7617 GB, free: 82.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.638e-06/1.075, allocations: 0 / 0.7617 GB, free: 82.66 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004833/1.076, allocations: 136.7 kB / 0.7619 GB, free: 82.66 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: 2487 * Number of variables: 2487 Notification: Performance of Generate backend data structure: time 0.0252/1.101, allocations: 7.156 MB / 0.7689 GB, free: 76.28 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/1.101, allocations: 8.031 kB / 0.7689 GB, free: 76.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02292/1.124, allocations: 5.552 MB / 0.7743 GB, free: 70.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01519/1.139, allocations: 5.987 MB / 0.7801 GB, free: 64.63 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000426/1.14, allocations: 0.526 MB / 0.7807 GB, free: 64.11 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003213/1.143, allocations: 0.7148 MB / 0.7814 GB, free: 63.39 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03584/1.179, allocations: 17.29 MB / 0.7982 GB, free: 44.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003642/1.179, allocations: 99.3 kB / 0.7983 GB, free: 44.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0021/1.181, allocations: 339.8 kB / 0.7987 GB, free: 44.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001915/1.183, allocations: 1.628 MB / 0.8002 GB, free: 42.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02665/1.21, allocations: 13.91 MB / 0.8138 GB, free: 28.62 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4443/1.654, allocations: 76.54 MB / 0.8886 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03088/1.685, allocations: 7.799 MB / 0.8962 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008584/1.694, allocations: 4.077 MB / 0.9002 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02477/1.719, allocations: 10.05 MB / 0.91 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.15e-05/1.719, allocations: 66.97 kB / 0.9101 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=277): time 6.943e-06/1.719, allocations: 3.281 kB / 0.9101 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=319): time 0.08828/1.807, allocations: 32.42 MB / 0.9417 GB, free: 99.29 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/1.807, allocations: 237.3 kB / 0.9419 GB, free: 99.04 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01324/1.82, allocations: 7.077 MB / 0.9489 GB, free: 96.59 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009375/1.821, allocations: 75.27 kB / 0.9489 GB, free: 96.53 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003867/1.825, allocations: 4.902 MB / 0.9537 GB, free: 92.77 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002038/1.827, allocations: 1.206 MB / 0.9549 GB, free: 91.89 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007306/1.828, allocations: 183.3 kB / 0.9551 GB, free: 91.75 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004689/1.829, allocations: 0.6794 MB / 0.9557 GB, free: 91.28 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005691/1.834, allocations: 3.513 MB / 0.9592 GB, free: 90.11 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008537/1.843, allocations: 8.806 MB / 0.9678 GB, free: 81.89 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01831/1.861, allocations: 13.41 MB / 0.9809 GB, free: 72.11 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003405/1.861, allocations: 53.56 kB / 0.9809 GB, free: 72.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.03063/1.892, allocations: 13.57 MB / 0.9942 GB, free: 64.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002043/1.892, allocations: 90.12 kB / 0.9942 GB, free: 64.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003302/1.893, allocations: 184 kB / 0.9944 GB, free: 64.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004085/1.897, allocations: 1.679 MB / 0.9961 GB, free: 63.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008245/1.905, allocations: 2.177 MB / 0.9982 GB, free: 61.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01419/1.919, allocations: 11.41 MB / 1.009 GB, free: 51.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009994/1.929, allocations: 0.5118 MB / 1.01 GB, free: 50.65 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002603/1.932, allocations: 0.529 MB / 1.01 GB, free: 50.14 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 847 * Number of states: 0 () * Number of discrete variables: 83 (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.forceArrow.color[3],forceAndTorque2.forceArrow.color[2],forceAndTorque2.forceArrow.color[1],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.forceArrow.color[3],forceAndTorque1.forceArrow.color[2],forceAndTorque1.forceArrow.color[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1102): * Single equations (assignments): 1097 * 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.01057/1.943, allocations: 3.348 MB / 1.014 GB, free: 47.19 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002403/1.945, allocations: 0.6016 MB / 1.014 GB, free: 46.58 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01484/1.96, allocations: 6.725 MB / 1.021 GB, free: 41.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.612e-05/1.96, allocations: 36 kB / 1.021 GB, free: 41.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.671e-05/1.96, allocations: 8 kB / 1.021 GB, free: 41.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.455e-05/1.96, allocations: 14.86 kB / 1.021 GB, free: 41.1 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03526/1.995, allocations: 15.76 MB / 1.036 GB, free: 28.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-05/1.995, allocations: 7.656 kB / 1.036 GB, free: 28.37 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002798/1.998, allocations: 0.623 MB / 1.037 GB, free: 27.89 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003371/2.002, allocations: 1.423 MB / 1.038 GB, free: 26.64 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000488/2.002, allocations: 63.94 kB / 1.038 GB, free: 26.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0122/2.014, allocations: 10.63 MB / 1.049 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/2.014, allocations: 7.938 kB / 1.049 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01775/2.032, allocations: 11 MB / 1.059 GB, free: 4.527 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002548/2.035, allocations: 0.6805 MB / 1.06 GB, free: 3.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002603/2.037, allocations: 59.98 kB / 1.06 GB, free: 3.762 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004223/2.042, allocations: 207.7 kB / 1.06 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001096/2.043, allocations: 197.9 kB / 1.061 GB, free: 3.359 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000668/2.043, allocations: 87.75 kB / 1.061 GB, free: 3.277 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01111/2.055, allocations: 4.534 MB / 1.065 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.32e-07/2.055, allocations: 0 / 1.065 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01307/2.068, allocations: 1.683 MB / 1.067 GB, free: 13.09 MB / 0.5417 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.001438/2.069, allocations: 225.6 kB / 1.067 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01819/2.087, allocations: 8.702 MB / 1.075 GB, free: 4.176 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.481e-05/2.088, allocations: 0 / 1.075 GB, free: 4.176 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00797/2.095, allocations: 3.428 MB / 1.079 GB, free: 0.7266 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01316/2.109, allocations: 0.8031 MB / 1.08 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3683/2.477, allocations: 18.78 MB / 1.098 GB, free: 135.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01079/2.488, allocations: 5.053 MB / 1.103 GB, free: 134.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.009511/2.497, allocations: 3 MB / 1.106 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002114/2.5, allocations: 410 kB / 1.106 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of SimCode: time 8.31e-07/2.5, allocations: 0 / 1.106 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of Templates: time 0.1375/2.637, allocations: 65.17 MB / 1.17 GB, free: 120.7 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/jenkins1/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