Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000859/0.0008589, allocations: 179.2 kB / 18.09 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.333/1.333, allocations: 223.3 MB / 242.1 MB, free: 9.961 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009356/0.0009355, allocations: 96.11 kB / 293.3 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3883/0.3883, allocations: 44.14 MB / 388.5 MB, free: 38.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003791/0.0003791, allocations: 12 kB / 461.1 MB, free: 1.336 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3598/0.3602, allocations: 61.88 MB / 0.5107 GB, free: 37.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.4982, allocations: 108.4 MB / 0.6166 GB, free: 2.633 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.4985, allocations: 83.88 kB / 0.6167 GB, free: 2.555 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6072/1.106, allocations: 159.3 MB / 0.7722 GB, free: 73.93 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.619e-06/1.106, allocations: 0 / 0.7722 GB, free: 73.93 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007502/1.107, allocations: 176.8 kB / 0.7724 GB, free: 73.92 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.02827/1.135, allocations: 8.278 MB / 0.7804 GB, free: 66.08 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/1.135, allocations: 8.031 kB / 0.7805 GB, free: 66.07 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02827/1.163, allocations: 7.212 MB / 0.7875 GB, free: 58.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02076/1.184, allocations: 7.733 MB / 0.795 GB, free: 51.02 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007405/1.185, allocations: 0.622 MB / 0.7957 GB, free: 50.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005142/1.19, allocations: 0.8241 MB / 0.7965 GB, free: 49.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04386/1.234, allocations: 19.85 MB / 0.8158 GB, free: 28.15 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000494/1.234, allocations: 107.2 kB / 0.8159 GB, free: 28.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002864/1.237, allocations: 395.8 kB / 0.8163 GB, free: 27.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002167/1.239, allocations: 1.778 MB / 0.8181 GB, free: 25.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03314/1.273, allocations: 16.3 MB / 0.834 GB, free: 9.562 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4585/1.731, allocations: 83.27 MB / 0.9153 GB, free: 43.43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0176/1.749, allocations: 7.964 MB / 0.9231 GB, free: 42.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005553/1.754, allocations: 4.758 MB / 0.9277 GB, free: 42.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000173/1.755, allocations: 59.16 kB / 0.9278 GB, free: 42.69 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.649e-05/1.755, allocations: 72.92 kB / 0.9278 GB, free: 42.65 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=301): time 5.43e-06/1.755, allocations: 0 / 0.9278 GB, free: 42.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=364): time 0.08864/1.843, allocations: 38.54 MB / 0.9655 GB, free: 35.74 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.489e-05/1.843, allocations: 276.7 kB / 0.9657 GB, free: 35.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01116/1.855, allocations: 7.829 MB / 0.9734 GB, free: 33.04 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008263/1.855, allocations: 80.83 kB / 0.9735 GB, free: 32.96 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003332/1.859, allocations: 5.552 MB / 0.9789 GB, free: 28.72 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001821/1.861, allocations: 1.364 MB / 0.9802 GB, free: 27.72 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005302/1.861, allocations: 193.7 kB / 0.9804 GB, free: 27.57 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004398/1.862, allocations: 0.7141 MB / 0.9811 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005355/1.867, allocations: 4.125 MB / 0.9851 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007938/1.875, allocations: 9.69 MB / 0.9946 GB, free: 16.96 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01567/1.891, allocations: 14.98 MB / 1.009 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002114/1.891, allocations: 56.75 kB / 1.009 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1263) (initialization): time 0.0397/1.931, allocations: 15.83 MB / 1.025 GB, free: 9.883 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003199/1.931, allocations: 88.94 kB / 1.025 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000499/1.931, allocations: 192 kB / 1.025 GB, free: 9.609 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008131/1.94, allocations: 2.421 MB / 1.027 GB, free: 7.848 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008718/1.948, allocations: 2.283 MB / 1.03 GB, free: 5.918 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.023/1.971, allocations: 17 MB / 1.046 GB, free: 6.906 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008314/1.98, allocations: 0.5787 MB / 1.047 GB, free: 6.422 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001879/1.982, allocations: 0.5721 MB / 1.047 GB, free: 5.871 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.009479/1.991, allocations: 3.771 MB / 1.051 GB, free: 2.559 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001814/1.993, allocations: 0.6749 MB / 1.052 GB, free: 1.875 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02015/2.013, allocations: 9.03 MB / 1.06 GB, free: 11.52 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-05/2.013, allocations: 42.97 kB / 1.061 GB, free: 11.48 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-05/2.013, allocations: 12 kB / 1.061 GB, free: 11.47 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-05/2.013, allocations: 18.98 kB / 1.061 GB, free: 11.47 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04189/2.055, allocations: 19.07 MB / 1.079 GB, free: 9.832 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-05/2.055, allocations: 0 / 1.079 GB, free: 9.832 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003312/2.058, allocations: 0.6357 MB / 1.08 GB, free: 9.195 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005475/2.064, allocations: 2.138 MB / 1.082 GB, free: 7.051 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000591/2.065, allocations: 63.98 kB / 1.082 GB, free: 6.988 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.338/2.403, allocations: 15.71 MB / 1.097 GB, free: 146.4 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/2.403, allocations: 0 / 1.097 GB, free: 146.4 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02048/2.423, allocations: 13.73 MB / 1.111 GB, free: 145.7 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00298/2.426, allocations: 0.7466 MB / 1.111 GB, free: 145.6 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002434/2.429, allocations: 60.31 kB / 1.111 GB, free: 145.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003941/2.433, allocations: 283.7 kB / 1.112 GB, free: 145.6 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008642/2.433, allocations: 213.1 kB / 1.112 GB, free: 145.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002623/2.434, allocations: 94.81 kB / 1.112 GB, free: 145.6 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01007/2.444, allocations: 4.989 MB / 1.117 GB, free: 145.4 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.71e-07/2.444, allocations: 2.25 kB / 1.117 GB, free: 145.4 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01117/2.455, allocations: 1.975 MB / 1.119 GB, free: 145.4 MB / 0.573 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.0008686/2.456, allocations: 216.5 kB / 1.119 GB, free: 145.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01547/2.471, allocations: 10.37 MB / 1.129 GB, free: 144.9 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/2.471, allocations: 2.594 kB / 1.129 GB, free: 144.9 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.007197/2.479, allocations: 4.365 MB / 1.133 GB, free: 143.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008417/2.487, allocations: 0.9582 MB / 1.134 GB, free: 142.9 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02809/2.515, allocations: 22.06 MB / 1.156 GB, free: 132.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006665/2.522, allocations: 5.752 MB / 1.162 GB, free: 130.5 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.008458/2.53, allocations: 3.267 MB / 1.165 GB, free: 130.3 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001858/2.532, allocations: 456.5 kB / 1.165 GB, free: 130.2 MB / 0.573 GB Notification: Performance of SimCode: time 1.172e-06/2.532, allocations: 0 / 1.165 GB, free: 130.2 MB / 0.573 GB Notification: Performance of Templates: time 0.1174/2.65, allocations: 79.64 MB / 1.243 GB, free: 72.39 MB / 0.573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches