Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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.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_3.2.3_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_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001401/0.001401, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.057/2.057, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 89.67 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3007/0.3007, allocations: 43.49 MB / 353.6 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.908e-05/1.918e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4056/0.4057, allocations: 58.85 MB / 477.1 MB, free: 5.273 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2034/0.6091, allocations: 107 MB / 0.5704 GB, free: 8.301 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/0.6095, allocations: 75.97 kB / 0.5704 GB, free: 8.227 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.027/1.637, allocations: 175.5 MB / 0.7418 GB, free: 65.62 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.365e-06/1.637, allocations: 0 / 0.7418 GB, free: 65.62 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0008346/1.638, allocations: 187.5 kB / 0.742 GB, free: 65.44 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3271 * Number of variables: 3271 Notification: Performance of Generate backend data structure: time 0.04058/1.678, allocations: 8.79 MB / 0.7506 GB, free: 56.58 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/1.678, allocations: 12.03 kB / 0.7506 GB, free: 56.57 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07212/1.751, allocations: 9.875 MB / 0.7603 GB, free: 46.67 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0353/1.786, allocations: 9.846 MB / 0.7699 GB, free: 36.83 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006093/1.787, allocations: 304 kB / 0.7702 GB, free: 36.54 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004932/1.791, allocations: 0.5467 MB / 0.7707 GB, free: 35.99 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03244/1.824, allocations: 12.92 MB / 0.7833 GB, free: 23.06 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05193/1.876, allocations: 19.21 MB / 0.8021 GB, free: 2.203 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006863/1.877, allocations: 115 kB / 0.8022 GB, free: 2.09 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00432/1.881, allocations: 48 kB / 0.8022 GB, free: 2.043 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004588/1.886, allocations: 2.088 MB / 0.8043 GB, free: 15.96 MB / 491.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8767/2.762, allocations: 87.31 MB / 0.8895 GB, free: 44.5 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01685/2.779, allocations: 7.811 MB / 0.8972 GB, free: 43.81 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01061/2.79, allocations: 5.495 MB / 0.9025 GB, free: 43.77 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005555/2.791, allocations: 85.75 kB / 0.9026 GB, free: 43.77 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.729e-05/2.791, allocations: 82.92 kB / 0.9027 GB, free: 43.73 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=412): time 8.486e-06/2.791, allocations: 0 / 0.9027 GB, free: 43.73 MB / 0.4953 GB Notification: Performance of matching and sorting (n=477): time 0.1402/2.931, allocations: 41.27 MB / 0.943 GB, free: 32.64 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/2.931, allocations: 283.8 kB / 0.9433 GB, free: 32.35 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01432/2.945, allocations: 5.539 MB / 0.9487 GB, free: 30.37 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 0.001388/2.947, allocations: 25.7 kB / 0.9487 GB, free: 30.34 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 0.005112/2.952, allocations: 6.047 MB / 0.9546 GB, free: 25.72 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 0.0032/2.955, allocations: 1.692 MB / 0.9562 GB, free: 24.45 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002344/2.958, allocations: 0 / 0.9562 GB, free: 24.45 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 0.001213/2.959, allocations: 0.8026 MB / 0.957 GB, free: 23.93 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01227/2.971, allocations: 4.806 MB / 0.9617 GB, free: 22.18 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01669/2.988, allocations: 11.1 MB / 0.9726 GB, free: 11.99 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01609/3.004, allocations: 7.208 MB / 0.9796 GB, free: 6.82 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003047/3.004, allocations: 64 kB / 0.9797 GB, free: 6.758 MB / 0.4953 GB Notification: Performance of matching and sorting (n=1514) (initialization): time 0.05088/3.055, allocations: 16.64 MB / 0.9959 GB, free: 8.852 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002092/3.056, allocations: 100 kB / 0.996 GB, free: 8.754 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004709/3.056, allocations: 224 kB / 0.9962 GB, free: 8.535 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01129/3.067, allocations: 2.501 MB / 0.9987 GB, free: 6.68 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0201/3.088, allocations: 2.779 MB / 1.001 GB, free: 4.324 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03735/3.125, allocations: 15.92 MB / 1.017 GB, free: 6.117 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01452/3.14, allocations: 479.5 kB / 1.017 GB, free: 5.77 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003667/3.143, allocations: 0.6708 MB / 1.018 GB, free: 5.125 MB / 0.5265 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1017 * Number of states: 0 () * Number of discrete variables: 75 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],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.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],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.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1418): * Single equations (assignments): 1412 * 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%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005558/3.149, allocations: 0.6755 MB / 1.019 GB, free: 4.449 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00316/3.152, allocations: 0.6441 MB / 1.019 GB, free: 3.801 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03634/3.188, allocations: 10.26 MB / 1.029 GB, free: 11.68 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001428/3.189, allocations: 48 kB / 1.029 GB, free: 11.63 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.625e-05/3.189, allocations: 19.95 kB / 1.029 GB, free: 11.61 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001346/3.189, allocations: 24.19 kB / 1.029 GB, free: 11.61 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4776/3.667, allocations: 21.29 MB / 1.05 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.518e-05/3.667, allocations: 10.53 kB / 1.05 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009629/3.676, allocations: 0.8799 MB / 1.051 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01063/3.687, allocations: 2.115 MB / 1.053 GB, free: 128.5 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001411/3.688, allocations: 26.33 kB / 1.053 GB, free: 128.5 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03172/3.72, allocations: 14.67 MB / 1.068 GB, free: 124.7 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.18e-05/3.72, allocations: 7.281 kB / 1.068 GB, free: 124.7 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04236/3.763, allocations: 17.04 MB / 1.084 GB, free: 123.2 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006179/3.769, allocations: 1.433 MB / 1.086 GB, free: 123.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002724/3.772, allocations: 10.59 kB / 1.086 GB, free: 123.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00852/3.78, allocations: 287.3 kB / 1.086 GB, free: 123.1 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002039/3.782, allocations: 291.1 kB / 1.086 GB, free: 123.1 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007422/3.783, allocations: 123.8 kB / 1.086 GB, free: 123.1 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.009919/3.793, allocations: 3.719 MB / 1.09 GB, free: 122.9 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.223e-06/3.793, allocations: 0 / 1.09 GB, free: 122.9 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.01571/3.809, allocations: 1.958 MB / 1.092 GB, free: 122.9 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (408): * Single equations (assignments): 402 * 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.001815/3.811, allocations: 174.5 kB / 1.092 GB, free: 122.8 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.02892/3.84, allocations: 12.21 MB / 1.104 GB, free: 120 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/3.84, allocations: 3.438 kB / 1.104 GB, free: 120 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.01348/3.853, allocations: 5.089 MB / 1.109 GB, free: 118 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007147/3.86, allocations: 0.6806 MB / 1.11 GB, free: 117.7 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05467/3.915, allocations: 19.12 MB / 1.128 GB, free: 110.8 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01598/3.931, allocations: 6.621 MB / 1.135 GB, free: 107.2 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004762/3.936, allocations: 0.5619 MB / 1.135 GB, free: 106.7 MB / 0.5421 GB Notification: Performance of SimCode: time 1.804e-06/3.936, allocations: 0 / 1.135 GB, free: 106.7 MB / 0.5421 GB Notification: Performance of Templates: time 0.8017/4.738, allocations: 228.8 MB / 1.359 GB, free: 70.89 MB / 0.5421 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForceAndTorque/WorldForceAndTorque.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches