Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008515/0.0008516, allocations: 172.8 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.193/1.193, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007741/0.0007741, allocations: 92.78 kB / 271.2 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.281/0.281, allocations: 43.56 MB / 363.1 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004067/0.000407, allocations: 19.98 kB / 432.1 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09392/0.09435, allocations: 58.85 MB / 490.9 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.1928/0.2872, allocations: 49.45 MB / 0.5277 GB, free: 15.03 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01962/0.3068, allocations: 9.923 MB / 0.5374 GB, free: 8.266 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007739/0.3146, allocations: 216.4 kB / 0.5376 GB, free: 8.238 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004838/0.3195, allocations: 2.094 MB / 0.5396 GB, free: 7.504 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01207/0.3316, allocations: 6.068 MB / 0.5456 GB, free: 4.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001296/0.3329, allocations: 336.2 kB / 0.5459 GB, free: 4.836 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003128/0.336, allocations: 3.411 MB / 0.5492 GB, free: 3.684 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004635/0.3407, allocations: 4.171 MB / 0.5533 GB, free: 1.938 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001196/0.3419, allocations: 0.8808 MB / 0.5542 GB, free: 1.633 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001546/0.3434, allocations: 1.391 MB / 0.5555 GB, free: 1.195 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002771/0.3437, allocations: 126.3 kB / 0.5556 GB, free: 1.191 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.3449, allocations: 0.6415 MB / 0.5563 GB, free: 1.039 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001126/0.346, allocations: 1.316 MB / 0.5575 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001251/0.3473, allocations: 1.524 MB / 0.559 GB, free: 15.56 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004099/0.3514, allocations: 4.639 MB / 0.5636 GB, free: 12.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3514, allocations: 0 / 0.5636 GB, free: 12.85 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.3514, allocations: 3.938 kB / 0.5636 GB, free: 12.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.465e-05/0.3515, allocations: 0 / 0.5636 GB, free: 12.84 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.004811/0.3563, allocations: 3.048 MB / 0.5665 GB, free: 10.6 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.3564, allocations: 11 kB / 0.5666 GB, free: 10.6 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006986/0.3571, allocations: 0.6413 MB / 0.5672 GB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005297/0.3624, allocations: 1.751 MB / 0.5689 GB, free: 9.242 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002487/0.3649, allocations: 1.641 MB / 0.5705 GB, free: 8.133 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/0.365, allocations: 211.1 kB / 0.5707 GB, free: 8.027 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004128/0.3654, allocations: 261.5 kB / 0.5709 GB, free: 7.938 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01113/0.3766, allocations: 8.35 MB / 0.5791 GB, free: 15.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.097e-05/0.3766, allocations: 15.88 kB / 0.5791 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003128/0.377, allocations: 123.9 kB / 0.5792 GB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002461/0.3794, allocations: 1.764 MB / 0.581 GB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01139/0.3908, allocations: 6.995 MB / 0.5878 GB, free: 6.336 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03217/0.423, allocations: 25.92 MB / 0.6131 GB, free: 11.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004982/0.4281, allocations: 2.544 MB / 0.6156 GB, free: 9.102 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001349/0.4294, allocations: 0.9695 MB / 0.6165 GB, free: 8.129 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007216/0.4367, allocations: 4.443 MB / 0.6209 GB, free: 3.539 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.4367, allocations: 39.56 kB / 0.6209 GB, free: 3.492 MB / 442.7 MB Notification: Performance of pre-optimization done (n=120): time 4.849e-06/0.4367, allocations: 0 / 0.6209 GB, free: 3.492 MB / 442.7 MB Notification: Performance of matching and sorting (n=120): time 0.00656/0.4433, allocations: 2.727 MB / 0.6236 GB, free: 0.7578 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.561e-05/0.4434, allocations: 60.41 kB / 0.6236 GB, free: 0.6875 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002964/0.4463, allocations: 2.249 MB / 0.6258 GB, free: 14.4 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.284e-05/0.4464, allocations: 41.7 kB / 0.6259 GB, free: 14.35 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001338/0.4478, allocations: 2.314 MB / 0.6281 GB, free: 12 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003559/0.4481, allocations: 462 kB / 0.6286 GB, free: 11.55 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001346/0.4483, allocations: 79.92 kB / 0.6286 GB, free: 11.47 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002287/0.4485, allocations: 470 kB / 0.6291 GB, free: 11 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/0.4501, allocations: 1.104 MB / 0.6302 GB, free: 9.898 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002774/0.4529, allocations: 3.279 MB / 0.6334 GB, free: 5.555 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004962/0.4579, allocations: 4.796 MB / 0.6381 GB, free: 15.69 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-05/0.4579, allocations: 20 kB / 0.6381 GB, free: 15.67 MB / 474.7 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.006204/0.4641, allocations: 4.289 MB / 0.6423 GB, free: 11.37 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.942e-05/0.4642, allocations: 39.94 kB / 0.6423 GB, free: 11.33 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.258e-05/0.4643, allocations: 76 kB / 0.6424 GB, free: 11.26 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.981e-05/0.4644, allocations: 100 kB / 0.6425 GB, free: 11.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002202/0.4666, allocations: 0.8188 MB / 0.6433 GB, free: 10.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001016/0.4667, allocations: 148 kB / 0.6434 GB, free: 10.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002014/0.4687, allocations: 0.5024 MB / 0.6439 GB, free: 9.688 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002656/0.469, allocations: 223.9 kB / 0.6441 GB, free: 9.469 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 347 * Number of states: 0 () * Number of discrete variables: 30 (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 (450): * Single equations (assignments): 445 * 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.002526/0.4715, allocations: 1.71 MB / 0.6458 GB, free: 7.746 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/0.4717, allocations: 189.5 kB / 0.646 GB, free: 7.559 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00228/0.474, allocations: 1.51 MB / 0.6474 GB, free: 6.039 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.4741, allocations: 16 kB / 0.6475 GB, free: 6.023 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.4741, allocations: 0 / 0.6475 GB, free: 6.023 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.4741, allocations: 7.984 kB / 0.6475 GB, free: 6.016 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/0.4844, allocations: 7.366 MB / 0.6547 GB, free: 14.38 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.892e-05/0.4844, allocations: 16 kB / 0.6547 GB, free: 14.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007163/0.4851, allocations: 183.7 kB / 0.6548 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.223e-05/0.4852, allocations: 23.98 kB / 0.6549 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.032e-05/0.4853, allocations: 39.94 kB / 0.6549 GB, free: 14.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.06e-05/0.4853, allocations: 32.42 kB / 0.6549 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.451e-05/0.4853, allocations: 27.88 kB / 0.655 GB, free: 14.06 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002264/0.4876, allocations: 1.996 MB / 0.6569 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005111/0.4881, allocations: 326 kB / 0.6572 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002158/0.4883, allocations: 35.98 kB / 0.6573 GB, free: 11.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007557/0.4891, allocations: 55.81 kB / 0.6573 GB, free: 11.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002059/0.4893, allocations: 115.5 kB / 0.6574 GB, free: 11.31 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.483e-05/0.4894, allocations: 51.98 kB / 0.6575 GB, free: 11.26 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002048/0.4914, allocations: 1.559 MB / 0.659 GB, free: 9.688 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4914, allocations: 0 / 0.659 GB, free: 9.688 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002872/0.4943, allocations: 0.9252 MB / 0.6599 GB, free: 8.758 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.002703/0.497, allocations: 2.624 MB / 0.6625 GB, free: 5.91 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003717/0.5008, allocations: 2.594 MB / 0.665 GB, free: 3.336 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/0.5008, allocations: 8.125 kB / 0.665 GB, free: 3.328 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009072/0.5017, allocations: 0.6938 MB / 0.6657 GB, free: 2.637 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00503/0.5067, allocations: 320.1 kB / 0.666 GB, free: 2.324 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2077/0.7145, allocations: 20.88 MB / 0.6864 GB, free: 154.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002972/0.7175, allocations: 2.834 MB / 0.6891 GB, free: 154.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001705/0.7192, allocations: 1.463 MB / 0.6906 GB, free: 154.1 MB / 0.4948 GB Notification: Performance of SimCode: time 7.31e-07/0.7192, allocations: 0 / 0.6906 GB, free: 154.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.909/5.628, allocations: 53.03 MB / 0.7424 GB, free: 132.6 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForceAndTorque3/CutForceAndTorque3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches