Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.FrameForcesAndTorques,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.FrameForcesAndTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00111/0.00111, allocations: 198.1 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 226.5 MB / 243.4 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007805/0.0007803, allocations: 92.44 kB / 295.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2971/0.2971, allocations: 44.83 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002782/0.0002783, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3033, allocations: 62.95 MB / 0.5159 GB, free: 37.23 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques): time 0.06824/0.3716, allocations: 86.69 MB / 0.6005 GB, free: 2.152 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.04333/0.4149, allocations: 17.6 MB / 0.6177 GB, free: 0.8984 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01693/0.4319, allocations: 407.1 kB / 0.6181 GB, free: 0.5 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01433/0.4463, allocations: 4.619 MB / 0.6226 GB, free: 11.86 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0338/0.4801, allocations: 13.34 MB / 0.6356 GB, free: 14.47 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005706/0.4858, allocations: 0.9752 MB / 0.6366 GB, free: 13.5 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.3252/0.8111, allocations: 63.1 MB / 0.6982 GB, free: 46.9 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009233/0.8203, allocations: 7.703 MB / 0.7057 GB, free: 46.02 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003044/0.8234, allocations: 1.865 MB / 0.7076 GB, free: 46.02 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003836/0.8273, allocations: 2.859 MB / 0.7103 GB, free: 46.01 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008014/0.8281, allocations: 209.2 kB / 0.7105 GB, free: 46.01 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0024/0.8305, allocations: 1.303 MB / 0.7118 GB, free: 46.01 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002111/0.8326, allocations: 2.601 MB / 0.7144 GB, free: 46.01 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002694/0.8353, allocations: 2.811 MB / 0.7171 GB, free: 45.98 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006968/0.8423, allocations: 8.246 MB / 0.7252 GB, free: 42.38 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.8424, allocations: 4 kB / 0.7252 GB, free: 42.37 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.8424, allocations: 0 / 0.7252 GB, free: 42.37 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003223/0.8427, allocations: 0 / 0.7252 GB, free: 42.37 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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.01138/0.8541, allocations: 6.124 MB / 0.7311 GB, free: 37.15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.8541, allocations: 8.031 kB / 0.7311 GB, free: 37.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01055/0.8647, allocations: 2.823 MB / 0.7339 GB, free: 34.42 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007588/0.8723, allocations: 4.183 MB / 0.738 GB, free: 31.33 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/0.8725, allocations: 364.5 kB / 0.7383 GB, free: 31.13 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00109/0.8736, allocations: 481.4 kB / 0.7388 GB, free: 30.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02239/0.896, allocations: 15.24 MB / 0.7537 GB, free: 18.87 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001765/0.8962, allocations: 65.45 kB / 0.7537 GB, free: 18.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000617/0.8969, allocations: 232.3 kB / 0.754 GB, free: 18.77 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004037/0.9009, allocations: 2.886 MB / 0.7568 GB, free: 16.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02239/0.9233, allocations: 12.96 MB / 0.7694 GB, free: 7.223 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06754/0.9909, allocations: 57.33 MB / 0.8254 GB, free: 7.277 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01529/1.006, allocations: 5.794 MB / 0.8311 GB, free: 2.551 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004866/1.011, allocations: 3.646 MB / 0.8346 GB, free: 332 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01497/1.026, allocations: 8.199 MB / 0.8427 GB, free: 9.211 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.089e-05/1.026, allocations: 56.22 kB / 0.8427 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=227): time 6.182e-06/1.026, allocations: 0 / 0.8427 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of matching and sorting (n=269): time 0.08253/1.109, allocations: 31.13 MB / 0.8731 GB, free: 9.859 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/1.109, allocations: 238.9 kB / 0.8733 GB, free: 9.582 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01101/1.12, allocations: 6.409 MB / 0.8796 GB, free: 3.168 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008297/1.121, allocations: 65.7 kB / 0.8797 GB, free: 3.098 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00391/1.125, allocations: 4.363 MB / 0.8839 GB, free: 14.77 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.001737/1.127, allocations: 1.028 MB / 0.8849 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006323/1.127, allocations: 164 kB / 0.8851 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0004981/1.128, allocations: 0.6494 MB / 0.8857 GB, free: 12.93 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005758/1.133, allocations: 3.416 MB / 0.8891 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2546/1.388, allocations: 8.13 MB / 0.897 GB, free: 219.2 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0139/1.402, allocations: 12.43 MB / 0.9091 GB, free: 210.9 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001427/1.402, allocations: 47.66 kB / 0.9092 GB, free: 210.9 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1075) (initialization): time 0.02309/1.425, allocations: 13.39 MB / 0.9222 GB, free: 206.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001235/1.426, allocations: 75.53 kB / 0.9223 GB, free: 206.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002267/1.426, allocations: 164.6 kB / 0.9225 GB, free: 206.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006019/1.432, allocations: 2.269 MB / 0.9247 GB, free: 206 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007136/1.439, allocations: 1.882 MB / 0.9265 GB, free: 205.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01842/1.457, allocations: 13.42 MB / 0.9396 GB, free: 199.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007604/1.465, allocations: 496.8 kB / 0.9401 GB, free: 199 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001547/1.467, allocations: 489.3 kB / 0.9406 GB, free: 198.9 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 750 * Number of states: 0 () * Number of discrete variables: 65 (frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.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 (993): * Single equations (assignments): 986 * Array equations: 5 * 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 {(3,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005579/1.472, allocations: 3.006 MB / 0.9435 GB, free: 197.7 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001269/1.474, allocations: 0.5341 MB / 0.944 GB, free: 197.7 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01158/1.485, allocations: 6.978 MB / 0.9508 GB, free: 195.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.089e-05/1.485, allocations: 31.55 kB / 0.9509 GB, free: 195.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-05/1.485, allocations: 11.75 kB / 0.9509 GB, free: 195.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.667e-05/1.485, allocations: 11.72 kB / 0.9509 GB, free: 195.3 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02222/1.507, allocations: 14.64 MB / 0.9652 GB, free: 188.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.041e-05/1.508, allocations: 16 kB / 0.9652 GB, free: 188.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002054/1.51, allocations: 442.5 kB / 0.9656 GB, free: 188.5 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004653/1.514, allocations: 2.036 MB / 0.9676 GB, free: 186.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003153/1.515, allocations: 44 kB / 0.9677 GB, free: 186.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01401/1.529, allocations: 12.76 MB / 0.9801 GB, free: 173.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.529, allocations: 4 kB / 0.9801 GB, free: 173.9 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01423/1.543, allocations: 11.03 MB / 0.9909 GB, free: 162.9 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/1.544, allocations: 0.6267 MB / 0.9915 GB, free: 162.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008596/1.545, allocations: 48 kB / 0.9916 GB, free: 162.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002227/1.548, allocations: 195.7 kB / 0.9917 GB, free: 162 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004975/1.548, allocations: 165.7 kB / 0.9919 GB, free: 161.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001905/1.548, allocations: 73.83 kB / 0.992 GB, free: 161.8 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.005663/1.554, allocations: 4.091 MB / 0.996 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.61e-07/1.554, allocations: 0 / 0.996 GB, free: 157.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.007388/1.561, allocations: 1.565 MB / 0.9975 GB, free: 156.1 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (211): * Single equations (assignments): 206 * 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 {(5,72.0%) 17,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005482/1.562, allocations: 193.3 kB / 0.9977 GB, free: 155.9 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01082/1.573, allocations: 8.382 MB / 1.006 GB, free: 147.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/1.573, allocations: 4 kB / 1.006 GB, free: 147.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.005004/1.578, allocations: 3.466 MB / 1.009 GB, free: 144.1 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006538/1.584, allocations: 0.707 MB / 1.01 GB, free: 143.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02344/1.608, allocations: 17.74 MB / 1.027 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003913/1.612, allocations: 4.582 MB / 1.032 GB, free: 120.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001835/1.614, allocations: 423.4 kB / 1.032 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of SimCode: time 9.72e-07/1.614, allocations: 0 / 1.032 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of Templates: time 0.3999/2.014, allocations: 142.3 MB / 1.171 GB, free: 201 MB / 0.5886 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches