Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 185.6 kB / 17.06 MB, free: 5.07 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 223.2 MB / 241 MB, free: 11.86 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008614/0.0008615, allocations: 89.25 kB / 292.1 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3355/0.3355, allocations: 44.22 MB / 387.5 MB, free: 38.8 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002981/0.000298, allocations: 19.98 kB / 459.9 MB, free: 1.512 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3426, allocations: 61.9 MB / 0.5096 GB, free: 38.09 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1332/0.4759, allocations: 107.5 MB / 0.6145 GB, free: 3.586 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003787/0.4764, allocations: 83.91 kB / 0.6146 GB, free: 3.508 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5817/1.058, allocations: 120 MB / 0.7318 GB, free: 92.88 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.964e-06/1.058, allocations: 0 / 0.7318 GB, free: 92.88 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002439/1.058, allocations: 117.6 kB / 0.7319 GB, free: 92.87 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.01822/1.077, allocations: 6.292 MB / 0.7381 GB, free: 89.81 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/1.077, allocations: 15.06 kB / 0.7381 GB, free: 89.81 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02564/1.102, allocations: 6.963 MB / 0.7449 GB, free: 88.75 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01657/1.119, allocations: 6.686 MB / 0.7514 GB, free: 86.22 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003417/1.119, allocations: 459.5 kB / 0.7519 GB, free: 86 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002539/1.122, allocations: 0.5906 MB / 0.7524 GB, free: 85.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03411/1.156, allocations: 15.03 MB / 0.7671 GB, free: 76.77 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004195/1.156, allocations: 78.23 kB / 0.7672 GB, free: 76.72 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002575/1.159, allocations: 283.6 kB / 0.7675 GB, free: 76.53 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001799/1.161, allocations: 1.372 MB / 0.7688 GB, free: 75.95 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02379/1.185, allocations: 12.68 MB / 0.7812 GB, free: 63.25 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06322/1.248, allocations: 60.84 MB / 0.8406 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01537/1.263, allocations: 6.13 MB / 0.8466 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02009/1.284, allocations: 12.85 MB / 0.8591 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.436e-05/1.284, allocations: 60.56 kB / 0.8592 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=228): time 5.28e-06/1.284, allocations: 0 / 0.8592 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=270): time 0.3368/1.62, allocations: 27.22 MB / 0.8858 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.259e-05/1.621, allocations: 215.9 kB / 0.886 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006952/1.628, allocations: 4.442 MB / 0.8903 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007527/1.628, allocations: 64.02 kB / 0.8904 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00256/1.631, allocations: 4.036 MB / 0.8943 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001264/1.632, allocations: 1.012 MB / 0.8953 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003631/1.633, allocations: 145 kB / 0.8954 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003096/1.633, allocations: 0.613 MB / 0.896 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003775/1.637, allocations: 3.006 MB / 0.899 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005786/1.642, allocations: 7.121 MB / 0.9059 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006389/1.649, allocations: 4.534 MB / 0.9103 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001302/1.649, allocations: 42.03 kB / 0.9104 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=939) (initialization): time 0.02295/1.672, allocations: 11.43 MB / 0.9215 GB, free: 97.22 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001573/1.672, allocations: 68.42 kB / 0.9216 GB, free: 97.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002359/1.672, allocations: 146.3 kB / 0.9218 GB, free: 97.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004046/1.676, allocations: 1.652 MB / 0.9234 GB, free: 96.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00568/1.682, allocations: 1.661 MB / 0.925 GB, free: 96.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01253/1.695, allocations: 11.66 MB / 0.9364 GB, free: 90.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006551/1.701, allocations: 436.1 kB / 0.9368 GB, free: 90.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0017/1.703, allocations: 430.2 kB / 0.9372 GB, free: 90.34 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 59 (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.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,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 (867): * Single equations (assignments): 862 * 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.008607/1.712, allocations: 2.804 MB / 0.9399 GB, free: 89.05 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002016/1.714, allocations: 459 kB / 0.9404 GB, free: 88.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01129/1.725, allocations: 6.072 MB / 0.9463 GB, free: 86.61 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.083e-05/1.725, allocations: 31.25 kB / 0.9463 GB, free: 86.61 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.407e-05/1.725, allocations: 10.56 kB / 0.9463 GB, free: 86.61 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-05/1.725, allocations: 13.86 kB / 0.9464 GB, free: 86.61 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02712/1.752, allocations: 13.49 MB / 0.9595 GB, free: 81.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.12e-05/1.752, allocations: 4 kB / 0.9595 GB, free: 81.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002281/1.755, allocations: 447.9 kB / 0.96 GB, free: 81.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00344/1.758, allocations: 1.415 MB / 0.9613 GB, free: 81.53 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004939/1.759, allocations: 46.98 kB / 0.9614 GB, free: 81.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01188/1.77, allocations: 10.91 MB / 0.972 GB, free: 74.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.771, allocations: 5.688 kB / 0.9721 GB, free: 74.39 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01466/1.785, allocations: 9.864 MB / 0.9817 GB, free: 65.88 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001525/1.787, allocations: 0.5007 MB / 0.9822 GB, free: 65.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001339/1.788, allocations: 49.42 kB / 0.9822 GB, free: 65.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002848/1.791, allocations: 201.6 kB / 0.9824 GB, free: 65.21 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006099/1.792, allocations: 153.4 kB / 0.9826 GB, free: 65.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003397/1.792, allocations: 77.16 kB / 0.9826 GB, free: 65.04 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008027/1.8, allocations: 3.118 MB / 0.9857 GB, free: 62.48 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.944e-06/1.8, allocations: 0 / 0.9857 GB, free: 62.48 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0119/1.812, allocations: 1.423 MB / 0.9871 GB, free: 61.07 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 (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.001424/1.813, allocations: 194.9 kB / 0.9873 GB, free: 60.89 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01187/1.825, allocations: 7.518 MB / 0.9946 GB, free: 54.28 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/1.825, allocations: 0 / 0.9946 GB, free: 54.28 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005202/1.831, allocations: 3.155 MB / 0.9977 GB, free: 51.53 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004462/1.835, allocations: 0.621 MB / 0.9983 GB, free: 51.02 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02983/1.865, allocations: 15.93 MB / 1.014 GB, free: 36.47 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01101/1.876, allocations: 4.49 MB / 1.018 GB, free: 33.12 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007356/1.883, allocations: 2.332 MB / 1.021 GB, free: 31.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001789/1.885, allocations: 319.4 kB / 1.021 GB, free: 30.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.032e-06/1.885, allocations: 0 / 1.021 GB, free: 30.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.3623/2.248, allocations: 54.08 MB / 1.074 GB, free: 135.6 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches