Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.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.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_3.2.3_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_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001536/0.001535, allocations: 181.3 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 1.967/1.967, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.00105/0.00105, allocations: 86.64 kB / 267.5 MB, free: 14.05 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.2857/0.2857, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.097e-05/3.113e-05, allocations: 4 kB / 425.3 MB, free: 23.36 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1188, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5091/0.628, allocations: 109 MB / 0.5792 GB, free: 10.9 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/0.6283, allocations: 79.83 kB / 0.5793 GB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9203/1.549, allocations: 139.1 MB / 0.7151 GB, free: 94.36 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.236e-06/1.549, allocations: 0.6094 kB / 0.7151 GB, free: 94.36 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005218/1.549, allocations: 139.8 kB / 0.7153 GB, free: 94.35 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: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.03372/1.583, allocations: 6.8 MB / 0.7219 GB, free: 91.86 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/1.583, allocations: 9.562 kB / 0.7219 GB, free: 91.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05487/1.638, allocations: 7.185 MB / 0.7289 GB, free: 91.38 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02731/1.665, allocations: 7.551 MB / 0.7363 GB, free: 90.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006649/1.666, allocations: 0.523 MB / 0.7368 GB, free: 90.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003797/1.67, allocations: 0.691 MB / 0.7375 GB, free: 90.49 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05114/1.721, allocations: 17.12 MB / 0.7542 GB, free: 86.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003859/1.721, allocations: 78.16 kB / 0.7543 GB, free: 86.76 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002318/1.724, allocations: 338.7 kB / 0.7546 GB, free: 86.76 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003268/1.727, allocations: 1.623 MB / 0.7562 GB, free: 86.75 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04449/1.772, allocations: 14.16 MB / 0.77 GB, free: 86.67 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1201/1.892, allocations: 72.38 MB / 0.8407 GB, free: 34.78 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04946/1.941, allocations: 7.109 MB / 0.8476 GB, free: 28.84 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0151/1.956, allocations: 3.929 MB / 0.8515 GB, free: 25.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.026/1.983, allocations: 9.471 MB / 0.8607 GB, free: 17.37 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.619e-05/1.983, allocations: 76.52 kB / 0.8608 GB, free: 17.29 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=297): time 8.326e-06/1.983, allocations: 0 / 0.8608 GB, free: 17.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=339): time 0.1225/2.105, allocations: 27.72 MB / 0.8879 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001628/2.105, allocations: 244.2 kB / 0.8881 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01629/2.122, allocations: 5.911 MB / 0.8939 GB, free: 4.523 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001034/2.123, allocations: 81.53 kB / 0.8939 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005509/2.128, allocations: 4.585 MB / 0.8984 GB, free: 276 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.3622/2.491, allocations: 1.256 MB / 0.8996 GB, free: 104 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001941/2.493, allocations: 179.4 kB / 0.8998 GB, free: 104 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001116/2.494, allocations: 0.6867 MB / 0.9005 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01135/2.505, allocations: 3.654 MB / 0.9041 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01584/2.521, allocations: 8.706 MB / 0.9126 GB, free: 97.14 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01487/2.536, allocations: 5.566 MB / 0.918 GB, free: 97.11 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003826/2.536, allocations: 49.56 kB / 0.918 GB, free: 97.11 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1164) (initialization): time 0.03902/2.575, allocations: 13.44 MB / 0.9312 GB, free: 96.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001816/2.576, allocations: 82 kB / 0.9313 GB, free: 96.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002661/2.576, allocations: 179.4 kB / 0.9314 GB, free: 96.72 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007167/2.583, allocations: 1.693 MB / 0.9331 GB, free: 96.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01457/2.598, allocations: 2.133 MB / 0.9352 GB, free: 96.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02184/2.62, allocations: 11.38 MB / 0.9463 GB, free: 93.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01188/2.632, allocations: 0.5259 MB / 0.9468 GB, free: 93.74 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002459/2.634, allocations: 0.5198 MB / 0.9473 GB, free: 93.74 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 809 * Number of states: 0 () * Number of discrete variables: 57 (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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1092): * Single equations (assignments): 1087 * 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.00277/2.637, allocations: 0.7841 MB / 0.9481 GB, free: 93.45 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00161/2.639, allocations: 0.591 MB / 0.9486 GB, free: 93.45 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02302/2.662, allocations: 7.435 MB / 0.9559 GB, free: 92.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.897e-05/2.662, allocations: 37.14 kB / 0.9559 GB, free: 92.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.257e-05/2.662, allocations: 9.375 kB / 0.9559 GB, free: 92.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001035/2.662, allocations: 17.64 kB / 0.956 GB, free: 92.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0493/2.711, allocations: 16.01 MB / 0.9716 GB, free: 86.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.451e-05/2.711, allocations: 3.156 kB / 0.9716 GB, free: 86.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00677/2.718, allocations: 0.632 MB / 0.9722 GB, free: 86.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006604/2.725, allocations: 1.415 MB / 0.9736 GB, free: 86.54 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001067/2.726, allocations: 62 kB / 0.9736 GB, free: 86.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02173/2.748, allocations: 10.61 MB / 0.984 GB, free: 80.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.335e-06/2.748, allocations: 7.438 kB / 0.984 GB, free: 80.82 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02893/2.777, allocations: 12.58 MB / 0.9963 GB, free: 75.12 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004957/2.782, allocations: 1.201 MB / 0.9975 GB, free: 74.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002248/2.784, allocations: 68.38 kB / 0.9975 GB, free: 74.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006694/2.791, allocations: 233.2 kB / 0.9978 GB, free: 74.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001512/2.792, allocations: 201 kB / 0.9979 GB, free: 74.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005829/2.793, allocations: 87.5 kB / 0.998 GB, free: 74.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.012/2.805, allocations: 4.238 MB / 1.002 GB, free: 70.59 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.222e-06/2.805, allocations: 2.688 kB / 1.002 GB, free: 70.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01266/2.818, allocations: 1.7 MB / 1.004 GB, free: 68.89 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 274 * 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.001548/2.819, allocations: 219 kB / 1.004 GB, free: 68.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02245/2.842, allocations: 9.044 MB / 1.013 GB, free: 60.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.232e-05/2.842, allocations: 0 / 1.013 GB, free: 60.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01062/2.852, allocations: 3.651 MB / 1.016 GB, free: 57.24 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006829/2.859, allocations: 0.7199 MB / 1.017 GB, free: 56.63 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04223/2.902, allocations: 14.53 MB / 1.031 GB, free: 43.75 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01264/2.914, allocations: 5.186 MB / 1.036 GB, free: 39.94 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003886/2.918, allocations: 482.9 kB / 1.037 GB, free: 39.5 MB / 0.5105 GB Notification: Performance of SimCode: time 2.315e-06/2.918, allocations: 0 / 1.037 GB, free: 39.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.6988/3.617, allocations: 152.6 MB / 1.186 GB, free: 75.78 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques/FrameForcesAndTorques.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches