Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009098/0.0009096, allocations: 175.8 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.185/1.185, allocations: 205.4 MB / 222.9 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006966/0.0006966, allocations: 89.03 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2836/0.2836, allocations: 43.57 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000324/0.0003241, allocations: 8 kB / 432 MB, free: 5.812 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0944/0.09474, allocations: 58.85 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.2143/0.3091, allocations: 81.37 MB / 0.5588 GB, free: 8.512 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03338/0.3425, allocations: 16.61 MB / 0.575 GB, free: 13.16 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01496/0.3575, allocations: 386.7 kB / 0.5754 GB, free: 13.1 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0128/0.3704, allocations: 4.274 MB / 0.5795 GB, free: 11.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03297/0.4034, allocations: 12.44 MB / 0.5917 GB, free: 3.012 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00548/0.4089, allocations: 0.9876 MB / 0.5927 GB, free: 2.023 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.04332/0.4522, allocations: 35.97 MB / 0.6278 GB, free: 14 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01195/0.4642, allocations: 7.78 MB / 0.6354 GB, free: 6.156 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003622/0.4679, allocations: 1.946 MB / 0.6373 GB, free: 4.203 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004397/0.4723, allocations: 3.076 MB / 0.6403 GB, free: 1.117 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00153/0.4739, allocations: 236 kB / 0.6405 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003339/0.4772, allocations: 1.307 MB / 0.6418 GB, free: 15.58 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003167/0.4804, allocations: 2.684 MB / 0.6444 GB, free: 12.89 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004057/0.4845, allocations: 2.976 MB / 0.6473 GB, free: 9.887 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008701/0.4932, allocations: 8.806 MB / 0.6559 GB, free: 1.059 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4933, allocations: 3.938 kB / 0.6559 GB, free: 1.055 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4933, allocations: 4 kB / 0.6559 GB, free: 1.051 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003162/0.4936, allocations: 0 / 0.6559 GB, free: 1.051 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.01224/0.5059, allocations: 6.172 MB / 0.662 GB, free: 10.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.5059, allocations: 8.031 kB / 0.662 GB, free: 10.79 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01151/0.5174, allocations: 2.854 MB / 0.6647 GB, free: 7.922 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008385/0.5259, allocations: 4.261 MB / 0.6689 GB, free: 3.602 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002903/0.5262, allocations: 385.7 kB / 0.6693 GB, free: 3.223 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001345/0.5275, allocations: 0.5035 MB / 0.6698 GB, free: 2.719 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1899/0.7174, allocations: 16.39 MB / 0.6858 GB, free: 135.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001633/0.7176, allocations: 61.03 kB / 0.6858 GB, free: 135.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005753/0.7182, allocations: 242 kB / 0.6861 GB, free: 135.6 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004397/0.7226, allocations: 3.152 MB / 0.6891 GB, free: 135.1 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02336/0.746, allocations: 14.22 MB / 0.703 GB, free: 130.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06259/0.8086, allocations: 59.17 MB / 0.7608 GB, free: 85.17 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01434/0.823, allocations: 7.166 MB / 0.7678 GB, free: 77.86 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004417/0.8275, allocations: 4.489 MB / 0.7722 GB, free: 73.36 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01807/0.8456, allocations: 15.43 MB / 0.7873 GB, free: 57.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.8456, allocations: 72.5 kB / 0.7873 GB, free: 57.83 MB / 490.7 MB Notification: Performance of pre-optimization done (n=306): time 5.631e-06/0.8456, allocations: 3.984 kB / 0.7873 GB, free: 57.82 MB / 490.7 MB Notification: Performance of matching and sorting (n=348): time 0.06803/0.9137, allocations: 32.77 MB / 0.8193 GB, free: 24.89 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.9138, allocations: 218.2 kB / 0.8195 GB, free: 24.63 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005877/0.9197, allocations: 5.32 MB / 0.8247 GB, free: 19.33 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007529/0.9204, allocations: 84.52 kB / 0.8248 GB, free: 19.24 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002013/0.9225, allocations: 4.334 MB / 0.829 GB, free: 14.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001379/0.9239, allocations: 1.277 MB / 0.8303 GB, free: 13.64 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006/0.9245, allocations: 168 kB / 0.8305 GB, free: 13.47 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000332/0.9248, allocations: 0.6616 MB / 0.8311 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005163/0.93, allocations: 3.889 MB / 0.8349 GB, free: 8.902 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007412/0.9374, allocations: 8.389 MB / 0.8431 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01603/0.9535, allocations: 13.19 MB / 0.856 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001139/0.9536, allocations: 44 kB / 0.856 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1104) (initialization): time 0.02483/0.9785, allocations: 14.19 MB / 0.8699 GB, free: 0.6328 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.61e-05/0.9786, allocations: 75.94 kB / 0.8699 GB, free: 0.5586 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001585/0.9788, allocations: 156 kB / 0.8701 GB, free: 416 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1856/1.164, allocations: 2.256 MB / 0.8723 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0072/1.172, allocations: 1.988 MB / 0.8742 GB, free: 152.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01587/1.188, allocations: 13.48 MB / 0.8874 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005969/1.194, allocations: 0.5046 MB / 0.8879 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001423/1.195, allocations: 492.4 kB / 0.8884 GB, free: 148.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * Number of states: 0 () * Number of discrete variables: 51 (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 (1032): * Single equations (assignments): 1027 * 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.005415/1.2, allocations: 3.095 MB / 0.8914 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001112/1.202, allocations: 0.4922 MB / 0.8919 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01339/1.215, allocations: 8.382 MB / 0.9 GB, free: 143.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.47e-05/1.215, allocations: 40.67 kB / 0.9001 GB, free: 143.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.437e-05/1.215, allocations: 8.781 kB / 0.9001 GB, free: 143.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.534e-05/1.215, allocations: 14.2 kB / 0.9001 GB, free: 143.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02766/1.243, allocations: 17.14 MB / 0.9168 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-05/1.243, allocations: 1.656 kB / 0.9168 GB, free: 137.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003041/1.246, allocations: 0.6126 MB / 0.9174 GB, free: 137.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005031/1.251, allocations: 2.037 MB / 0.9194 GB, free: 137.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005316/1.251, allocations: 60.48 kB / 0.9195 GB, free: 137.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01364/1.265, allocations: 12.72 MB / 0.9319 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/1.265, allocations: 3.125 kB / 0.9319 GB, free: 131.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01728/1.282, allocations: 13.12 MB / 0.9447 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00254/1.285, allocations: 1.146 MB / 0.9458 GB, free: 121.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008364/1.286, allocations: 53.56 kB / 0.9459 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002383/1.288, allocations: 269.9 kB / 0.9462 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005175/1.289, allocations: 202 kB / 0.9463 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002387/1.289, allocations: 87.98 kB / 0.9464 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004211/1.293, allocations: 3.336 MB / 0.9497 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/1.293, allocations: 1.969 kB / 0.9497 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00621/1.299, allocations: 1.684 MB / 0.9513 GB, free: 116.1 MB / 0.5105 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 (294): * Single equations (assignments): 289 * 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.0005655/1.3, allocations: 217.2 kB / 0.9515 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01182/1.312, allocations: 9.493 MB / 0.9608 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/1.312, allocations: 0 / 0.9608 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005654/1.318, allocations: 4.092 MB / 0.9648 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003836/1.321, allocations: 0.6337 MB / 0.9654 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02313/1.345, allocations: 19.1 MB / 0.9841 GB, free: 82.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004285/1.349, allocations: 4.775 MB / 0.9887 GB, free: 77.89 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001972/1.351, allocations: 439.3 kB / 0.9892 GB, free: 77.46 MB / 0.5105 GB Notification: Performance of SimCode: time 7.01e-07/1.351, allocations: 0 / 0.9892 GB, free: 77.46 MB / 0.5105 GB Notification: Performance of Templates: time 0.3255/1.676, allocations: 148.7 MB / 1.134 GB, free: 112.2 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches