Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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.WorldForceAndTorque,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") translateModel(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001877/0.001877, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 226.5 MB / 245.4 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008114/0.0008115, allocations: 93.59 kB / 297.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4123/0.4123, allocations: 44.82 MB / 394.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003579/0.000358, allocations: 8 kB / 467.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4496/0.45, allocations: 62.96 MB / 0.5184 GB, free: 37.48 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1575/0.6076, allocations: 109.2 MB / 0.625 GB, free: 12.08 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/0.6079, allocations: 79.95 kB / 0.6251 GB, free: 12.01 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7375/1.345, allocations: 161.4 MB / 0.7827 GB, free: 61.97 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.635e-06/1.345, allocations: 0 / 0.7827 GB, free: 61.97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006239/1.346, allocations: 164 kB / 0.7829 GB, free: 61.81 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: 2857 * Number of variables: 2857 Notification: Performance of Generate backend data structure: time 0.02991/1.376, allocations: 8.411 MB / 0.7911 GB, free: 53.31 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/1.376, allocations: 8.031 kB / 0.7911 GB, free: 53.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02859/1.405, allocations: 7.216 MB / 0.7982 GB, free: 46.06 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01877/1.423, allocations: 7.471 MB / 0.8055 GB, free: 38.51 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005248/1.424, allocations: 0.6103 MB / 0.8061 GB, free: 37.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003859/1.428, allocations: 0.8202 MB / 0.8069 GB, free: 37.07 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04201/1.47, allocations: 19.86 MB / 0.8263 GB, free: 15.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004403/1.47, allocations: 107.2 kB / 0.8264 GB, free: 15.53 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002194/1.473, allocations: 395.8 kB / 0.8267 GB, free: 15.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002003/1.475, allocations: 1.778 MB / 0.8285 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03373/1.508, allocations: 16.3 MB / 0.8444 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7124/2.221, allocations: 83.27 MB / 0.9257 GB, free: 51.8 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01853/2.24, allocations: 7.955 MB / 0.9335 GB, free: 51.11 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006816/2.246, allocations: 4.763 MB / 0.9381 GB, free: 51.07 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002245/2.247, allocations: 62.59 kB / 0.9382 GB, free: 51.06 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.347e-05/2.247, allocations: 69.06 kB / 0.9383 GB, free: 51.02 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=301): time 7.474e-06/2.247, allocations: 0 / 0.9383 GB, free: 51.02 MB / 0.5262 GB Notification: Performance of matching and sorting (n=364): time 0.1022/2.349, allocations: 38.54 MB / 0.9759 GB, free: 44.15 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/2.349, allocations: 269.7 kB / 0.9762 GB, free: 43.86 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01386/2.363, allocations: 7.83 MB / 0.9838 GB, free: 42.46 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001054/2.364, allocations: 82.11 kB / 0.9839 GB, free: 42.39 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.004111/2.368, allocations: 5.546 MB / 0.9893 GB, free: 38.2 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.001946/2.37, allocations: 1.371 MB / 0.9906 GB, free: 37.2 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008346/2.371, allocations: 195 kB / 0.9908 GB, free: 37.05 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.0004626/2.371, allocations: 0.7149 MB / 0.9915 GB, free: 36.57 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005843/2.377, allocations: 4.129 MB / 0.9955 GB, free: 35.19 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009706/2.387, allocations: 9.689 MB / 1.005 GB, free: 26.44 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01726/2.404, allocations: 14.98 MB / 1.02 GB, free: 15.79 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002966/2.405, allocations: 57.25 kB / 1.02 GB, free: 15.79 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1263) (initialization): time 0.03342/2.438, allocations: 15.83 MB / 1.035 GB, free: 3.09 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004001/2.439, allocations: 92.25 kB / 1.035 GB, free: 3 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004976/2.439, allocations: 199.4 kB / 1.035 GB, free: 2.809 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006308/2.445, allocations: 2.417 MB / 1.038 GB, free: 1.051 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008751/2.454, allocations: 2.285 MB / 1.04 GB, free: 15.12 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02375/2.478, allocations: 16.95 MB / 1.057 GB, free: 0 / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01032/2.488, allocations: 0.5869 MB / 1.057 GB, free: 15.54 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003261/2.492, allocations: 0.5708 MB / 1.058 GB, free: 14.99 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 885 * Number of states: 0 () * Number of discrete variables: 87 (forceAndTorque2.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[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.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.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 (1167): * Single equations (assignments): 1161 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01096/2.503, allocations: 3.767 MB / 1.061 GB, free: 11.68 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002876/2.505, allocations: 0.6826 MB / 1.062 GB, free: 10.99 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0205/2.526, allocations: 8.771 MB / 1.071 GB, free: 3.98 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.954e-05/2.526, allocations: 40 kB / 1.071 GB, free: 3.941 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.706e-05/2.526, allocations: 12 kB / 1.071 GB, free: 3.93 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.956e-05/2.526, allocations: 21.02 kB / 1.071 GB, free: 3.926 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04595/2.572, allocations: 19.07 MB / 1.089 GB, free: 3.371 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.36e-05/2.572, allocations: 4 kB / 1.089 GB, free: 3.367 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003555/2.576, allocations: 0.6396 MB / 1.09 GB, free: 2.727 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005892/2.582, allocations: 2.13 MB / 1.092 GB, free: 0.5938 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008736/2.583, allocations: 60 kB / 1.092 GB, free: 0.5352 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02226/2.605, allocations: 15.73 MB / 1.107 GB, free: 436 kB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/2.605, allocations: 0 / 1.107 GB, free: 436 kB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3251/2.93, allocations: 13.73 MB / 1.121 GB, free: 155.8 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003096/2.933, allocations: 0.7492 MB / 1.122 GB, free: 155.7 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001966/2.935, allocations: 63.19 kB / 1.122 GB, free: 155.7 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003828/2.939, allocations: 273.6 kB / 1.122 GB, free: 155.7 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007988/2.94, allocations: 217.6 kB / 1.122 GB, free: 155.7 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002667/2.94, allocations: 96.75 kB / 1.122 GB, free: 155.7 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.009503/2.95, allocations: 4.984 MB / 1.127 GB, free: 155.5 MB / 0.5887 GB Notification: Performance of sort global known variables: time 9.52e-07/2.95, allocations: 3.469 kB / 1.127 GB, free: 155.5 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.01234/2.962, allocations: 1.977 MB / 1.129 GB, free: 155.5 MB / 0.5887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (289): * Single equations (assignments): 283 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(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.001131/2.963, allocations: 221.7 kB / 1.129 GB, free: 155.4 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.01694/2.98, allocations: 10.37 MB / 1.139 GB, free: 155 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/2.98, allocations: 0 / 1.139 GB, free: 155 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 0.006258/2.986, allocations: 4.369 MB / 1.144 GB, free: 154.6 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006989/2.994, allocations: 0.9629 MB / 1.145 GB, free: 154.5 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03611/3.03, allocations: 22.04 MB / 1.166 GB, free: 146.2 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01534/3.045, allocations: 5.76 MB / 1.172 GB, free: 144.3 MB / 0.5887 GB Notification: Performance of simCode: alias equations: time 0.0162/3.061, allocations: 3.256 MB / 1.175 GB, free: 144.1 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004057/3.065, allocations: 460 kB / 1.175 GB, free: 144 MB / 0.5887 GB Notification: Performance of SimCode: time 1.022e-06/3.065, allocations: 0 / 1.175 GB, free: 144 MB / 0.5887 GB Notification: Performance of Templates: time 0.1341/3.2, allocations: 79.65 MB / 1.253 GB, free: 89.96 MB / 0.5887 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForceAndTorque/WorldForceAndTorque.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches