Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,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.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,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.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001458/0.001458, allocations: 186.1 kB / 16.4 MB, free: 5.719 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.91/1.91, allocations: 205.4 MB / 222.5 MB, free: 9.129 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.001139/0.001139, allocations: 92.42 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.5061/0.5061, allocations: 43.56 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004847/0.0004847, allocations: 12 kB / 431.4 MB, free: 6.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1242, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4855/0.6098, allocations: 105.8 MB / 0.582 GB, free: 12.88 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003187/0.6102, allocations: 83.95 kB / 0.5821 GB, free: 12.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.017/1.628, allocations: 171 MB / 0.7491 GB, free: 79.98 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.825e-06/1.628, allocations: 0 / 0.7491 GB, free: 79.98 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006004/1.628, allocations: 173.1 kB / 0.7493 GB, free: 79.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: 2951 * Number of variables: 2951 Notification: Performance of Generate backend data structure: time 0.03869/1.667, allocations: 9.04 MB / 0.7581 GB, free: 75.65 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/1.667, allocations: 11.38 kB / 0.7581 GB, free: 75.65 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08821/1.755, allocations: 12.07 MB / 0.7699 GB, free: 71.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0377/1.793, allocations: 11.02 MB / 0.7806 GB, free: 65.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008276/1.794, allocations: 0.6308 MB / 0.7813 GB, free: 65.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004905/1.799, allocations: 0.8525 MB / 0.7821 GB, free: 64.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06493/1.864, allocations: 20.01 MB / 0.8016 GB, free: 44.74 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007935/1.865, allocations: 111 kB / 0.8017 GB, free: 44.63 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004485/1.869, allocations: 411 kB / 0.8021 GB, free: 44.28 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003973/1.873, allocations: 1.822 MB / 0.8039 GB, free: 42.46 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05203/1.925, allocations: 16.29 MB / 0.8198 GB, free: 26.15 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5289/2.454, allocations: 82.19 MB / 0.9001 GB, free: 50.61 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03446/2.489, allocations: 8.145 MB / 0.908 GB, free: 49.92 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/2.49, allocations: 0.6657 MB / 0.9087 GB, free: 49.36 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.755e-05/2.49, allocations: 71.48 kB / 0.9088 GB, free: 49.32 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=311): time 7.104e-06/2.49, allocations: 0 / 0.9088 GB, free: 49.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=335): time 0.1385/2.629, allocations: 30.94 MB / 0.939 GB, free: 42.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/2.629, allocations: 301.7 kB / 0.9393 GB, free: 41.93 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01836/2.647, allocations: 6.893 MB / 0.946 GB, free: 41.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008763/2.648, allocations: 76.61 kB / 0.9461 GB, free: 41.35 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005212/2.653, allocations: 5.553 MB / 0.9515 GB, free: 38.29 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002107/2.655, allocations: 1.267 MB / 0.9527 GB, free: 37.56 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001568/2.657, allocations: 196.9 kB / 0.9529 GB, free: 37.56 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001073/2.658, allocations: 0.7145 MB / 0.9536 GB, free: 37.21 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009602/2.668, allocations: 3.532 MB / 0.9571 GB, free: 36.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01332/2.681, allocations: 9.221 MB / 0.9661 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01321/2.694, allocations: 5.564 MB / 0.9715 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002423/2.695, allocations: 56.72 kB / 0.9716 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1262) (initialization): time 0.03606/2.731, allocations: 13.07 MB / 0.9843 GB, free: 20.94 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001517/2.731, allocations: 90.72 kB / 0.9844 GB, free: 20.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003476/2.731, allocations: 199.3 kB / 0.9846 GB, free: 20.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004268/2.736, allocations: 1.062 MB / 0.9856 GB, free: 20.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0143/2.75, allocations: 2.245 MB / 0.9878 GB, free: 20.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01946/2.769, allocations: 11.49 MB / 0.999 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01191/2.781, allocations: 0.5276 MB / 0.9996 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00244/2.784, allocations: 0.5636 MB / 1 GB, free: 12.23 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 915 * Number of states: 0 () * Number of discrete variables: 66 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],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],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 (1182): * Single equations (assignments): 1175 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01147/2.795, allocations: 3.887 MB / 1.004 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002058/2.797, allocations: 0.6738 MB / 1.005 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01862/2.816, allocations: 6.053 MB / 1.01 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.362e-05/2.816, allocations: 35.14 kB / 1.011 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.064e-05/2.816, allocations: 10.53 kB / 1.011 GB, free: 7.715 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.749e-05/2.816, allocations: 19.09 kB / 1.011 GB, free: 7.711 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05441/2.871, allocations: 15.31 MB / 1.025 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-05/2.871, allocations: 0 / 1.025 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00607/2.877, allocations: 0.5527 MB / 1.026 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003798/2.881, allocations: 0.7083 MB / 1.027 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008668/2.882, allocations: 59.38 kB / 1.027 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0193/2.901, allocations: 10.33 MB / 1.037 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/2.901, allocations: 3.938 kB / 1.037 GB, free: 1.75 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03525/2.936, allocations: 10.6 MB / 1.047 GB, free: 9.68 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005174/2.942, allocations: 1.202 MB / 1.048 GB, free: 8.559 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002405/2.944, allocations: 52 kB / 1.048 GB, free: 8.508 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006436/2.951, allocations: 196 kB / 1.049 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001242/2.952, allocations: 199.6 kB / 1.049 GB, free: 8.254 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005049/2.952, allocations: 91.09 kB / 1.049 GB, free: 8.172 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01515/2.968, allocations: 4.939 MB / 1.054 GB, free: 4.121 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.81e-07/2.968, allocations: 0 / 1.054 GB, free: 4.121 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01421/2.982, allocations: 1.868 MB / 1.056 GB, free: 2.262 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,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 (276): * Single equations (assignments): 269 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(1,100.0%) 11,(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.001323/2.983, allocations: 209.1 kB / 1.056 GB, free: 2.059 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02416/3.007, allocations: 9.013 MB / 1.065 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.357e-06/3.007, allocations: 0 / 1.065 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.008475/3.016, allocations: 3.244 MB / 1.068 GB, free: 7.223 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008217/3.024, allocations: 0.9201 MB / 1.069 GB, free: 6.449 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4319/3.456, allocations: 22.38 MB / 1.09 GB, free: 133.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01683/3.473, allocations: 6.132 MB / 1.096 GB, free: 133 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003626/3.477, allocations: 0.5154 MB / 1.097 GB, free: 133 MB / 0.5573 GB Notification: Performance of SimCode: time 1.132e-06/3.477, allocations: 2 kB / 1.097 GB, free: 133 MB / 0.5573 GB Notification: Performance of Templates: time 0.8315/4.308, allocations: 245.2 MB / 1.336 GB, free: 128.7 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques2/FrameTorques2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches