Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007899/0.00079, allocations: 97.09 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000965/0.0009651, allocations: 177.6 kB / 16.58 MB, free: 5.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.4 MB / 222.7 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3546/0.3546, allocations: 43.55 MB / 314.6 MB, free: 8.785 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004826/0.0004826, allocations: 18.97 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1138, allocations: 58.86 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.2557/0.3695, allocations: 49.44 MB / 492.3 MB, free: 19.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02223/0.3918, allocations: 9.919 MB / 0.4905 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01038/0.4022, allocations: 217.7 kB / 0.4907 GB, free: 12.81 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006114/0.4084, allocations: 2.095 MB / 0.4927 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01684/0.4252, allocations: 6.04 MB / 0.4986 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002434/0.4277, allocations: 303.1 kB / 0.4989 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006001/0.4337, allocations: 3.354 MB / 0.5022 GB, free: 8.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00613/0.4399, allocations: 3.913 MB / 0.506 GB, free: 6.738 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00181/0.4417, allocations: 0.8857 MB / 0.5069 GB, free: 6.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002333/0.4441, allocations: 1.393 MB / 0.5082 GB, free: 5.988 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005771/0.4447, allocations: 126.3 kB / 0.5083 GB, free: 5.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/0.4462, allocations: 0.542 MB / 0.5089 GB, free: 5.871 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001864/0.4481, allocations: 1.32 MB / 0.5102 GB, free: 5.473 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001507/0.4496, allocations: 0.6802 MB / 0.5108 GB, free: 4.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006661/0.4563, allocations: 4.642 MB / 0.5154 GB, free: 2.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.4563, allocations: 5.078 kB / 0.5154 GB, free: 2.336 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.806e-06/0.4564, allocations: 0 / 0.5154 GB, free: 2.336 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003205/0.4567, allocations: 0 / 0.5154 GB, free: 2.336 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: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.009698/0.4664, allocations: 3.088 MB / 0.5184 GB, free: 100 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.075e-05/0.4665, allocations: 9.625 kB / 0.5184 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002434/0.4689, allocations: 0.6311 MB / 0.519 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006548/0.4755, allocations: 1.758 MB / 0.5207 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004447/0.4799, allocations: 1.623 MB / 0.5223 GB, free: 13.65 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002286/0.4802, allocations: 199.2 kB / 0.5225 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0014/0.4816, allocations: 266.4 kB / 0.5227 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01855/0.5002, allocations: 8.355 MB / 0.5309 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001097/0.5004, allocations: 11.88 kB / 0.5309 GB, free: 5.477 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001136/0.5015, allocations: 123.9 kB / 0.531 GB, free: 5.355 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002787/0.5043, allocations: 1.764 MB / 0.5328 GB, free: 3.59 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01494/0.5193, allocations: 7.004 MB / 0.5396 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03937/0.5587, allocations: 25.89 MB / 0.5649 GB, free: 2.043 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005108/0.5638, allocations: 2.548 MB / 0.5674 GB, free: 15.36 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/0.5653, allocations: 0.9707 MB / 0.5683 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007376/0.5727, allocations: 4.444 MB / 0.5727 GB, free: 9.809 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.5728, allocations: 51.5 kB / 0.5727 GB, free: 9.746 MB / 446.1 MB Notification: Performance of pre-optimization done (n=120): time 3.036e-06/0.5728, allocations: 0 / 0.5727 GB, free: 9.746 MB / 446.1 MB Notification: Performance of matching and sorting (n=120): time 0.006665/0.5795, allocations: 2.719 MB / 0.5754 GB, free: 7.023 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.5795, allocations: 64.41 kB / 0.5754 GB, free: 6.949 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003419/0.583, allocations: 2.245 MB / 0.5776 GB, free: 4.664 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.25e-05/0.5831, allocations: 41.7 kB / 0.5777 GB, free: 4.617 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001555/0.5846, allocations: 2.314 MB / 0.5799 GB, free: 2.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004361/0.5851, allocations: 462 kB / 0.5804 GB, free: 1.812 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001884/0.5853, allocations: 68 kB / 0.5804 GB, free: 1.746 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003072/0.5856, allocations: 474 kB / 0.5809 GB, free: 1.277 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001897/0.5875, allocations: 1.104 MB / 0.5819 GB, free: 176 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003428/0.5909, allocations: 3.275 MB / 0.5851 GB, free: 11.83 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002861/0.5938, allocations: 1.894 MB / 0.587 GB, free: 9.941 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.177e-05/0.5939, allocations: 24 kB / 0.587 GB, free: 9.918 MB / 462.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.007064/0.6009, allocations: 4.293 MB / 0.5912 GB, free: 5.617 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.37e-05/0.601, allocations: 40 kB / 0.5913 GB, free: 5.578 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001278/0.6012, allocations: 87.92 kB / 0.5913 GB, free: 5.492 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001345/0.6013, allocations: 116 kB / 0.5914 GB, free: 5.379 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002462/0.6038, allocations: 0.8116 MB / 0.5922 GB, free: 4.566 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001295/0.6039, allocations: 155.4 kB / 0.5924 GB, free: 4.414 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002783/0.6067, allocations: 0.4909 MB / 0.5929 GB, free: 3.918 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003757/0.6071, allocations: 224 kB / 0.5931 GB, free: 3.699 MB / 462.1 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.00312/0.6102, allocations: 1.702 MB / 0.5947 GB, free: 1.984 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003244/0.6106, allocations: 201.4 kB / 0.5949 GB, free: 1.785 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002464/0.613, allocations: 1.51 MB / 0.5964 GB, free: 268 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.157e-05/0.6131, allocations: 19.95 kB / 0.5964 GB, free: 248 kB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.6131, allocations: 0 / 0.5964 GB, free: 248 kB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.6131, allocations: 11.97 kB / 0.5964 GB, free: 236 kB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.013/0.6261, allocations: 7.366 MB / 0.6036 GB, free: 8.594 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-05/0.6262, allocations: 15.98 kB / 0.6036 GB, free: 8.578 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007683/0.627, allocations: 195.6 kB / 0.6038 GB, free: 8.387 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.587e-05/0.627, allocations: 24 kB / 0.6039 GB, free: 8.363 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.991e-05/0.6271, allocations: 40.61 kB / 0.6039 GB, free: 8.324 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.907e-05/0.6271, allocations: 19.94 kB / 0.6039 GB, free: 8.305 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.58e-05/0.6272, allocations: 27.88 kB / 0.6039 GB, free: 8.277 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002869/0.6301, allocations: 1.985 MB / 0.6059 GB, free: 6.078 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006882/0.6308, allocations: 333.9 kB / 0.6062 GB, free: 5.73 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004773/0.6312, allocations: 35.98 kB / 0.6062 GB, free: 5.695 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/0.6329, allocations: 51.88 kB / 0.6063 GB, free: 5.645 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002557/0.6332, allocations: 111.6 kB / 0.6064 GB, free: 5.535 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001594/0.6333, allocations: 59.97 kB / 0.6064 GB, free: 5.477 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002804/0.6361, allocations: 1.555 MB / 0.608 GB, free: 3.906 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6362, allocations: 3.938 kB / 0.608 GB, free: 3.902 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005314/0.6415, allocations: 0.9291 MB / 0.6089 GB, free: 2.969 MB / 478.1 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.004464/0.646, allocations: 2.616 MB / 0.6114 GB, free: 140 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004971/0.651, allocations: 2.598 MB / 0.614 GB, free: 13.55 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/0.651, allocations: 8.062 kB / 0.614 GB, free: 13.54 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001102/0.6521, allocations: 0.6898 MB / 0.6146 GB, free: 12.85 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/0.6546, allocations: 304.9 kB / 0.6149 GB, free: 12.55 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2952/0.9498, allocations: 20.46 MB / 0.6349 GB, free: 101.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002966/0.9529, allocations: 2.825 MB / 0.6377 GB, free: 100.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002677/0.9556, allocations: 1.17 MB / 0.6388 GB, free: 100.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001502/0.9571, allocations: 1.436 MB / 0.6402 GB, free: 100.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.303e-06/0.9571, allocations: 0 / 0.6402 GB, free: 100.4 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08972/1.047, allocations: 47.14 MB / 0.6863 GB, free: 74.6 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001419/1.047, allocations: 191.2 kB / 0.6864 GB, free: 74.36 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.921/3.968, allocations: 0.6562 kB / 0.6864 GB, free: 74.36 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat does not exist to compare? outputFormat=mat