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) 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/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 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001412/0.001412, allocations: 116.9 kB / 17.33 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001753/0.001753, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.4/1.4, allocations: 227.4 MB / 246.4 MB, free: 10.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2114/0.2114, allocations: 46.11 MB / 343.8 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003022/0.003022, allocations: 76.39 kB / 417.1 MB, free: 20.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1594, allocations: 62.45 MB / 479.6 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.3051/0.4645, allocations: 37.84 MB / 0.5053 GB, free: 10.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01898/0.4835, allocations: 7.576 MB / 0.5127 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009287/0.4928, allocations: 157.1 kB / 0.5129 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005997/0.4989, allocations: 2.528 MB / 0.5153 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004255/0.5032, allocations: 1.103 MB / 0.5164 GB, free: 9.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.5045, allocations: 323.8 kB / 0.5167 GB, free: 9.355 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005312/0.5099, allocations: 2.564 MB / 0.5192 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006525/0.5164, allocations: 3.146 MB / 0.5223 GB, free: 7.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002904/0.5193, allocations: 1.067 MB / 0.5233 GB, free: 7.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00297/0.5223, allocations: 1.498 MB / 0.5248 GB, free: 6.574 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001257/0.5236, allocations: 251.6 kB / 0.525 GB, free: 6.574 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002599/0.5262, allocations: 0.7623 MB / 0.5258 GB, free: 6.445 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002214/0.5285, allocations: 1.351 MB / 0.5271 GB, free: 5.934 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003411/0.5319, allocations: 1.563 MB / 0.5286 GB, free: 4.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006332/0.5383, allocations: 4.968 MB / 0.5335 GB, free: 1.734 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.5383, allocations: 4 kB / 0.5335 GB, free: 1.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.5383, allocations: 0 / 0.5335 GB, free: 1.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002036/0.5385, allocations: 1.469 kB / 0.5335 GB, free: 1.73 MB / 382.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.00772/0.5462, allocations: 3.267 MB / 0.5367 GB, free: 15.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.5463, allocations: 7.5 kB / 0.5367 GB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008099/0.5471, allocations: 0.5497 MB / 0.5372 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00481/0.552, allocations: 1.602 MB / 0.5388 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003161/0.5551, allocations: 1.483 MB / 0.5402 GB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.5553, allocations: 182.1 kB / 0.5404 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003739/0.5556, allocations: 232.2 kB / 0.5406 GB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01283/0.5685, allocations: 7.11 MB / 0.5476 GB, free: 7.082 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.225e-05/0.5686, allocations: 11.88 kB / 0.5476 GB, free: 7.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002887/0.5689, allocations: 110.6 kB / 0.5477 GB, free: 6.988 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002383/0.5713, allocations: 1.44 MB / 0.5491 GB, free: 5.555 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01137/0.5826, allocations: 5.95 MB / 0.5549 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03672/0.6194, allocations: 22.46 MB / 0.5768 GB, free: 8.703 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005187/0.6246, allocations: 2.189 MB / 0.579 GB, free: 6.391 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/0.6258, allocations: 0.7698 MB / 0.5797 GB, free: 5.613 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007344/0.6332, allocations: 3.847 MB / 0.5835 GB, free: 1.652 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.6333, allocations: 39.12 kB / 0.5835 GB, free: 1.605 MB / 430.1 MB Notification: Performance of pre-optimization done (n=87): time 4.198e-06/0.6333, allocations: 0 / 0.5835 GB, free: 1.605 MB / 430.1 MB Notification: Performance of matching and sorting (n=87): time 0.006598/0.6399, allocations: 2.24 MB / 0.5857 GB, free: 15.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.64, allocations: 63.97 kB / 0.5858 GB, free: 15.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003941/0.6439, allocations: 2.052 MB / 0.5878 GB, free: 13.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.644, allocations: 40.28 kB / 0.5878 GB, free: 13.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001772/0.6458, allocations: 2.033 MB / 0.5898 GB, free: 11.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004975/0.6463, allocations: 344.8 kB / 0.5901 GB, free: 10.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001184/0.6475, allocations: 0.6529 MB / 0.5908 GB, free: 10.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.6477, allocations: 365.8 kB / 0.5911 GB, free: 9.789 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001546/0.6493, allocations: 0.9391 MB / 0.592 GB, free: 8.848 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002922/0.6522, allocations: 2.868 MB / 0.5948 GB, free: 5.016 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004759/0.657, allocations: 4.155 MB / 0.5989 GB, free: 15.9 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.954e-05/0.6571, allocations: 20 kB / 0.5989 GB, free: 15.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=416) (initialization): time 0.006351/0.6634, allocations: 3.699 MB / 0.6025 GB, free: 12.18 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.816e-05/0.6635, allocations: 36.97 kB / 0.6026 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-05/0.6636, allocations: 68 kB / 0.6026 GB, free: 12.07 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001092/0.6637, allocations: 91.98 kB / 0.6027 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00208/0.6658, allocations: 0.6901 MB / 0.6034 GB, free: 11.29 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001303/0.666, allocations: 131.5 kB / 0.6035 GB, free: 11.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/0.6681, allocations: 443.2 kB / 0.6039 GB, free: 10.73 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003086/0.6685, allocations: 194.4 kB / 0.6041 GB, free: 10.54 MB / 462.1 MB 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.002556/0.671, allocations: 1.503 MB / 0.6056 GB, free: 9.023 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000315/0.6713, allocations: 169.8 kB / 0.6057 GB, free: 8.855 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004111/0.6718, allocations: 214.2 kB / 0.6059 GB, free: 8.641 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-05/0.6718, allocations: 12 kB / 0.606 GB, free: 8.629 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.6718, allocations: 0 / 0.606 GB, free: 8.629 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.6718, allocations: 3.984 kB / 0.606 GB, free: 8.625 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009607/0.6814, allocations: 4.936 MB / 0.6108 GB, free: 3.539 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.738e-05/0.6815, allocations: 12.22 kB / 0.6108 GB, free: 3.527 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004772/0.682, allocations: 111.8 kB / 0.6109 GB, free: 3.418 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.599e-05/0.682, allocations: 12 kB / 0.6109 GB, free: 3.406 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.869e-05/0.6821, allocations: 30.41 kB / 0.6109 GB, free: 3.379 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.335e-05/0.6821, allocations: 11.94 kB / 0.611 GB, free: 3.367 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/0.6821, allocations: 11.94 kB / 0.611 GB, free: 3.355 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.6839, allocations: 1.41 MB / 0.6123 GB, free: 1.824 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005508/0.6845, allocations: 286.4 kB / 0.6126 GB, free: 1.523 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003415/0.6848, allocations: 20 kB / 0.6126 GB, free: 1.504 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007046/0.6855, allocations: 35.88 kB / 0.6127 GB, free: 1.469 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.6857, allocations: 63.7 kB / 0.6127 GB, free: 1.406 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.257e-05/0.6857, allocations: 42.17 kB / 0.6128 GB, free: 1.367 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00258/0.6883, allocations: 1.449 MB / 0.6142 GB, free: 15.9 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6883, allocations: 0 / 0.6142 GB, free: 15.9 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003186/0.6915, allocations: 0.7736 MB / 0.6149 GB, free: 15.12 MB / 478.1 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 (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.002661/0.6942, allocations: 2.014 MB / 0.6169 GB, free: 12.98 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00393/0.6982, allocations: 2.382 MB / 0.6192 GB, free: 10.61 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.6982, allocations: 0 / 0.6192 GB, free: 10.61 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006777/0.6989, allocations: 0.4999 MB / 0.6197 GB, free: 10.11 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/0.7008, allocations: 278.4 kB / 0.62 GB, free: 9.848 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04509/0.7459, allocations: 26.17 MB / 0.6455 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003891/0.7498, allocations: 2.506 MB / 0.648 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002688/0.7525, allocations: 1.031 MB / 0.649 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001958/0.7545, allocations: 1.202 MB / 0.6502 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of SimCode: time 1.302e-06/0.7545, allocations: 0 / 0.6502 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06331/0.8178, allocations: 35.92 MB / 0.6852 GB, free: 3.828 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002533/0.8181, allocations: 218.7 kB / 0.6855 GB, free: 3.559 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.677/3.495, allocations: 0 / 0.6855 GB, free: 3.559 MB / 0.5294 GB (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 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches