Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,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.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,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.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001067/0.001067, allocations: 198.9 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 226.6 MB / 243.4 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008936/0.0008936, allocations: 91.95 kB / 295.5 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.2981/0.2981, allocations: 44.83 MB / 392.3 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002645/0.0002646, allocations: 11.98 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3157, allocations: 62.96 MB / 0.5159 GB, free: 37.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.093/0.4088, allocations: 79.5 MB / 0.5935 GB, free: 9.082 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.04967/0.4585, allocations: 16.32 MB / 0.6095 GB, free: 9.438 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01879/0.4773, allocations: 375.1 kB / 0.6098 GB, free: 9.07 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0163/0.4937, allocations: 4.234 MB / 0.6139 GB, free: 4.816 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04278/0.5365, allocations: 12.2 MB / 0.6259 GB, free: 8.57 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007289/0.5438, allocations: 0.9791 MB / 0.6268 GB, free: 7.59 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.3533/0.8971, allocations: 62.64 MB / 0.688 GB, free: 56.96 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01039/0.9076, allocations: 7.539 MB / 0.6953 GB, free: 56.2 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004785/0.9124, allocations: 1.757 MB / 0.6971 GB, free: 56.2 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005931/0.9184, allocations: 2.687 MB / 0.6997 GB, free: 56.19 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001812/0.9202, allocations: 199.9 kB / 0.6999 GB, free: 56.19 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00435/0.9246, allocations: 1.271 MB / 0.7011 GB, free: 56.19 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004403/0.929, allocations: 2.411 MB / 0.7035 GB, free: 56.19 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00486/0.9339, allocations: 2.642 MB / 0.706 GB, free: 56.16 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009179/0.9431, allocations: 7.851 MB / 0.7137 GB, free: 54.29 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.9432, allocations: 4.594 kB / 0.7137 GB, free: 54.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.9432, allocations: 0 / 0.7137 GB, free: 54.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003746/0.9436, allocations: 0 / 0.7137 GB, free: 54.29 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: 2101 * Number of variables: 2101 Notification: Performance of Generate backend data structure: time 0.01277/0.9563, allocations: 5.695 MB / 0.7193 GB, free: 50.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.9564, allocations: 11.97 kB / 0.7193 GB, free: 50.86 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01104/0.9674, allocations: 2.742 MB / 0.722 GB, free: 49.58 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008468/0.9759, allocations: 3.896 MB / 0.7258 GB, free: 48.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002494/0.9762, allocations: 352.4 kB / 0.7261 GB, free: 48.24 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001475/0.9777, allocations: 461.5 kB / 0.7266 GB, free: 48.23 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02621/1.004, allocations: 14.74 MB / 0.7409 GB, free: 37.13 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002083/1.004, allocations: 55.72 kB / 0.741 GB, free: 37.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008843/1.005, allocations: 210.2 kB / 0.7412 GB, free: 37.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004074/1.009, allocations: 2.786 MB / 0.7439 GB, free: 34.73 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02417/1.033, allocations: 12.73 MB / 0.7564 GB, free: 25.73 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06558/1.099, allocations: 53.68 MB / 0.8088 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01509/1.114, allocations: 6.235 MB / 0.8149 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004699/1.119, allocations: 3.855 MB / 0.8186 GB, free: 5.953 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02092/1.14, allocations: 13.28 MB / 0.8316 GB, free: 8.633 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.374e-05/1.14, allocations: 62.94 kB / 0.8317 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=228): time 5.601e-06/1.14, allocations: 0 / 0.8317 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of matching and sorting (n=270): time 0.08092/1.221, allocations: 29.62 MB / 0.8606 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/1.221, allocations: 213.3 kB / 0.8608 GB, free: 10.64 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007501/1.229, allocations: 5.002 MB / 0.8657 GB, free: 5.637 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000655/1.229, allocations: 69.7 kB / 0.8657 GB, free: 5.562 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.002731/1.232, allocations: 3.976 MB / 0.8696 GB, free: 1.609 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00132/1.233, allocations: 1.018 MB / 0.8706 GB, free: 0.5977 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004877/1.234, allocations: 144 kB / 0.8707 GB, free: 468 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0004046/1.234, allocations: 0.6201 MB / 0.8714 GB, free: 15.83 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005221/1.239, allocations: 3.274 MB / 0.8745 GB, free: 12.55 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008486/1.248, allocations: 7.406 MB / 0.8818 GB, free: 3.203 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01384/1.262, allocations: 11.47 MB / 0.893 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000103/1.262, allocations: 47.94 kB / 0.893 GB, free: 6.277 MB / 0.5886 GB Notification: Performance of matching and sorting (n=972) (initialization): time 0.2517/1.514, allocations: 12.54 MB / 0.9053 GB, free: 218.3 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.121e-05/1.514, allocations: 69.38 kB / 0.9053 GB, free: 218.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001792/1.514, allocations: 145.2 kB / 0.9055 GB, free: 218.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00526/1.519, allocations: 2.24 MB / 0.9077 GB, free: 218.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005593/1.525, allocations: 1.713 MB / 0.9093 GB, free: 218.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01587/1.541, allocations: 13.48 MB / 0.9225 GB, free: 211.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005536/1.546, allocations: 448.1 kB / 0.9229 GB, free: 211.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001215/1.548, allocations: 442.7 kB / 0.9234 GB, free: 211.7 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 654 * Number of states: 0 () * Number of discrete variables: 59 (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,fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (900): * Single equations (assignments): 895 * 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.005924/1.554, allocations: 2.804 MB / 0.9261 GB, free: 210.6 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000964/1.555, allocations: 461.1 kB / 0.9265 GB, free: 210.6 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01309/1.568, allocations: 6.984 MB / 0.9333 GB, free: 208.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.835e-05/1.568, allocations: 32.72 kB / 0.9334 GB, free: 208.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.924e-05/1.568, allocations: 9.031 kB / 0.9334 GB, free: 208.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.507e-05/1.568, allocations: 13.62 kB / 0.9334 GB, free: 208.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02603/1.594, allocations: 14.55 MB / 0.9476 GB, free: 203.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.222e-05/1.594, allocations: 0 / 0.9476 GB, free: 203.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002213/1.596, allocations: 453.1 kB / 0.948 GB, free: 203.3 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00475/1.601, allocations: 2.029 MB / 0.95 GB, free: 202.9 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004665/1.601, allocations: 49.48 kB / 0.9501 GB, free: 202.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01435/1.616, allocations: 12.71 MB / 0.9625 GB, free: 196.6 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.616, allocations: 0 / 0.9625 GB, free: 196.6 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01551/1.631, allocations: 10.96 MB / 0.9732 GB, free: 187.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001402/1.633, allocations: 0.502 MB / 0.9737 GB, free: 187 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008436/1.634, allocations: 53.3 kB / 0.9737 GB, free: 187 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002032/1.636, allocations: 219 kB / 0.9739 GB, free: 186.8 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005031/1.636, allocations: 157.4 kB / 0.9741 GB, free: 186.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002088/1.636, allocations: 65.41 kB / 0.9741 GB, free: 186.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.004868/1.641, allocations: 3.132 MB / 0.9772 GB, free: 183.4 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.71e-07/1.641, allocations: 0 / 0.9772 GB, free: 183.4 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006833/1.648, allocations: 1.486 MB / 0.9787 GB, free: 182 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (212): * Single equations (assignments): 207 * 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.0006038/1.649, allocations: 184.5 kB / 0.9788 GB, free: 181.8 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01177/1.661, allocations: 8.045 MB / 0.9867 GB, free: 173.9 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.661, allocations: 0 / 0.9867 GB, free: 173.9 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.005074/1.666, allocations: 3.41 MB / 0.99 GB, free: 170.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004497/1.67, allocations: 0.6162 MB / 0.9906 GB, free: 169.9 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02229/1.693, allocations: 16.84 MB / 1.007 GB, free: 153.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004289/1.697, allocations: 4.338 MB / 1.011 GB, free: 148.7 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00168/1.699, allocations: 375.3 kB / 1.012 GB, free: 148.3 MB / 0.5886 GB Notification: Performance of SimCode: time 1.663e-06/1.699, allocations: 0 / 1.012 GB, free: 148.3 MB / 0.5886 GB Notification: Performance of Templates: time 0.3517/2.05, allocations: 131.6 MB / 1.14 GB, free: 214 MB / 0.5886 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches