Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001492/0.001492, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.903/1.903, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001111/0.001111, allocations: 94.34 kB / 270.9 MB, free: 8.375 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.4983/0.4983, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006624/0.0006624, allocations: 16 kB / 431.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1366, allocations: 58.84 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4847/0.6213, allocations: 107 MB / 0.5832 GB, free: 11.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/0.6216, allocations: 83.95 kB / 0.5833 GB, free: 11.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.801/1.423, allocations: 115 MB / 0.6956 GB, free: 85.99 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.876e-06/1.423, allocations: 0 / 0.6956 GB, free: 85.99 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003818/1.423, allocations: 114.5 kB / 0.6957 GB, free: 85.98 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: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.02462/1.448, allocations: 5.94 MB / 0.7015 GB, free: 83.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/1.448, allocations: 8.688 kB / 0.7015 GB, free: 83.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05183/1.5, allocations: 6.954 MB / 0.7083 GB, free: 83.15 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.025/1.525, allocations: 6.909 MB / 0.7151 GB, free: 82.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006373/1.525, allocations: 417.1 kB / 0.7155 GB, free: 82.37 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003232/1.529, allocations: 0.5458 MB / 0.716 GB, free: 82.36 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03854/1.567, allocations: 13.38 MB / 0.7291 GB, free: 78.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003157/1.568, allocations: 75.94 kB / 0.7291 GB, free: 78.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001438/1.569, allocations: 271.5 kB / 0.7294 GB, free: 78.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002359/1.571, allocations: 1.257 MB / 0.7306 GB, free: 78.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03103/1.602, allocations: 10.67 MB / 0.741 GB, free: 75.51 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08086/1.683, allocations: 59.77 MB / 0.7994 GB, free: 30.37 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01828/1.702, allocations: 4.641 MB / 0.8039 GB, free: 28.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01657/1.718, allocations: 6.514 MB / 0.8103 GB, free: 25.34 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.132e-05/1.718, allocations: 54.47 kB / 0.8103 GB, free: 25.28 MB / 490.7 MB Notification: Performance of pre-optimization done (n=183): time 5.15e-06/1.718, allocations: 3.938 kB / 0.8103 GB, free: 25.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=195): time 0.06351/1.782, allocations: 16.91 MB / 0.8269 GB, free: 12.88 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.247e-05/1.782, allocations: 227.2 kB / 0.8271 GB, free: 12.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01191/1.794, allocations: 5.234 MB / 0.8322 GB, free: 8.234 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004978/1.795, allocations: 53.7 kB / 0.8322 GB, free: 8.176 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003351/1.798, allocations: 3.941 MB / 0.8361 GB, free: 4.586 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001182/1.799, allocations: 0.779 MB / 0.8369 GB, free: 3.906 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008343/1.8, allocations: 140 kB / 0.837 GB, free: 3.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004223/1.8, allocations: 0.6141 MB / 0.8376 GB, free: 3.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005676/1.806, allocations: 2.304 MB / 0.8398 GB, free: 1.301 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01092/1.817, allocations: 6.816 MB / 0.8465 GB, free: 8.297 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01019/1.827, allocations: 3.879 MB / 0.8503 GB, free: 4.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001526/1.828, allocations: 44 kB / 0.8503 GB, free: 4.367 MB / 0.4948 GB Notification: Performance of matching and sorting (n=937) (initialization): time 0.02728/1.855, allocations: 9.071 MB / 0.8592 GB, free: 11.28 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001538/1.855, allocations: 76 kB / 0.8593 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000291/1.855, allocations: 163.8 kB / 0.8594 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002406/1.858, allocations: 0.6101 MB / 0.86 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01046/1.868, allocations: 1.649 MB / 0.8616 GB, free: 8.785 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01097/1.879, allocations: 5.832 MB / 0.8673 GB, free: 2.699 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008317/1.888, allocations: 390.9 kB / 0.8677 GB, free: 2.324 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00171/1.889, allocations: 444 kB / 0.8681 GB, free: 1.891 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 731 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (885): * Single equations (assignments): 880 * 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 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.3601/2.249, allocations: 2.693 MB / 0.8707 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001425/2.251, allocations: 0.489 MB / 0.8712 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/2.261, allocations: 3.055 MB / 0.8742 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.319e-05/2.262, allocations: 22.38 kB / 0.8742 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.39e-05/2.262, allocations: 6.125 kB / 0.8742 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.433e-05/2.262, allocations: 9.422 kB / 0.8742 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02627/2.288, allocations: 8.49 MB / 0.8825 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.86e-05/2.288, allocations: 3.188 kB / 0.8825 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003083/2.291, allocations: 321.2 kB / 0.8828 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001734/2.293, allocations: 360.2 kB / 0.8832 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000378/2.293, allocations: 36.03 kB / 0.8832 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007825/2.301, allocations: 5.181 MB / 0.8883 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/2.301, allocations: 3.5 kB / 0.8883 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01285/2.314, allocations: 6.149 MB / 0.8943 GB, free: 99.63 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003094/2.317, allocations: 0.8003 MB / 0.8951 GB, free: 99.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001462/2.319, allocations: 36.59 kB / 0.8951 GB, free: 99.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003629/2.322, allocations: 89.59 kB / 0.8952 GB, free: 99.53 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005382/2.323, allocations: 121.1 kB / 0.8953 GB, free: 99.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001953/2.323, allocations: 55.41 kB / 0.8954 GB, free: 99.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01008/2.333, allocations: 3.748 MB / 0.899 GB, free: 99.34 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.61e-07/2.333, allocations: 0 / 0.899 GB, free: 99.34 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009062/2.342, allocations: 1.225 MB / 0.9002 GB, free: 99.34 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * 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 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008673/2.343, allocations: 188.3 kB / 0.9004 GB, free: 99.26 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01344/2.357, allocations: 5.716 MB / 0.906 GB, free: 98.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/2.357, allocations: 1.094 kB / 0.906 GB, free: 98.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003908/2.361, allocations: 1.713 MB / 0.9076 GB, free: 98.44 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005171/2.366, allocations: 0.6063 MB / 0.9082 GB, free: 98.19 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03475/2.401, allocations: 14.4 MB / 0.9223 GB, free: 90.95 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01041/2.411, allocations: 4.259 MB / 0.9265 GB, free: 89.46 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002041/2.413, allocations: 373.2 kB / 0.9268 GB, free: 89.44 MB / 0.5105 GB Notification: Performance of SimCode: time 1.262e-06/2.413, allocations: 3.094 kB / 0.9268 GB, free: 89.44 MB / 0.5105 GB Notification: Performance of Templates: time 0.2446/2.658, allocations: 118.5 MB / 1.043 GB, free: 13.78 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches