Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,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",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,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",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001019/0.001019, allocations: 190.9 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 226.5 MB / 244.1 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008921/0.0008923, allocations: 99.7 kB / 296.1 MB, free: 6.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.339/0.339, allocations: 44.82 MB / 392.9 MB, free: 35.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002608/0.0002609, allocations: 8 kB / 465.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2935, allocations: 62.95 MB / 0.5165 GB, free: 36.99 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.133/0.4265, allocations: 111.8 MB / 0.6256 GB, free: 9.586 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.4268, allocations: 83.95 kB / 0.6257 GB, free: 9.504 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5556/0.9824, allocations: 137.3 MB / 0.7598 GB, free: 82.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.9825, allocations: 0 / 0.7598 GB, free: 82.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005186/0.983, allocations: 135.2 kB / 0.7599 GB, free: 82.5 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: 2487 * Number of variables: 2487 Notification: Performance of Generate backend data structure: time 0.02371/1.007, allocations: 7.157 MB / 0.7669 GB, free: 76.38 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/1.007, allocations: 12.03 kB / 0.7669 GB, free: 76.37 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02232/1.029, allocations: 5.548 MB / 0.7723 GB, free: 70.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01393/1.043, allocations: 5.998 MB / 0.7782 GB, free: 64.72 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005573/1.044, allocations: 0.526 MB / 0.7787 GB, free: 64.19 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00345/1.047, allocations: 0.707 MB / 0.7794 GB, free: 63.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03757/1.085, allocations: 17.3 MB / 0.7963 GB, free: 44.73 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005215/1.085, allocations: 91.31 kB / 0.7964 GB, free: 44.64 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003094/1.088, allocations: 343.8 kB / 0.7967 GB, free: 44.3 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002342/1.091, allocations: 1.628 MB / 0.7983 GB, free: 42.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02821/1.119, allocations: 13.92 MB / 0.8119 GB, free: 28.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3493/1.468, allocations: 76.54 MB / 0.8866 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01859/1.487, allocations: 7.801 MB / 0.8943 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004766/1.492, allocations: 4.075 MB / 0.8982 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01686/1.509, allocations: 10.06 MB / 0.9081 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.084e-05/1.509, allocations: 63.56 kB / 0.9081 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=277): time 6.633e-06/1.509, allocations: 0 / 0.9081 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=319): time 0.08673/1.596, allocations: 32.42 MB / 0.9398 GB, free: 99.19 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.815e-05/1.596, allocations: 243.2 kB / 0.94 GB, free: 98.93 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01313/1.609, allocations: 7.067 MB / 0.9469 GB, free: 96.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008285/1.61, allocations: 80.3 kB / 0.947 GB, free: 96.43 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003393/1.613, allocations: 4.906 MB / 0.9518 GB, free: 92.67 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001526/1.615, allocations: 1.199 MB / 0.9529 GB, free: 91.79 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008121/1.616, allocations: 180.8 kB / 0.9531 GB, free: 91.65 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004471/1.616, allocations: 0.686 MB / 0.9538 GB, free: 91.18 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005126/1.621, allocations: 3.508 MB / 0.9572 GB, free: 90.01 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008276/1.63, allocations: 8.811 MB / 0.9658 GB, free: 81.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01405/1.644, allocations: 13.41 MB / 0.9789 GB, free: 72.02 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002415/1.644, allocations: 52.16 kB / 0.979 GB, free: 72.02 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.02659/1.67, allocations: 13.56 MB / 0.9922 GB, free: 64.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001359/1.671, allocations: 84 kB / 0.9923 GB, free: 64.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002676/1.671, allocations: 184 kB / 0.9925 GB, free: 64.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004222/1.675, allocations: 1.685 MB / 0.9941 GB, free: 63.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007845/1.683, allocations: 2.177 MB / 0.9962 GB, free: 61.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01273/1.696, allocations: 11.41 MB / 1.007 GB, free: 51.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008034/1.704, allocations: 0.5071 MB / 1.008 GB, free: 50.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002104/1.706, allocations: 0.5277 MB / 1.008 GB, free: 50.08 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 847 * Number of states: 0 () * Number of discrete variables: 83 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque2.forceArrow.color[3],forceAndTorque2.forceArrow.color[2],forceAndTorque2.forceArrow.color[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[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.forceArrow.color[3],forceAndTorque1.forceArrow.color[2],forceAndTorque1.forceArrow.color[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1102): * Single equations (assignments): 1097 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008335/1.714, allocations: 3.352 MB / 1.012 GB, free: 47.12 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001716/1.716, allocations: 0.6016 MB / 1.012 GB, free: 46.52 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01292/1.729, allocations: 6.72 MB / 1.019 GB, free: 41.08 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.566e-05/1.729, allocations: 38.27 kB / 1.019 GB, free: 41.05 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.383e-05/1.729, allocations: 8 kB / 1.019 GB, free: 41.04 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-05/1.729, allocations: 14.77 kB / 1.019 GB, free: 41.04 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03306/1.762, allocations: 15.77 MB / 1.034 GB, free: 28.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.683e-05/1.762, allocations: 4.656 kB / 1.034 GB, free: 28.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003067/1.766, allocations: 0.6303 MB / 1.035 GB, free: 27.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003509/1.769, allocations: 1.419 MB / 1.036 GB, free: 26.64 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006561/1.77, allocations: 59.94 kB / 1.036 GB, free: 26.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01178/1.782, allocations: 10.63 MB / 1.047 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/1.782, allocations: 15.78 kB / 1.047 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01781/1.799, allocations: 10.99 MB / 1.057 GB, free: 4.527 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001887/1.801, allocations: 0.6805 MB / 1.058 GB, free: 3.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00187/1.803, allocations: 67.92 kB / 1.058 GB, free: 3.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003652/1.807, allocations: 199.7 kB / 1.058 GB, free: 3.559 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008707/1.808, allocations: 201.9 kB / 1.059 GB, free: 3.355 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003934/1.808, allocations: 84 kB / 1.059 GB, free: 3.273 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008907/1.817, allocations: 4.53 MB / 1.063 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.81e-07/1.817, allocations: 0 / 1.063 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00995/1.827, allocations: 1.683 MB / 1.065 GB, free: 13.09 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (261): * Single equations (assignments): 256 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.001041/1.828, allocations: 227 kB / 1.065 GB, free: 12.87 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01469/1.843, allocations: 8.713 MB / 1.073 GB, free: 4.168 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.376e-06/1.843, allocations: 0 / 1.073 GB, free: 4.168 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00625/1.849, allocations: 3.413 MB / 1.077 GB, free: 0.7266 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01116/1.86, allocations: 0.8052 MB / 1.078 GB, free: 15.95 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3073/2.168, allocations: 19.58 MB / 1.097 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009974/2.178, allocations: 5.057 MB / 1.102 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002246/2.18, allocations: 472.1 kB / 1.102 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of SimCode: time 1.123e-06/2.18, allocations: 0 / 1.102 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of Templates: time 0.1991/2.379, allocations: 157.3 MB / 1.256 GB, free: 32.12 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/ForcesAndTorques/ForcesAndTorques.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.ForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches