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.002131/0.002131, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.993/1.993, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.001057/0.001056, allocations: 92.38 kB / 270.9 MB, free: 8.375 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.5292/0.5292, allocations: 43.54 MB / 362.7 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004816/0.0004816, allocations: 16 kB / 431.4 MB, free: 5.945 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1242/0.1247, allocations: 58.86 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5622/0.687, allocations: 107.7 MB / 0.5839 GB, free: 10.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.6873, allocations: 84.7 kB / 0.584 GB, free: 10.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.033/1.721, allocations: 179.5 MB / 0.7593 GB, free: 77.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.625e-06/1.721, allocations: 0 / 0.7593 GB, free: 77.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005486/1.721, allocations: 180.8 kB / 0.7595 GB, free: 77.36 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: 3271 * Number of variables: 3271 Notification: Performance of Generate backend data structure: time 0.0396/1.761, allocations: 9.461 MB / 0.7687 GB, free: 71.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/1.761, allocations: 7.094 kB / 0.7687 GB, free: 71.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07125/1.832, allocations: 9.875 MB / 0.7784 GB, free: 66.46 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0348/1.867, allocations: 9.894 MB / 0.788 GB, free: 60.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008294/1.868, allocations: 0.6956 MB / 0.7887 GB, free: 59.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005099/1.873, allocations: 0.9176 MB / 0.7896 GB, free: 58.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07238/1.946, allocations: 22.35 MB / 0.8115 GB, free: 34.92 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007886/1.946, allocations: 111 kB / 0.8116 GB, free: 34.81 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00501/1.951, allocations: 435.8 kB / 0.812 GB, free: 34.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004804/1.956, allocations: 2.085 MB / 0.814 GB, free: 32.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06055/2.017, allocations: 18.69 MB / 0.8323 GB, free: 13.56 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6051/2.622, allocations: 91.59 MB / 0.9217 GB, free: 55.31 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04075/2.663, allocations: 9.438 MB / 0.9309 GB, free: 54.61 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006454/2.664, allocations: 94.2 kB / 0.931 GB, free: 54.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.239e-05/2.664, allocations: 80.67 kB / 0.9311 GB, free: 54.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=412): time 1.311e-05/2.664, allocations: 0 / 0.9311 GB, free: 54.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=475): time 0.2013/2.865, allocations: 45.2 MB / 0.9752 GB, free: 44.73 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/2.865, allocations: 279.9 kB / 0.9755 GB, free: 44.45 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01904/2.884, allocations: 7.412 MB / 0.9827 GB, free: 41.97 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001424/2.886, allocations: 98.36 kB / 0.9828 GB, free: 41.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005318/2.891, allocations: 5.793 MB / 0.9885 GB, free: 37.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00299/2.894, allocations: 1.741 MB / 0.9902 GB, free: 36 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001978/2.896, allocations: 226.1 kB / 0.9904 GB, free: 35.82 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0009665/2.897, allocations: 0.7861 MB / 0.9912 GB, free: 35.31 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0137/2.911, allocations: 5.039 MB / 0.9961 GB, free: 33.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01852/2.929, allocations: 11.11 MB / 1.007 GB, free: 23.83 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01801/2.947, allocations: 7.34 MB / 1.014 GB, free: 21.11 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002382/2.948, allocations: 64.78 kB / 1.014 GB, free: 21.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1461) (initialization): time 0.05324/3.001, allocations: 17.98 MB / 1.032 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002093/3.001, allocations: 96 kB / 1.032 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004695/3.002, allocations: 212 kB / 1.032 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01166/3.013, allocations: 2.473 MB / 1.034 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01953/3.033, allocations: 2.687 MB / 1.037 GB, free: 8.496 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03911/3.072, allocations: 17.4 MB / 1.054 GB, free: 8.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01502/3.087, allocations: 0.6731 MB / 1.055 GB, free: 8.379 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00333/3.09, allocations: 0.6434 MB / 1.055 GB, free: 7.762 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 966 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1365): * Single equations (assignments): 1359 * 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.0157/3.106, allocations: 4.201 MB / 1.059 GB, free: 4.07 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003437/3.11, allocations: 0.7559 MB / 1.06 GB, free: 3.305 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4346/3.544, allocations: 10.81 MB / 1.071 GB, free: 120.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.955e-05/3.545, allocations: 53.42 kB / 1.071 GB, free: 120.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-05/3.545, allocations: 13.78 kB / 1.071 GB, free: 120.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000136/3.545, allocations: 23.53 kB / 1.071 GB, free: 120.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07357/3.618, allocations: 22.98 MB / 1.093 GB, free: 119.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.376e-05/3.618, allocations: 8.062 kB / 1.093 GB, free: 119.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009029/3.628, allocations: 0.8829 MB / 1.094 GB, free: 119.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01055/3.638, allocations: 2.125 MB / 1.096 GB, free: 119.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001436/3.64, allocations: 88.14 kB / 1.096 GB, free: 119.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03471/3.674, allocations: 16.19 MB / 1.112 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/3.674, allocations: 7.125 kB / 1.112 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04516/3.72, allocations: 17.79 MB / 1.129 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00643/3.726, allocations: 1.611 MB / 1.131 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003018/3.729, allocations: 87.08 kB / 1.131 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008584/3.738, allocations: 354.2 kB / 1.131 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001954/3.74, allocations: 291.3 kB / 1.132 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005548/3.74, allocations: 126.1 kB / 1.132 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01395/3.754, allocations: 5.285 MB / 1.137 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.02e-07/3.754, allocations: 0 / 1.137 GB, free: 103.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0148/3.769, allocations: 2.273 MB / 1.139 GB, free: 103.6 MB / 0.5417 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (406): * Single equations (assignments): 400 * 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.001775/3.771, allocations: 255.5 kB / 1.14 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02965/3.801, allocations: 12.55 MB / 1.152 GB, free: 99.33 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/3.801, allocations: 3.5 kB / 1.152 GB, free: 99.33 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01458/3.815, allocations: 5.355 MB / 1.157 GB, free: 97.17 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008166/3.823, allocations: 0.937 MB / 1.158 GB, free: 96.78 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05994/3.883, allocations: 26.42 MB / 1.184 GB, free: 79.25 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01562/3.899, allocations: 6.596 MB / 1.19 GB, free: 74.46 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004903/3.904, allocations: 0.6069 MB / 1.191 GB, free: 73.89 MB / 0.5417 GB Notification: Performance of SimCode: time 2.034e-06/3.904, allocations: 0 / 1.191 GB, free: 73.89 MB / 0.5417 GB Notification: Performance of Templates: time 0.8146/4.719, allocations: 236.3 MB / 1.422 GB, free: 22.19 MB / 0.5417 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