Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.00147, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 221.5 MB / 230.7 MB, free: 7.59 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009282/0.0009282, allocations: 101.5 kB / 281.6 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1804/0.1804, allocations: 44.15 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.965e-05/1.968e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1225, allocations: 61.92 MB / 0.4947 GB, free: 1.258 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4093/0.5319, allocations: 106.3 MB / 0.5984 GB, free: 6.25 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002697/0.5322, allocations: 75.95 kB / 0.5985 GB, free: 6.176 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6542/1.186, allocations: 152.9 MB / 0.7478 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.176e-06/1.187, allocations: 4 kB / 0.7478 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005148/1.187, allocations: 157.9 kB / 0.748 GB, free: 102.5 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: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.0274/1.214, allocations: 7.626 MB / 0.7554 GB, free: 99.58 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/1.215, allocations: 15.3 kB / 0.7554 GB, free: 99.58 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0448/1.259, allocations: 11.93 MB / 0.7671 GB, free: 98.58 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02483/1.284, allocations: 9.961 MB / 0.7768 GB, free: 95.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000477/1.285, allocations: 246.2 kB / 0.777 GB, free: 95.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003925/1.289, allocations: 467.4 kB / 0.7775 GB, free: 95.19 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0215/1.31, allocations: 10.12 MB / 0.7874 GB, free: 89.09 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03395/1.344, allocations: 15.45 MB / 0.8025 GB, free: 72.21 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006419/1.345, allocations: 107 kB / 0.8026 GB, free: 72.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003498/1.348, allocations: 44 kB / 0.8026 GB, free: 72.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002141/1.351, allocations: 1.57 MB / 0.8041 GB, free: 70.49 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07456/1.425, allocations: 72.67 MB / 0.8751 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00637/1.432, allocations: 5.064 MB / 0.8801 GB, free: 7.168 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004303/1.436, allocations: 3.382 MB / 0.8834 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007361/1.437, allocations: 0.6436 MB / 0.884 GB, free: 3.027 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.027e-05/1.437, allocations: 60.06 kB / 0.884 GB, free: 2.961 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=231): time 5.41e-06/1.437, allocations: 0 / 0.884 GB, free: 2.961 MB / 0.5105 GB Notification: Performance of matching and sorting (n=258): time 0.4196/1.856, allocations: 30.13 MB / 0.9135 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/1.856, allocations: 290 kB / 0.9137 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01405/1.871, allocations: 5.143 MB / 0.9188 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007074/1.871, allocations: 26.86 kB / 0.9188 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005124/1.876, allocations: 5.442 MB / 0.9241 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001751/1.878, allocations: 0.9756 MB / 0.9251 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001255/1.88, allocations: 2.734 kB / 0.9251 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001146/1.881, allocations: 0.6713 MB / 0.9257 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006329/1.887, allocations: 2.688 MB / 0.9283 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009378/1.896, allocations: 8.027 MB / 0.9362 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007753/1.904, allocations: 4.591 MB / 0.9407 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003217/1.905, allocations: 52.97 kB / 0.9407 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1137) (initialization): time 0.02396/1.929, allocations: 10.33 MB / 0.9508 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000346/1.929, allocations: 87.25 kB / 0.9509 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004243/1.929, allocations: 188 kB / 0.9511 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00274/1.932, allocations: 1.025 MB / 0.9521 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006747/1.939, allocations: 2.004 MB / 0.954 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01092/1.95, allocations: 10.78 MB / 0.9646 GB, free: 97.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008008/1.958, allocations: 295.8 kB / 0.9648 GB, free: 97.94 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001886/1.96, allocations: 0.5241 MB / 0.9653 GB, free: 97.87 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * Number of states: 0 () * Number of discrete variables: 74 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.arrow.arrowLine.twoHeadedArrow,frameTorque4.arrow.headAtOrigin,frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.arrow.arrowLine.twoHeadedArrow,frameTorque3.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1057): * Single equations (assignments): 1050 * 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.002726/1.963, allocations: 0.6007 MB / 0.9659 GB, free: 97.39 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001994/1.965, allocations: 0.5422 MB / 0.9665 GB, free: 97.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008183/1.973, allocations: 4.274 MB / 0.9706 GB, free: 95.55 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.883e-05/1.973, allocations: 27.28 kB / 0.9707 GB, free: 95.55 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.529e-05/1.973, allocations: 13.19 kB / 0.9707 GB, free: 95.55 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.751e-05/1.973, allocations: 9.609 kB / 0.9707 GB, free: 95.55 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02058/1.994, allocations: 10.88 MB / 0.9813 GB, free: 91.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/1.994, allocations: 0 / 0.9813 GB, free: 91.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001963/1.996, allocations: 414.9 kB / 0.9817 GB, free: 91.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001764/1.997, allocations: 0.6805 MB / 0.9824 GB, free: 91.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002189/1.998, allocations: 6.984 kB / 0.9824 GB, free: 91.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00872/2.006, allocations: 9.717 MB / 0.9919 GB, free: 84.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/2.006, allocations: 0 / 0.9919 GB, free: 84.35 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009161/2.015, allocations: 7.532 MB / 0.9992 GB, free: 81.09 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001684/2.017, allocations: 0.5574 MB / 0.9998 GB, free: 80.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008495/2.018, allocations: 2.844 kB / 0.9998 GB, free: 80.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002063/2.02, allocations: 106 kB / 0.9999 GB, free: 80.66 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002963/2.02, allocations: 160 kB / 1 GB, free: 80.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/2.021, allocations: 64.47 kB / 1 GB, free: 80.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004966/2.026, allocations: 3.498 MB / 1.003 GB, free: 79.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.71e-07/2.026, allocations: 0 / 1.003 GB, free: 79.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0083/2.034, allocations: 1.421 MB / 1.005 GB, free: 79.34 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 191 * 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.0004885/2.034, allocations: 156.1 kB / 1.005 GB, free: 79.23 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008657/2.043, allocations: 6.944 MB / 1.012 GB, free: 73.39 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/2.043, allocations: 0 / 1.012 GB, free: 73.39 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00248/2.046, allocations: 2.454 MB / 1.014 GB, free: 71.14 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00405/2.05, allocations: 0.7512 MB / 1.015 GB, free: 70.53 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02169/2.071, allocations: 12.9 MB / 1.028 GB, free: 59.03 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007014/2.078, allocations: 5.588 MB / 1.033 GB, free: 54.95 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007589/2.086, allocations: 2.692 MB / 1.036 GB, free: 53.23 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001526/2.088, allocations: 369.2 kB / 1.036 GB, free: 52.88 MB / 0.5261 GB Notification: Performance of SimCode: time 1.292e-06/2.088, allocations: 0 / 1.036 GB, free: 52.88 MB / 0.5261 GB Notification: Performance of Templates: time 0.0967/2.184, allocations: 51.82 MB / 1.087 GB, free: 8.707 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques2/FrameTorques2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches