Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,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.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001551/0.001551, allocations: 180.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.001/2.001, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001088/0.001088, allocations: 94.62 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2822/0.2822, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.458e-05/4.477e-05, allocations: 7.984 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1608, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5682/0.7291, allocations: 107.4 MB / 0.5777 GB, free: 12.49 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.7294, allocations: 83.98 kB / 0.5778 GB, free: 12.45 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9089/1.638, allocations: 133.6 MB / 0.7082 GB, free: 95.08 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.394e-06/1.638, allocations: 0 / 0.7082 GB, free: 95.08 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005136/1.639, allocations: 135.2 kB / 0.7083 GB, free: 95.08 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.0314/1.67, allocations: 6.437 MB / 0.7146 GB, free: 94.24 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/1.67, allocations: 8.75 kB / 0.7146 GB, free: 94.24 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05579/1.726, allocations: 7.136 MB / 0.7216 GB, free: 93.78 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02752/1.754, allocations: 7.258 MB / 0.7287 GB, free: 93.05 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007743/1.755, allocations: 0.5027 MB / 0.7292 GB, free: 93.03 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003931/1.759, allocations: 0.6724 MB / 0.7298 GB, free: 93.02 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.052/1.811, allocations: 16.61 MB / 0.7461 GB, free: 89.37 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005196/1.811, allocations: 96.23 kB / 0.7462 GB, free: 89.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003512/1.815, allocations: 324.8 kB / 0.7465 GB, free: 89.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003419/1.818, allocations: 1.56 MB / 0.748 GB, free: 89.35 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04343/1.862, allocations: 13.78 MB / 0.7615 GB, free: 89.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1101/1.972, allocations: 70.24 MB / 0.8301 GB, free: 40.56 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0327/2.005, allocations: 7.85 MB / 0.8377 GB, free: 36.52 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007511/2.012, allocations: 3.883 MB / 0.8415 GB, free: 32.97 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003632/2.013, allocations: 57.02 kB / 0.8416 GB, free: 32.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.452e-05/2.013, allocations: 68.5 kB / 0.8416 GB, free: 32.86 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=290): time 7.053e-06/2.013, allocations: 2.719 kB / 0.8416 GB, free: 32.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=332): time 0.1272/2.14, allocations: 28.26 MB / 0.8692 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.993e-05/2.14, allocations: 221.9 kB / 0.8694 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01386/2.154, allocations: 5.584 MB / 0.8749 GB, free: 4.578 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.00108/2.155, allocations: 77.7 kB / 0.875 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003903/2.159, allocations: 4.388 MB / 0.8793 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002369/2.161, allocations: 1.233 MB / 0.8805 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001368/2.163, allocations: 176 kB / 0.8806 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007979/2.164, allocations: 0.6718 MB / 0.8813 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01074/2.174, allocations: 3.712 MB / 0.8849 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01545/2.19, allocations: 8.537 MB / 0.8933 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01642/2.206, allocations: 5.664 MB / 0.8988 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001711/2.207, allocations: 56 kB / 0.8988 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.4121/2.619, allocations: 13.36 MB / 0.9119 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002038/2.619, allocations: 81.38 kB / 0.912 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003933/2.619, allocations: 169.7 kB / 0.9121 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007832/2.627, allocations: 1.686 MB / 0.9138 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01545/2.643, allocations: 2.095 MB / 0.9158 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02424/2.667, allocations: 11.35 MB / 0.9269 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0116/2.679, allocations: 0.5213 MB / 0.9274 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002464/2.681, allocations: 0.5035 MB / 0.9279 GB, free: 107.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 773 * Number of states: 0 () * Number of discrete variables: 54 (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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1050): * Single equations (assignments): 1045 * 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.002961/2.684, allocations: 0.7525 MB / 0.9286 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001535/2.686, allocations: 0.5558 MB / 0.9292 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02123/2.707, allocations: 7.435 MB / 0.9364 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-05/2.707, allocations: 37.83 kB / 0.9365 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.33e-05/2.707, allocations: 10.73 kB / 0.9365 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.305e-05/2.707, allocations: 20.86 kB / 0.9365 GB, free: 107.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06154/2.769, allocations: 16.27 MB / 0.9524 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.912e-05/2.769, allocations: 3.562 kB / 0.9524 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008472/2.777, allocations: 0.6506 MB / 0.953 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008909/2.786, allocations: 1.418 MB / 0.9544 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001312/2.788, allocations: 70.81 kB / 0.9545 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02922/2.817, allocations: 10.59 MB / 0.9648 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.155e-05/2.817, allocations: 7.75 kB / 0.9648 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04285/2.86, allocations: 12.7 MB / 0.9772 GB, free: 98.08 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007246/2.867, allocations: 1.209 MB / 0.9784 GB, free: 97.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003676/2.871, allocations: 57.53 kB / 0.9785 GB, free: 97.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008138/2.879, allocations: 271.6 kB / 0.9787 GB, free: 97.47 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001872/2.881, allocations: 207 kB / 0.9789 GB, free: 97.44 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001211/2.882, allocations: 88.73 kB / 0.979 GB, free: 97.42 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01428/2.897, allocations: 3.953 MB / 0.9829 GB, free: 96.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.513e-06/2.897, allocations: 2.953 kB / 0.9829 GB, free: 96.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.017/2.914, allocations: 1.678 MB / 0.9845 GB, free: 95.86 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (278): * Single equations (assignments): 273 * 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.001898/2.916, allocations: 212.7 kB / 0.9847 GB, free: 95.73 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.03075/2.947, allocations: 9.181 MB / 0.9937 GB, free: 92.78 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/2.947, allocations: 0 / 0.9937 GB, free: 92.78 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0105/2.957, allocations: 3.809 MB / 0.9974 GB, free: 91.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006258/2.963, allocations: 0.6807 MB / 0.9981 GB, free: 91 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04072/3.004, allocations: 14.18 MB / 1.012 GB, free: 83.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01191/3.016, allocations: 4.994 MB / 1.017 GB, free: 80.03 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003912/3.02, allocations: 464.5 kB / 1.017 GB, free: 79.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.954e-06/3.02, allocations: 0 / 1.017 GB, free: 79.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.6423/3.663, allocations: 147.7 MB / 1.161 GB, free: 99.71 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches