Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001193/0.001193, allocations: 193.7 kB / 16.09 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.207/1.207, allocations: 226.5 MB / 243.4 MB, free: 8.129 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008196/0.0008193, allocations: 102.9 kB / 295.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2899/0.2899, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002739/0.0002739, allocations: 15.92 kB / 465.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2621, allocations: 62.95 MB / 0.516 GB, free: 37.15 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.03195/0.2941, allocations: 47.59 MB / 0.5624 GB, free: 3.172 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02079/0.315, allocations: 9.733 MB / 0.5719 GB, free: 12.51 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01/0.325, allocations: 213.7 kB / 0.5721 GB, free: 12.48 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006909/0.332, allocations: 2.068 MB / 0.5742 GB, free: 11.76 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01677/0.3488, allocations: 5.946 MB / 0.58 GB, free: 7.75 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002348/0.3511, allocations: 331.6 kB / 0.5803 GB, free: 7.426 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.003994/0.3551, allocations: 3.123 MB / 0.5833 GB, free: 4.297 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005287/0.3605, allocations: 4.065 MB / 0.5873 GB, free: 160 kB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.3618, allocations: 0.7901 MB / 0.5881 GB, free: 15.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/0.3634, allocations: 1.184 MB / 0.5892 GB, free: 14.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000407/0.3638, allocations: 104 kB / 0.5893 GB, free: 14.07 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.3651, allocations: 0.6357 MB / 0.59 GB, free: 13.43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001136/0.3662, allocations: 1.176 MB / 0.5911 GB, free: 12.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001488/0.3677, allocations: 1.349 MB / 0.5924 GB, free: 10.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003868/0.3716, allocations: 4.146 MB / 0.5965 GB, free: 6.738 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3716, allocations: 4 kB / 0.5965 GB, free: 6.734 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3716, allocations: 0 / 0.5965 GB, free: 6.734 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001501/0.3718, allocations: 0 / 0.5965 GB, free: 6.734 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.004686/0.3765, allocations: 2.774 MB / 0.5992 GB, free: 3.895 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3765, allocations: 8.031 kB / 0.5992 GB, free: 3.887 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008369/0.3774, allocations: 0.5707 MB / 0.5997 GB, free: 3.305 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00499/0.3824, allocations: 1.701 MB / 0.6014 GB, free: 1.598 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/0.385, allocations: 1.524 MB / 0.6029 GB, free: 28 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.3852, allocations: 188.8 kB / 0.6031 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004263/0.3856, allocations: 239.9 kB / 0.6033 GB, free: 15.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/0.3959, allocations: 7.474 MB / 0.6106 GB, free: 7.816 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.132e-05/0.396, allocations: 15.88 kB / 0.6106 GB, free: 7.801 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002683/0.3963, allocations: 111.9 kB / 0.6107 GB, free: 7.691 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00216/0.3984, allocations: 1.564 MB / 0.6122 GB, free: 6.125 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01013/0.4086, allocations: 6.227 MB / 0.6183 GB, free: 15.88 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02764/0.4363, allocations: 23.33 MB / 0.6411 GB, free: 7.934 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004264/0.4406, allocations: 2.194 MB / 0.6433 GB, free: 5.617 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009817/0.4416, allocations: 0.7727 MB / 0.644 GB, free: 4.84 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006251/0.4478, allocations: 3.894 MB / 0.6478 GB, free: 0.8086 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.228e-05/0.4479, allocations: 39.12 kB / 0.6479 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of pre-optimization done (n=87): time 5.23e-06/0.4479, allocations: 0 / 0.6479 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of matching and sorting (n=87): time 0.005807/0.4537, allocations: 2.248 MB / 0.65 GB, free: 14.51 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.4538, allocations: 59.97 kB / 0.6501 GB, free: 14.44 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002746/0.4566, allocations: 2.085 MB / 0.6521 GB, free: 12.3 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.775e-05/0.4567, allocations: 37.7 kB / 0.6522 GB, free: 12.26 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001329/0.458, allocations: 2.116 MB / 0.6542 GB, free: 10.12 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003667/0.4584, allocations: 347.6 kB / 0.6546 GB, free: 9.773 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.4585, allocations: 60 kB / 0.6546 GB, free: 9.715 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002346/0.4588, allocations: 456.9 kB / 0.6551 GB, free: 9.262 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.4601, allocations: 0.9275 MB / 0.656 GB, free: 8.332 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002404/0.4625, allocations: 2.901 MB / 0.6588 GB, free: 4.449 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004027/0.4666, allocations: 4.196 MB / 0.6629 GB, free: 15.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.735e-05/0.4666, allocations: 20 kB / 0.6629 GB, free: 15.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.005324/0.472, allocations: 3.726 MB / 0.6666 GB, free: 11.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.683e-05/0.472, allocations: 32 kB / 0.6666 GB, free: 11.49 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.329e-05/0.4721, allocations: 72 kB / 0.6667 GB, free: 11.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.852e-05/0.4722, allocations: 92 kB / 0.6667 GB, free: 11.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/0.474, allocations: 0.6979 MB / 0.6674 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.761e-05/0.4741, allocations: 139.4 kB / 0.6676 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/0.4759, allocations: 447.2 kB / 0.668 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002339/0.4762, allocations: 200 kB / 0.6682 GB, free: 9.859 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 318 * Number of states: 0 () * Number of discrete variables: 34 (cutForceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.forceArrow.arrowLine.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 (388): * Single equations (assignments): 383 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002162/0.4783, allocations: 1.562 MB / 0.6697 GB, free: 8.285 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000218/0.4786, allocations: 173.7 kB / 0.6699 GB, free: 8.113 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003777/0.479, allocations: 218.7 kB / 0.6701 GB, free: 7.898 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.391e-05/0.479, allocations: 15.88 kB / 0.6701 GB, free: 7.883 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.479, allocations: 4 kB / 0.6701 GB, free: 7.879 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.479, allocations: 7.984 kB / 0.6701 GB, free: 7.871 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00736/0.4864, allocations: 5.068 MB / 0.6751 GB, free: 2.617 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.4864, allocations: 8 kB / 0.6751 GB, free: 2.609 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004206/0.4868, allocations: 115.8 kB / 0.6752 GB, free: 2.496 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.231e-05/0.4869, allocations: 15.94 kB / 0.6752 GB, free: 2.48 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.878e-05/0.4869, allocations: 27.97 kB / 0.6752 GB, free: 2.453 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.215e-05/0.4869, allocations: 15.94 kB / 0.6752 GB, free: 2.438 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.487, allocations: 8 kB / 0.6752 GB, free: 2.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001479/0.4884, allocations: 1.395 MB / 0.6766 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004158/0.4889, allocations: 298.3 kB / 0.6769 GB, free: 0.5977 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001754/0.489, allocations: 27.92 kB / 0.6769 GB, free: 0.5703 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005171/0.4896, allocations: 47.67 kB / 0.677 GB, free: 0.5234 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.4897, allocations: 55.81 kB / 0.677 GB, free: 480 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.692e-05/0.4898, allocations: 36 kB / 0.677 GB, free: 444 kB / 490.7 MB Notification: Performance of sorting global known variables: time 0.201/0.6908, allocations: 1.465 MB / 0.6785 GB, free: 130.1 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6908, allocations: 0 / 0.6785 GB, free: 130.1 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002966/0.6938, allocations: 0.8092 MB / 0.6793 GB, free: 130.1 MB / 490.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001687/0.6955, allocations: 2.006 MB / 0.6812 GB, free: 129.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002516/0.6981, allocations: 2.157 MB / 0.6833 GB, free: 128.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.6981, allocations: 2.5 kB / 0.6833 GB, free: 128.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004606/0.6985, allocations: 0.4949 MB / 0.6838 GB, free: 128.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003065/0.7016, allocations: 273 kB / 0.6841 GB, free: 128.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02282/0.7244, allocations: 18.16 MB / 0.7018 GB, free: 116.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002775/0.7273, allocations: 2.601 MB / 0.7043 GB, free: 115.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00131/0.7286, allocations: 1.284 MB / 0.7056 GB, free: 114.5 MB / 490.7 MB Notification: Performance of SimCode: time 9.41e-07/0.7286, allocations: 0 / 0.7056 GB, free: 114.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.776/5.504, allocations: 47.04 MB / 0.7515 GB, free: 82.3 MB / 490.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches