Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_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_cpp_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_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00103/0.00103, allocations: 197.5 kB / 16.78 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.284/1.284, allocations: 226.5 MB / 244.1 MB, free: 8.086 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007979/0.0007977, allocations: 92.31 kB / 296.1 MB, free: 6.863 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3125/0.3125, allocations: 44.83 MB / 392.9 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003047/0.0003049, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.324, allocations: 62.94 MB / 0.5165 GB, free: 36.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1335/0.4575, allocations: 109.2 MB / 0.6231 GB, free: 12.16 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.4578, allocations: 75.97 kB / 0.6232 GB, free: 12.09 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5693/1.027, allocations: 161.4 MB / 0.7808 GB, free: 61.98 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.314e-06/1.027, allocations: 0 / 0.7808 GB, free: 61.98 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004197/1.028, allocations: 168 kB / 0.781 GB, free: 61.82 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.0233/1.051, allocations: 8.407 MB / 0.7892 GB, free: 53.32 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/1.051, allocations: 12.03 kB / 0.7892 GB, free: 53.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02748/1.078, allocations: 7.212 MB / 0.7962 GB, free: 46.07 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0161/1.095, allocations: 7.467 MB / 0.8035 GB, free: 38.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005249/1.095, allocations: 0.6181 MB / 0.8041 GB, free: 37.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003395/1.099, allocations: 0.8202 MB / 0.8049 GB, free: 37.08 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0401/1.139, allocations: 19.86 MB / 0.8243 GB, free: 15.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000532/1.139, allocations: 103.2 kB / 0.8244 GB, free: 15.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002897/1.142, allocations: 395.8 kB / 0.8248 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002206/1.144, allocations: 1.786 MB / 0.8265 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03113/1.176, allocations: 16.29 MB / 0.8424 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3542/1.53, allocations: 83.27 MB / 0.9238 GB, free: 53 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01746/1.547, allocations: 7.956 MB / 0.9315 GB, free: 52.31 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005382/1.553, allocations: 4.76 MB / 0.9362 GB, free: 52.27 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001686/1.553, allocations: 55.34 kB / 0.9362 GB, free: 52.27 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/1.553, allocations: 72.55 kB / 0.9363 GB, free: 52.23 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=301): time 5.891e-06/1.553, allocations: 0 / 0.9363 GB, free: 52.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=364): time 0.09318/1.646, allocations: 38.54 MB / 0.9739 GB, free: 45.36 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/1.646, allocations: 284.8 kB / 0.9742 GB, free: 45.07 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01406/1.66, allocations: 7.828 MB / 0.9819 GB, free: 43.69 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009165/1.661, allocations: 84.11 kB / 0.9819 GB, free: 43.62 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003762/1.665, allocations: 5.554 MB / 0.9874 GB, free: 39.43 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001818/1.667, allocations: 1.361 MB / 0.9887 GB, free: 38.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00124/1.668, allocations: 194.5 kB / 0.9889 GB, free: 38.28 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0007141/1.669, allocations: 0.7214 MB / 0.9896 GB, free: 37.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006268/1.675, allocations: 4.123 MB / 0.9936 GB, free: 36.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008747/1.684, allocations: 9.685 MB / 1.003 GB, free: 27.68 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01463/1.699, allocations: 14.98 MB / 1.018 GB, free: 17.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002277/1.699, allocations: 54.09 kB / 1.018 GB, free: 17.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1263) (initialization): time 0.02776/1.727, allocations: 15.83 MB / 1.033 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002254/1.727, allocations: 88 kB / 1.033 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003091/1.727, allocations: 196 kB / 1.033 GB, free: 4.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005606/1.733, allocations: 2.42 MB / 1.036 GB, free: 2.719 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007419/1.74, allocations: 2.281 MB / 1.038 GB, free: 0.7891 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02176/1.762, allocations: 16.94 MB / 1.055 GB, free: 1.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008436/1.771, allocations: 0.581 MB / 1.055 GB, free: 1.199 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002138/1.773, allocations: 0.58 MB / 1.056 GB, free: 0.6445 MB / 0.5417 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.01762/1.79, allocations: 4.474 MB / 1.06 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001905/1.792, allocations: 0.6826 MB / 1.061 GB, free: 14.47 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0169/1.809, allocations: 8.774 MB / 1.069 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.989e-05/1.809, allocations: 40 kB / 1.069 GB, free: 7.418 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.71e-05/1.809, allocations: 12 kB / 1.069 GB, free: 7.406 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.593e-05/1.809, allocations: 18.89 kB / 1.069 GB, free: 7.406 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0396/1.849, allocations: 19.08 MB / 1.088 GB, free: 5.434 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.383e-05/1.849, allocations: 0 / 1.088 GB, free: 5.434 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003303/1.852, allocations: 0.6418 MB / 1.089 GB, free: 4.793 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005641/1.858, allocations: 2.126 MB / 1.091 GB, free: 2.66 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000662/1.859, allocations: 67.98 kB / 1.091 GB, free: 2.594 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0209/1.88, allocations: 15.72 MB / 1.106 GB, free: 2.496 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/1.88, allocations: 0 / 1.106 GB, free: 2.496 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2644/2.144, allocations: 13.72 MB / 1.12 GB, free: 156 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002068/2.146, allocations: 0.7479 MB / 1.12 GB, free: 156 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002133/2.148, allocations: 61.72 kB / 1.12 GB, free: 156 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003869/2.152, allocations: 272.9 kB / 1.121 GB, free: 156 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009024/2.153, allocations: 222 kB / 1.121 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003111/2.154, allocations: 97.72 kB / 1.121 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00979/2.163, allocations: 4.99 MB / 1.126 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.71e-07/2.163, allocations: 0 / 1.126 GB, free: 155.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.009974/2.173, allocations: 1.971 MB / 1.128 GB, free: 155.7 MB / 0.5886 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.0008124/2.174, allocations: 227.5 kB / 1.128 GB, free: 155.6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0154/2.19, allocations: 10.37 MB / 1.138 GB, free: 155.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/2.19, allocations: 1 kB / 1.138 GB, free: 155.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.006983/2.197, allocations: 4.37 MB / 1.142 GB, free: 154.8 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00769/2.204, allocations: 0.96 MB / 1.143 GB, free: 154.8 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03195/2.236, allocations: 22.98 MB / 1.166 GB, free: 146.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008412/2.245, allocations: 5.759 MB / 1.171 GB, free: 144.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002242/2.247, allocations: 0.5109 MB / 1.172 GB, free: 144.8 MB / 0.5886 GB Notification: Performance of SimCode: time 6.01e-07/2.247, allocations: 0 / 1.172 GB, free: 144.8 MB / 0.5886 GB Notification: Performance of Templates: time 0.4919/2.739, allocations: 217.4 MB / 1.384 GB, free: 148 MB / 0.5886 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches