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.001394/0.001394, allocations: 109.1 kB / 21.22 MB, free: 0.6484 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.001509/0.001509, allocations: 209.5 kB / 24.52 MB, free: 3.941 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.449/1.449, allocations: 230.5 MB / 258.2 MB, free: 7.805 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.2305/0.2305, allocations: 46.95 MB / 361.6 MB, free: 3.926 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002317/0.002317, allocations: 79.88 kB / 0.4969 GB, free: 7.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3036, allocations: 66.07 MB / 0.5614 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.01188/0.3155, allocations: 8.856 MB / 0.5701 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006646/0.3221, allocations: 2.917 MB / 0.5729 GB, free: 8.223 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001456/0.3236, allocations: 59.81 kB / 0.573 GB, free: 8.164 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005544/0.3291, allocations: 2.531 MB / 0.5754 GB, free: 5.625 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003686/0.3328, allocations: 1.21 MB / 0.5766 GB, free: 4.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.3338, allocations: 347.4 kB / 0.577 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003983/0.3378, allocations: 2.551 MB / 0.5795 GB, free: 1.512 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003417/0.3412, allocations: 2.245 MB / 0.5816 GB, free: 15.23 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001857/0.3431, allocations: 1.063 MB / 0.5827 GB, free: 14.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002698/0.3458, allocations: 1.503 MB / 0.5842 GB, free: 12.65 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007396/0.3465, allocations: 252 kB / 0.5844 GB, free: 12.41 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.3481, allocations: 0.6748 MB / 0.5851 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001818/0.3499, allocations: 1.36 MB / 0.5864 GB, free: 10.37 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001931/0.3519, allocations: 1.138 MB / 0.5875 GB, free: 9.223 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006787/0.3587, allocations: 5.144 MB / 0.5925 GB, free: 4.059 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.3587, allocations: 4 kB / 0.5925 GB, free: 4.055 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3587, allocations: 0 / 0.5925 GB, free: 4.055 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001838/0.3588, allocations: 0 / 0.5925 GB, free: 4.055 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.007773/0.3666, allocations: 3.278 MB / 0.5957 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.3667, allocations: 8.031 kB / 0.5957 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001074/0.3668, allocations: 80.86 kB / 0.5958 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001043/0.3678, allocations: 0.5498 MB / 0.5963 GB, free: 72 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005406/0.3732, allocations: 1.625 MB / 0.5979 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003323/0.3765, allocations: 1.443 MB / 0.5993 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001539/0.3767, allocations: 184.5 kB / 0.5995 GB, free: 12.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005376/0.3772, allocations: 231.9 kB / 0.5997 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01227/0.3895, allocations: 7.106 MB / 0.6067 GB, free: 5.121 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.449e-05/0.3896, allocations: 19.88 kB / 0.6067 GB, free: 5.102 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003641/0.3899, allocations: 107.9 kB / 0.6068 GB, free: 4.996 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002321/0.3922, allocations: 1.447 MB / 0.6082 GB, free: 3.543 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.012/0.4042, allocations: 5.952 MB / 0.614 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03594/0.4402, allocations: 21.15 MB / 0.6347 GB, free: 7.859 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004897/0.4451, allocations: 1.665 MB / 0.6363 GB, free: 6.176 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001169/0.4462, allocations: 0.7095 MB / 0.637 GB, free: 5.465 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007651/0.4539, allocations: 3.237 MB / 0.6402 GB, free: 2.203 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.1e-05/0.454, allocations: 43.16 kB / 0.6402 GB, free: 2.152 MB / 478.1 MB Notification: Performance of pre-optimization done (n=87): time 4.719e-06/0.454, allocations: 0 / 0.6402 GB, free: 2.152 MB / 478.1 MB Notification: Performance of matching and sorting (n=87): time 0.006858/0.4608, allocations: 2.257 MB / 0.6424 GB, free: 15.88 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.4609, allocations: 56.06 kB / 0.6424 GB, free: 15.82 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003453/0.4643, allocations: 2.06 MB / 0.6445 GB, free: 13.76 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.4644, allocations: 37.7 kB / 0.6445 GB, free: 13.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001714/0.4661, allocations: 2.106 MB / 0.6466 GB, free: 11.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000457/0.4666, allocations: 361.3 kB / 0.6469 GB, free: 11.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001158/0.4678, allocations: 0.6512 MB / 0.6475 GB, free: 10.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002257/0.468, allocations: 369.8 kB / 0.6479 GB, free: 10.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001558/0.4695, allocations: 0.9352 MB / 0.6488 GB, free: 9.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003351/0.4729, allocations: 2.872 MB / 0.6516 GB, free: 5.434 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005213/0.4781, allocations: 4.155 MB / 0.6557 GB, free: 328 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.149e-05/0.4782, allocations: 20 kB / 0.6557 GB, free: 308 kB / 494.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.007119/0.4853, allocations: 3.711 MB / 0.6593 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001117/0.4854, allocations: 36 kB / 0.6593 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001354/0.4855, allocations: 68 kB / 0.6594 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001285/0.4857, allocations: 88 kB / 0.6595 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002377/0.488, allocations: 0.694 MB / 0.6602 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001392/0.4882, allocations: 127.5 kB / 0.6603 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002253/0.4904, allocations: 448.6 kB / 0.6607 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004805/0.4909, allocations: 196.4 kB / 0.6609 GB, free: 10.94 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.002656/0.4936, allocations: 1.503 MB / 0.6624 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003278/0.4939, allocations: 182.8 kB / 0.6625 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004759/0.4944, allocations: 210.2 kB / 0.6627 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.167e-05/0.4944, allocations: 19.92 kB / 0.6628 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.4944, allocations: 4 kB / 0.6628 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.4944, allocations: 3.984 kB / 0.6628 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009354/0.5038, allocations: 4.814 MB / 0.6675 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.03e-05/0.5038, allocations: 8 kB / 0.6675 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005023/0.5043, allocations: 111.8 kB / 0.6676 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.73e-05/0.5043, allocations: 16.03 kB / 0.6676 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-05/0.5044, allocations: 27.98 kB / 0.6676 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.521e-05/0.5044, allocations: 11.94 kB / 0.6676 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.108e-05/0.5044, allocations: 11.94 kB / 0.6677 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.5063, allocations: 1.423 MB / 0.669 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005123/0.5068, allocations: 226.3 kB / 0.6693 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003223/0.5071, allocations: 27.92 kB / 0.6693 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006682/0.5078, allocations: 31.94 kB / 0.6693 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.5079, allocations: 71.72 kB / 0.6694 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.411e-05/0.508, allocations: 35.98 kB / 0.6694 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002609/0.5106, allocations: 1.452 MB / 0.6708 GB, free: 460 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5106, allocations: 0 / 0.6708 GB, free: 460 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003101/0.5137, allocations: 0.7785 MB / 0.6716 GB, free: 15.66 MB / 0.5137 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.002767/0.5165, allocations: 2.028 MB / 0.6736 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003725/0.5202, allocations: 2.08 MB / 0.6756 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/0.5202, allocations: 8.188 kB / 0.6756 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007135/0.5209, allocations: 485.5 kB / 0.6761 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.5228, allocations: 285.7 kB / 0.6764 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03866/0.5615, allocations: 23.2 MB / 0.699 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004091/0.5656, allocations: 1.95 MB / 0.7009 GB, free: 14.84 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002566/0.5681, allocations: 1.024 MB / 0.7019 GB, free: 13.81 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00211/0.5702, allocations: 1.206 MB / 0.7031 GB, free: 12.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.704e-06/0.5702, allocations: 4 kB / 0.7031 GB, free: 12.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3219/0.8921, allocations: 38.3 MB / 0.7405 GB, free: 159.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.47/17.37, allocations: 5.188 kB / 0.7405 GB, free: 159.3 MB / 0.5606 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) [Timeout 52.5] 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: 21.055540494970046]