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.001391/0.001391, allocations: 180.9 kB / 17.41 MB, free: 4.289 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.406/1.406, allocations: 205.4 MB / 223.6 MB, free: 9.012 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.0007753/0.0007754, allocations: 90.42 kB / 271.9 MB, free: 8.25 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.3153/0.3153, allocations: 43.56 MB / 363.8 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003762, allocations: 12 kB / 432.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1111, allocations: 58.85 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3487/0.4599, allocations: 107.7 MB / 0.5851 GB, free: 10.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.4602, allocations: 79.95 kB / 0.5852 GB, free: 10.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4963/0.9564, allocations: 131.6 MB / 0.7137 GB, free: 84.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.9565, allocations: 0.625 kB / 0.7137 GB, free: 84.48 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004171/0.9569, allocations: 132.1 kB / 0.7138 GB, free: 84.48 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: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.02022/0.9771, allocations: 6.618 MB / 0.7203 GB, free: 81.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.9772, allocations: 9.562 kB / 0.7203 GB, free: 81.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02315/1, allocations: 5.491 MB / 0.7256 GB, free: 81.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01407/1.014, allocations: 6.129 MB / 0.7316 GB, free: 80.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004957/1.015, allocations: 0.5069 MB / 0.7321 GB, free: 80.29 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003237/1.018, allocations: 0.662 MB / 0.7328 GB, free: 80.28 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03535/1.054, allocations: 16.65 MB / 0.749 GB, free: 73.24 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000492/1.054, allocations: 84.39 kB / 0.7491 GB, free: 73.2 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003447/1.058, allocations: 325.1 kB / 0.7494 GB, free: 73.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002761/1.06, allocations: 1.568 MB / 0.7509 GB, free: 72.72 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02702/1.087, allocations: 13.82 MB / 0.7644 GB, free: 68.45 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07229/1.16, allocations: 70.19 MB / 0.833 GB, free: 10.55 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01737/1.177, allocations: 7.806 MB / 0.8406 GB, free: 2.609 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005079/1.182, allocations: 3.925 MB / 0.8444 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002579/1.183, allocations: 60.5 kB / 0.8445 GB, free: 14.63 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.826e-05/1.183, allocations: 68.5 kB / 0.8446 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=290): time 7.023e-06/1.183, allocations: 0 / 0.8446 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of matching and sorting (n=332): time 0.3701/1.553, allocations: 31.95 MB / 0.8758 GB, free: 91.77 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/1.553, allocations: 222.6 kB / 0.876 GB, free: 91.55 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01828/1.571, allocations: 6.317 MB / 0.8821 GB, free: 91.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001178/1.573, allocations: 80.33 kB / 0.8822 GB, free: 91.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005583/1.578, allocations: 4.606 MB / 0.8867 GB, free: 88.75 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002427/1.581, allocations: 1.231 MB / 0.8879 GB, free: 88.03 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00161/1.582, allocations: 174.4 kB / 0.8881 GB, free: 88.03 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001126/1.584, allocations: 0.6654 MB / 0.8887 GB, free: 87.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01107/1.595, allocations: 3.801 MB / 0.8925 GB, free: 87.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01549/1.61, allocations: 8.655 MB / 0.9009 GB, free: 81.42 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02856/1.639, allocations: 13.47 MB / 0.9141 GB, free: 71.89 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003904/1.639, allocations: 48.38 kB / 0.9141 GB, free: 71.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.04325/1.683, allocations: 13.78 MB / 0.9276 GB, free: 66.76 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002126/1.683, allocations: 78.44 kB / 0.9276 GB, free: 66.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002919/1.683, allocations: 170 kB / 0.9278 GB, free: 66.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007535/1.691, allocations: 1.669 MB / 0.9294 GB, free: 66.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0146/1.705, allocations: 2.091 MB / 0.9315 GB, free: 66.23 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02311/1.729, allocations: 11.38 MB / 0.9426 GB, free: 60.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01377/1.742, allocations: 0.5273 MB / 0.9431 GB, free: 59.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003041/1.745, allocations: 0.4977 MB / 0.9436 GB, free: 59.92 MB / 0.4948 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 () * Number of clocked 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.01106/1.757, allocations: 3.166 MB / 0.9467 GB, free: 58.44 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002551/1.759, allocations: 0.5552 MB / 0.9472 GB, free: 58.13 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0217/1.781, allocations: 7.521 MB / 0.9546 GB, free: 55.33 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.266e-05/1.781, allocations: 34.34 kB / 0.9546 GB, free: 55.33 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.74e-05/1.781, allocations: 7.938 kB / 0.9546 GB, free: 55.33 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.256e-05/1.781, allocations: 19.83 kB / 0.9546 GB, free: 55.33 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04683/1.828, allocations: 16.36 MB / 0.9706 GB, free: 49.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.01e-05/1.828, allocations: 3.438 kB / 0.9706 GB, free: 49.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003284/1.831, allocations: 0.6538 MB / 0.9712 GB, free: 49.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003333/1.835, allocations: 1.421 MB / 0.9726 GB, free: 49 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005692/1.835, allocations: 63 kB / 0.9727 GB, free: 48.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01208/1.847, allocations: 10.63 MB / 0.9831 GB, free: 41.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.765e-06/1.847, allocations: 10.81 kB / 0.9831 GB, free: 41.23 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01783/1.865, allocations: 12.3 MB / 0.9951 GB, free: 30.54 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003573/1.869, allocations: 1.201 MB / 0.9963 GB, free: 29.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002098/1.871, allocations: 56 kB / 0.9963 GB, free: 29.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004364/1.875, allocations: 273.2 kB / 0.9966 GB, free: 29.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001184/1.877, allocations: 200.7 kB / 0.9968 GB, free: 29.07 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005925/1.877, allocations: 99.97 kB / 0.9969 GB, free: 28.98 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008836/1.886, allocations: 4.012 MB / 1.001 GB, free: 25.69 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.02e-07/1.886, allocations: 0 / 1.001 GB, free: 25.69 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009842/1.896, allocations: 1.68 MB / 1.002 GB, free: 24.02 MB / 0.4948 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 () * Number of clocked 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.0009557/1.897, allocations: 207.8 kB / 1.003 GB, free: 23.82 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01343/1.91, allocations: 9.341 MB / 1.012 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.417e-06/1.91, allocations: 3.125 kB / 1.012 GB, free: 15.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005821/1.916, allocations: 3.863 MB / 1.016 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008718/1.925, allocations: 0.702 MB / 1.016 GB, free: 11.61 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03849/1.964, allocations: 19.81 MB / 1.036 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009171/1.973, allocations: 4.858 MB / 1.04 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002467/1.975, allocations: 465.9 kB / 1.041 GB, free: 5.184 MB / 0.5105 GB Notification: Performance of SimCode: time 1.322e-06/1.975, allocations: 0 / 1.041 GB, free: 5.184 MB / 0.5105 GB Notification: Performance of Templates: time 0.3794/2.355, allocations: 153.7 MB / 1.191 GB, free: 40.86 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