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.001642/0.001642, allocations: 96.91 kB / 15.69 MB, free: 480 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.002475/0.002475, allocations: 177.2 kB / 16.57 MB, free: 6.848 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.75/1.75, allocations: 205.4 MB / 222.7 MB, free: 5.66 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.4323/0.4323, allocations: 43.54 MB / 314.5 MB, free: 9.043 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.0005452/0.0005452, allocations: 12 kB / 384 MB, free: 8.184 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.136, allocations: 58.85 MB / 442.8 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.2972/0.4332, allocations: 46.78 MB / 489.6 MB, free: 21.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02373/0.457, allocations: 10.39 MB / 0.4883 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01127/0.4683, allocations: 223.8 kB / 0.4885 GB, free: 14.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008519/0.4769, allocations: 2.367 MB / 0.4908 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02531/0.5022, allocations: 6.655 MB / 0.4973 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003021/0.5053, allocations: 287.5 kB / 0.4976 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004322/0.5096, allocations: 1.578 MB / 0.4991 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006302/0.516, allocations: 3.885 MB / 0.5029 GB, free: 8.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.5178, allocations: 0.7069 MB / 0.5036 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001857/0.5197, allocations: 0.954 MB / 0.5045 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004864/0.5202, allocations: 123 kB / 0.5047 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001332/0.5216, allocations: 0.53 MB / 0.5052 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001683/0.5232, allocations: 1.224 MB / 0.5064 GB, free: 7.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001315/0.5246, allocations: 0.69 MB / 0.507 GB, free: 6.879 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00883/0.5334, allocations: 4.636 MB / 0.5116 GB, free: 5.023 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.5335, allocations: 4.906 kB / 0.5116 GB, free: 5.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.5335, allocations: 0 / 0.5116 GB, free: 5.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003484/0.5338, allocations: 0 / 0.5116 GB, free: 5.02 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.01286/0.5467, allocations: 3.137 MB / 0.5146 GB, free: 2.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.341e-05/0.5468, allocations: 9.469 kB / 0.5146 GB, free: 2.758 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004321/0.5511, allocations: 0.6351 MB / 0.5153 GB, free: 2.312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009245/0.5604, allocations: 2.049 MB / 0.5173 GB, free: 1.277 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005643/0.5661, allocations: 1.621 MB / 0.5189 GB, free: 192 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001874/0.5663, allocations: 204.1 kB / 0.519 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001006/0.5674, allocations: 262.6 kB / 0.5193 GB, free: 0 / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01738/0.5847, allocations: 8.399 MB / 0.5275 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.068e-05/0.5849, allocations: 11.88 kB / 0.5275 GB, free: 8.914 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003881/0.5853, allocations: 119.9 kB / 0.5276 GB, free: 8.797 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002791/0.5881, allocations: 1.768 MB / 0.5294 GB, free: 7.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01541/0.6035, allocations: 7.058 MB / 0.5362 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04198/0.6455, allocations: 25.95 MB / 0.5616 GB, free: 5.363 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005477/0.6511, allocations: 2.548 MB / 0.5641 GB, free: 2.688 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009261/0.6604, allocations: 4.471 MB / 0.5684 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.6605, allocations: 43.5 kB / 0.5685 GB, free: 14.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=120): time 6.572e-06/0.6605, allocations: 0 / 0.5685 GB, free: 14.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=120): time 0.007259/0.6677, allocations: 2.987 MB / 0.5714 GB, free: 10.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.6678, allocations: 64.41 kB / 0.5715 GB, free: 10.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003545/0.6714, allocations: 2.241 MB / 0.5737 GB, free: 8.621 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.6715, allocations: 41.7 kB / 0.5737 GB, free: 8.574 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001801/0.6733, allocations: 2.321 MB / 0.576 GB, free: 6.219 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004777/0.6738, allocations: 462 kB / 0.5764 GB, free: 5.762 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.6739, allocations: 68 kB / 0.5765 GB, free: 5.695 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002694/0.6742, allocations: 470 kB / 0.5769 GB, free: 5.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/0.676, allocations: 1.104 MB / 0.578 GB, free: 4.125 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003324/0.6793, allocations: 3.271 MB / 0.5812 GB, free: 15.79 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00271/0.6821, allocations: 1.89 MB / 0.583 GB, free: 13.91 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.903e-05/0.6821, allocations: 23.94 kB / 0.5831 GB, free: 13.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.006701/0.6888, allocations: 4.301 MB / 0.5873 GB, free: 9.57 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.061e-05/0.6889, allocations: 36 kB / 0.5873 GB, free: 9.535 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-05/0.689, allocations: 76 kB / 0.5874 GB, free: 9.461 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001186/0.6891, allocations: 119.9 kB / 0.5875 GB, free: 9.344 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00244/0.6916, allocations: 0.8149 MB / 0.5883 GB, free: 8.527 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001124/0.6917, allocations: 155.4 kB / 0.5884 GB, free: 8.375 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00259/0.6943, allocations: 0.4951 MB / 0.5889 GB, free: 7.875 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002805/0.6946, allocations: 220 kB / 0.5891 GB, free: 7.66 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.003336/0.6979, allocations: 1.71 MB / 0.5908 GB, free: 5.938 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003367/0.6983, allocations: 193.5 kB / 0.591 GB, free: 5.746 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002499/0.7008, allocations: 1.51 MB / 0.5924 GB, free: 4.227 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/0.7008, allocations: 12 kB / 0.5925 GB, free: 4.215 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.7008, allocations: 3.953 kB / 0.5925 GB, free: 4.211 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.7008, allocations: 7.969 kB / 0.5925 GB, free: 4.203 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01368/0.7145, allocations: 7.37 MB / 0.5997 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.246e-05/0.7146, allocations: 16 kB / 0.5997 GB, free: 12.54 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007542/0.7153, allocations: 187.6 kB / 0.5999 GB, free: 12.36 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.51e-05/0.7154, allocations: 20 kB / 0.5999 GB, free: 12.34 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.663e-05/0.7155, allocations: 39.98 kB / 0.5999 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.637e-05/0.7155, allocations: 27.92 kB / 0.5999 GB, free: 12.27 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-05/0.7155, allocations: 24.31 kB / 0.6 GB, free: 12.25 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003136/0.7187, allocations: 3.187 MB / 0.6031 GB, free: 8.434 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007048/0.7194, allocations: 333.9 kB / 0.6034 GB, free: 8.086 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002366/0.7196, allocations: 43.89 kB / 0.6034 GB, free: 8.047 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007577/0.7204, allocations: 47.88 kB / 0.6035 GB, free: 8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.7206, allocations: 111.6 kB / 0.6036 GB, free: 7.891 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-05/0.7207, allocations: 55.98 kB / 0.6036 GB, free: 7.836 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002455/0.7231, allocations: 1.563 MB / 0.6052 GB, free: 6.258 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7231, allocations: 0 / 0.6052 GB, free: 6.258 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00385/0.727, allocations: 0.9253 MB / 0.6061 GB, free: 5.328 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.006226/0.7332, allocations: 7.686 MB / 0.6136 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.004733/0.738, allocations: 2.597 MB / 0.6161 GB, free: 10.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/0.738, allocations: 0 / 0.6161 GB, free: 10.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.7391, allocations: 0.6911 MB / 0.6168 GB, free: 9.91 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/0.7406, allocations: 293.8 kB / 0.6171 GB, free: 9.625 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2927/1.033, allocations: 64.91 MB / 0.6805 GB, free: 53.82 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003745/1.037, allocations: 2.901 MB / 0.6833 GB, free: 53.06 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003039/1.04, allocations: 1.178 MB / 0.6844 GB, free: 52.96 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002025/1.042, allocations: 1.441 MB / 0.6858 GB, free: 52.96 MB / 494.1 MB Notification: Performance of SimCode: time 1.293e-06/1.042, allocations: 0 / 0.6858 GB, free: 52.96 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08678/1.129, allocations: 46.5 MB / 0.7313 GB, free: 30.85 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001471/1.129, allocations: 186 kB / 0.7314 GB, free: 30.61 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.061/4.191, allocations: 3.938 kB / 0.7314 GB, free: 30.6 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