Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00175/0.00175, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002588/0.002588, allocations: 214.5 kB / 24.48 MB, free: 3.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.567/1.567, allocations: 230.5 MB / 258.1 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.234/0.234, allocations: 46.94 MB / 361.5 MB, free: 3.938 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002485/0.002485, allocations: 83.86 kB / 0.4974 GB, free: 7.059 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3579, allocations: 66.08 MB / 0.5619 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01252/0.3705, allocations: 8.915 MB / 0.5706 GB, free: 11.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007243/0.3777, allocations: 2.932 MB / 0.5735 GB, free: 8.082 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001822/0.3795, allocations: 59.81 kB / 0.5735 GB, free: 8.023 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005038/0.3846, allocations: 2.528 MB / 0.576 GB, free: 5.488 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003522/0.3881, allocations: 1.21 MB / 0.5772 GB, free: 4.273 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.3891, allocations: 355.3 kB / 0.5775 GB, free: 3.926 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003695/0.3928, allocations: 2.535 MB / 0.58 GB, free: 1.387 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002812/0.3956, allocations: 2.237 MB / 0.5822 GB, free: 15.11 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001577/0.3972, allocations: 1.067 MB / 0.5832 GB, free: 14.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002153/0.3993, allocations: 1.39 MB / 0.5846 GB, free: 12.65 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005016/0.3998, allocations: 252 kB / 0.5848 GB, free: 12.4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.4012, allocations: 0.6671 MB / 0.5855 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001387/0.4026, allocations: 1.363 MB / 0.5868 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001492/0.4041, allocations: 1.138 MB / 0.5879 GB, free: 9.223 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005785/0.4099, allocations: 5.144 MB / 0.5929 GB, free: 4.059 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.4099, allocations: 0 / 0.5929 GB, free: 4.059 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4099, allocations: 0 / 0.5929 GB, free: 4.059 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001078/0.41, allocations: 7.938 kB / 0.5929 GB, free: 4.051 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1125 * Number of variables: 1125 Notification: Performance of Generate backend data structure: time 0.006318/0.4163, allocations: 3.266 MB / 0.5961 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.4164, allocations: 8.031 kB / 0.5961 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005187/0.4215, allocations: 1.625 MB / 0.5977 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003627/0.4252, allocations: 1.451 MB / 0.5991 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/0.4253, allocations: 180.9 kB / 0.5993 GB, free: 13.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005012/0.4258, allocations: 231.8 kB / 0.5995 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0122/0.438, allocations: 7.11 MB / 0.6065 GB, free: 5.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.86e-05/0.4381, allocations: 15.88 kB / 0.6065 GB, free: 5.754 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002925/0.4384, allocations: 111.9 kB / 0.6066 GB, free: 5.645 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002266/0.4407, allocations: 1.443 MB / 0.608 GB, free: 4.195 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01172/0.4524, allocations: 5.944 MB / 0.6138 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03129/0.4837, allocations: 20.23 MB / 0.6336 GB, free: 9.449 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004598/0.4883, allocations: 1.666 MB / 0.6352 GB, free: 7.762 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/0.4894, allocations: 0.7034 MB / 0.6359 GB, free: 7.055 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006735/0.4961, allocations: 3.227 MB / 0.639 GB, free: 3.801 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.4961, allocations: 39.22 kB / 0.6391 GB, free: 3.754 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 3.386e-06/0.4961, allocations: 0 / 0.6391 GB, free: 3.754 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.00626/0.5024, allocations: 2.249 MB / 0.6413 GB, free: 1.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.5024, allocations: 64.06 kB / 0.6413 GB, free: 1.426 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002788/0.5052, allocations: 2.009 MB / 0.6433 GB, free: 15.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.045e-05/0.5053, allocations: 37.7 kB / 0.6433 GB, free: 15.37 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001541/0.5068, allocations: 2.121 MB / 0.6454 GB, free: 13.22 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003519/0.5072, allocations: 357.3 kB / 0.6457 GB, free: 12.87 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008296/0.508, allocations: 0.659 MB / 0.6464 GB, free: 12.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.5082, allocations: 345.9 kB / 0.6467 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/0.5096, allocations: 0.9352 MB / 0.6476 GB, free: 10.92 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002954/0.5125, allocations: 2.868 MB / 0.6504 GB, free: 7.09 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005006/0.5176, allocations: 4.151 MB / 0.6545 GB, free: 1.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.983e-05/0.5176, allocations: 23.94 kB / 0.6545 GB, free: 1.957 MB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.005972/0.5236, allocations: 3.707 MB / 0.6581 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.239e-05/0.5236, allocations: 32 kB / 0.6582 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.266e-05/0.5237, allocations: 71.94 kB / 0.6582 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.99e-05/0.5238, allocations: 92 kB / 0.6583 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001983/0.5258, allocations: 0.6823 MB / 0.659 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001169/0.5259, allocations: 139.4 kB / 0.6591 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/0.5277, allocations: 432.8 kB / 0.6595 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002449/0.528, allocations: 199.9 kB / 0.6597 GB, free: 12.61 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (382): * Single equations (assignments): 377 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002807/0.5308, allocations: 1.503 MB / 0.6612 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003068/0.5311, allocations: 162.9 kB / 0.6613 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003881/0.5315, allocations: 201 kB / 0.6615 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/0.5315, allocations: 12 kB / 0.6615 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.5315, allocations: 0 / 0.6615 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.5315, allocations: 3.984 kB / 0.6615 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006765/0.5383, allocations: 3.771 MB / 0.6652 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.5383, allocations: 4 kB / 0.6652 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004542/0.5387, allocations: 120.6 kB / 0.6653 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.871e-05/0.5388, allocations: 15.94 kB / 0.6654 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.228e-05/0.5388, allocations: 31.98 kB / 0.6654 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-05/0.5388, allocations: 12 kB / 0.6654 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.277e-05/0.5388, allocations: 11.94 kB / 0.6654 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001731/0.5406, allocations: 1.393 MB / 0.6668 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000338/0.5409, allocations: 158.7 kB / 0.6669 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.5411, allocations: 31.92 kB / 0.667 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004743/0.5415, allocations: 27.98 kB / 0.667 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/0.5417, allocations: 75.72 kB / 0.6671 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.167e-05/0.5417, allocations: 32 kB / 0.6671 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00164/0.5434, allocations: 1.155 MB / 0.6682 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5434, allocations: 0 / 0.6682 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002914/0.5463, allocations: 0.8133 MB / 0.669 GB, free: 2.812 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * 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 (63): * Single equations (assignments): 60 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003552/0.5466, allocations: 147 kB / 0.6691 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003395/0.55, allocations: 2.079 MB / 0.6712 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.55, allocations: 0 / 0.6712 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006482/0.5507, allocations: 482.9 kB / 0.6716 GB, free: 128 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.5519, allocations: 227.7 kB / 0.6719 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/0.5626, allocations: 6.123 MB / 0.6778 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002707/0.5653, allocations: 1.95 MB / 0.6797 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004846/0.5658, allocations: 151.4 kB / 0.6799 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of SimCode: time 1.382e-06/0.5658, allocations: 0 / 0.6799 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of Templates: time 0.05777/0.6236, allocations: 33.28 MB / 0.7124 GB, free: 6.273 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.185744907706976]