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.00153/0.00153, allocations: 199.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000834/0.0008341, allocations: 93.52 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2009/0.2009, allocations: 45.14 MB / 383.8 MB, free: 268 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.32e-05/1.322e-05, allocations: 0 / 453.2 MB, free: 75.82 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1192, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4453/0.5646, allocations: 108.4 MB / 0.6103 GB, free: 10.43 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.5648, allocations: 74.09 kB / 0.6103 GB, free: 10.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7029/1.268, allocations: 161.9 MB / 0.7685 GB, free: 99.82 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.853e-06/1.268, allocations: 0 / 0.7685 GB, free: 99.82 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0005764/1.268, allocations: 165.5 kB / 0.7687 GB, free: 99.81 MB / 0.5261 GB 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.03505/1.303, allocations: 8.169 MB / 0.7766 GB, free: 96.82 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/1.303, allocations: 7.719 kB / 0.7766 GB, free: 96.82 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03751/1.341, allocations: 9.683 MB / 0.7861 GB, free: 96.27 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02197/1.363, allocations: 8.184 MB / 0.7941 GB, free: 95.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000507/1.364, allocations: 267 kB / 0.7943 GB, free: 95.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005011/1.369, allocations: 0.4891 MB / 0.7948 GB, free: 95.29 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02334/1.392, allocations: 11.27 MB / 0.8058 GB, free: 95.25 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03973/1.432, allocations: 17.06 MB / 0.8225 GB, free: 91.05 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004649/1.432, allocations: 101.3 kB / 0.8226 GB, free: 91.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002203/1.434, allocations: 47.75 kB / 0.8226 GB, free: 91.04 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002421/1.437, allocations: 1.783 MB / 0.8244 GB, free: 91.02 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08267/1.52, allocations: 79.92 MB / 0.9024 GB, free: 32.79 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006251/1.526, allocations: 6.627 MB / 0.9089 GB, free: 26.67 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004105/1.53, allocations: 4.644 MB / 0.9134 GB, free: 22.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001528/1.53, allocations: 60.05 kB / 0.9135 GB, free: 22.39 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.013e-05/1.53, allocations: 68.28 kB / 0.9135 GB, free: 22.33 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=301): time 6.512e-06/1.53, allocations: 4 kB / 0.9135 GB, free: 22.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=365): time 0.06584/1.596, allocations: 35.65 MB / 0.9484 GB, free: 7.457 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002124/1.596, allocations: 272.5 kB / 0.9486 GB, free: 7.133 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009717/1.606, allocations: 5.087 MB / 0.9536 GB, free: 2.664 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001099/1.607, allocations: 25.7 kB / 0.9536 GB, free: 2.633 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.3265/1.934, allocations: 5.585 MB / 0.9591 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002252/1.936, allocations: 1.328 MB / 0.9604 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001002/1.937, allocations: 0.625 kB / 0.9604 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0006516/1.938, allocations: 0.7239 MB / 0.9611 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006289/1.944, allocations: 3.903 MB / 0.9649 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00937/1.953, allocations: 9.513 MB / 0.9742 GB, free: 100 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009232/1.963, allocations: 6.027 MB / 0.9801 GB, free: 99.95 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001744/1.963, allocations: 57.91 kB / 0.9801 GB, free: 99.95 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1288) (initialization): time 0.02712/1.99, allocations: 14.43 MB / 0.9942 GB, free: 99.41 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000166/1.99, allocations: 92.34 kB / 0.9943 GB, free: 99.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002444/1.99, allocations: 199.7 kB / 0.9945 GB, free: 99.41 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005264/1.996, allocations: 2.461 MB / 0.9969 GB, free: 99.37 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008036/2.004, allocations: 2.327 MB / 0.9992 GB, free: 99.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01686/2.021, allocations: 15.8 MB / 1.015 GB, free: 95.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008835/2.03, allocations: 394.6 kB / 1.015 GB, free: 95.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002073/2.032, allocations: 0.5818 MB / 1.016 GB, free: 95.02 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 909 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1192): * Single equations (assignments): 1186 * 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.001744/2.033, allocations: 0.628 MB / 1.016 GB, free: 94.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00104/2.034, allocations: 0.5615 MB / 1.017 GB, free: 94.39 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01245/2.047, allocations: 8.337 MB / 1.025 GB, free: 93.31 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.218e-05/2.047, allocations: 40.56 kB / 1.025 GB, free: 93.31 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.592e-05/2.047, allocations: 17.97 kB / 1.025 GB, free: 93.31 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-05/2.047, allocations: 17.67 kB / 1.025 GB, free: 93.31 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02927/2.076, allocations: 17.4 MB / 1.042 GB, free: 87.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.885e-05/2.076, allocations: 3.312 kB / 1.042 GB, free: 87.33 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003037/2.079, allocations: 0.6355 MB / 1.043 GB, free: 87.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004703/2.084, allocations: 2.105 MB / 1.045 GB, free: 86.87 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006009/2.085, allocations: 11.47 kB / 1.045 GB, free: 86.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01531/2.1, allocations: 14.72 MB / 1.059 GB, free: 78.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-06/2.1, allocations: 0 / 1.059 GB, free: 78.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01739/2.118, allocations: 13.38 MB / 1.072 GB, free: 71.03 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001855/2.119, allocations: 0.5825 MB / 1.073 GB, free: 70.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001534/2.121, allocations: 4 kB / 1.073 GB, free: 70.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00326/2.124, allocations: 226.2 kB / 1.073 GB, free: 70.32 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006033/2.125, allocations: 213.5 kB / 1.073 GB, free: 70.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002487/2.125, allocations: 96.19 kB / 1.073 GB, free: 70.11 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00517/2.13, allocations: 3.414 MB / 1.076 GB, free: 67.14 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.4e-07/2.13, allocations: 0 / 1.076 GB, free: 67.14 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009459/2.14, allocations: 1.705 MB / 1.078 GB, free: 65.45 MB / 0.5417 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (290): * Single equations (assignments): 284 * 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.0007194/2.141, allocations: 162.8 kB / 1.078 GB, free: 65.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01391/2.154, allocations: 10.04 MB / 1.088 GB, free: 56.34 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/2.155, allocations: 0.875 kB / 1.088 GB, free: 56.34 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005547/2.16, allocations: 4.187 MB / 1.092 GB, free: 52.61 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004317/2.164, allocations: 0.7217 MB / 1.093 GB, free: 52.04 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02814/2.193, allocations: 15.6 MB / 1.108 GB, free: 38.16 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006815/2.199, allocations: 5.93 MB / 1.114 GB, free: 33.82 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00782/2.207, allocations: 3.175 MB / 1.117 GB, free: 31.79 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001574/2.209, allocations: 417.1 kB / 1.117 GB, free: 31.41 MB / 0.5417 GB Notification: Performance of SimCode: time 1.303e-06/2.209, allocations: 2.531 kB / 1.117 GB, free: 31.41 MB / 0.5417 GB Notification: Performance of Templates: time 0.3941/2.603, allocations: 66.34 MB / 1.182 GB, free: 103.5 MB / 0.5573 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/jenkins/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