Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",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.001104/0.001105, allocations: 95.73 kB / 15.68 MB, free: 488 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.001854/0.001855, allocations: 172.9 kB / 16.56 MB, free: 6.379 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.584/1.584, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.3654/0.3654, allocations: 43.54 MB / 314.5 MB, free: 9 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.0005212/0.0005214, allocations: 19.94 kB / 384 MB, free: 8.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1364, allocations: 58.86 MB / 442.8 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.3533/0.4897, allocations: 114.2 MB / 0.544 GB, free: 4.922 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.06685/0.5566, allocations: 24.84 MB / 0.5683 GB, free: 14.55 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03313/0.5898, allocations: 0.5612 MB / 0.5688 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02271/0.6126, allocations: 5.801 MB / 0.5745 GB, free: 9.145 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05892/0.6715, allocations: 16.19 MB / 0.5903 GB, free: 8.926 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009355/0.6809, allocations: 1.384 MB / 0.5916 GB, free: 7.543 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.01329/0.6942, allocations: 5.342 MB / 0.5968 GB, free: 2.207 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01888/0.7132, allocations: 11.38 MB / 0.608 GB, free: 6.773 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006556/0.7198, allocations: 2.48 MB / 0.6104 GB, free: 4.285 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007116/0.7269, allocations: 3.306 MB / 0.6136 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002237/0.7292, allocations: 376 kB / 0.614 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003673/0.7329, allocations: 1.007 MB / 0.615 GB, free: 15.59 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005829/0.7387, allocations: 3.924 MB / 0.6188 GB, free: 11.66 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003749/0.7425, allocations: 1.96 MB / 0.6207 GB, free: 9.688 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.7134/1.456, allocations: 13.11 MB / 0.6335 GB, free: 20.99 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/1.456, allocations: 0 / 0.6335 GB, free: 20.99 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.096e-06/1.456, allocations: 0 / 0.6335 GB, free: 20.99 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0007704/1.457, allocations: 0 / 0.6335 GB, free: 20.99 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3665 * Number of variables: 3665 Notification: Performance of Generate backend data structure: time 0.02636/1.483, allocations: 9.63 MB / 0.6429 GB, free: 16.98 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/1.483, allocations: 11.61 kB / 0.6429 GB, free: 16.98 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00651/1.49, allocations: 1.704 MB / 0.6446 GB, free: 16.85 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01784/1.508, allocations: 3.486 MB / 0.648 GB, free: 16.16 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01795/1.526, allocations: 6.392 MB / 0.6542 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001076/1.527, allocations: 0.5906 MB / 0.6548 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004696/1.531, allocations: 0.7632 MB / 0.6556 GB, free: 15.15 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06386/1.595, allocations: 24.64 MB / 0.6796 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004969/1.596, allocations: 85.33 kB / 0.6797 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003723/1.6, allocations: 368.9 kB / 0.6801 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006895/1.606, allocations: 4.54 MB / 0.6845 GB, free: 11.05 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04225/1.649, allocations: 19.39 MB / 0.7034 GB, free: 2.387 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1398/1.789, allocations: 86.04 MB / 0.7875 GB, free: 10.94 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02221/1.811, allocations: 7.791 MB / 0.7951 GB, free: 4.648 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02835/1.839, allocations: 13.28 MB / 0.808 GB, free: 10.02 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.814e-05/1.839, allocations: 66.91 kB / 0.8081 GB, free: 9.969 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=336): time 7.073e-06/1.839, allocations: 2.625 kB / 0.8081 GB, free: 9.969 MB / 0.5763 GB Notification: Performance of matching and sorting (n=360): time 0.06537/1.905, allocations: 21.11 MB / 0.8287 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001178/1.905, allocations: 173.5 kB / 0.8289 GB, free: 7.109 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01358/1.919, allocations: 7.851 MB / 0.8365 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0007853/1.919, allocations: 79.58 kB / 0.8366 GB, free: 1.234 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.007422/1.927, allocations: 6.787 MB / 0.8432 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002359/1.929, allocations: 1.354 MB / 0.8446 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000864/1.93, allocations: 216.6 kB / 0.8448 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0006679/1.931, allocations: 0.77 MB / 0.8455 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006303/1.937, allocations: 3.24 MB / 0.8487 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3263/2.263, allocations: 9.798 MB / 0.8583 GB, free: 242.8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009452/2.273, allocations: 5.441 MB / 0.8636 GB, free: 242.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003497/2.273, allocations: 67.72 kB / 0.8636 GB, free: 242.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.0262/2.299, allocations: 12.76 MB / 0.8761 GB, free: 239.4 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002671/2.3, allocations: 104.6 kB / 0.8762 GB, free: 239.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004428/2.3, allocations: 232.8 kB / 0.8764 GB, free: 239.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004887/2.301, allocations: 343.1 kB / 0.8767 GB, free: 239.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009864/2.311, allocations: 2.56 MB / 0.8792 GB, free: 239 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005467/2.311, allocations: 461.2 kB / 0.8797 GB, free: 238.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0104/2.322, allocations: 0.5194 MB / 0.8802 GB, free: 238.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00207/2.324, allocations: 0.6556 MB / 0.8808 GB, free: 238.7 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1063 * Number of states: 0 () * Number of discrete variables: 72 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1377): * Single equations (assignments): 1366 * Array equations: 11 * 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.01072/2.334, allocations: 4.531 MB / 0.8853 GB, free: 236.8 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00165/2.336, allocations: 0.6605 MB / 0.8859 GB, free: 236.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008134/2.344, allocations: 4.085 MB / 0.8899 GB, free: 235.1 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.373e-05/2.344, allocations: 41.38 kB / 0.8899 GB, free: 235.1 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-05/2.344, allocations: 2.844 kB / 0.8899 GB, free: 235.1 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.101e-05/2.344, allocations: 18.31 kB / 0.89 GB, free: 235.1 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06636/2.411, allocations: 49.27 MB / 0.9381 GB, free: 206.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001155/2.411, allocations: 76 kB / 0.9381 GB, free: 206.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002803/2.414, allocations: 0.7485 MB / 0.9389 GB, free: 205.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.499e-05/2.414, allocations: 104 kB / 0.939 GB, free: 205.8 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003424/2.414, allocations: 170.4 kB / 0.9391 GB, free: 205.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.214e-05/2.414, allocations: 147.3 kB / 0.9393 GB, free: 205.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.782e-05/2.414, allocations: 121.5 kB / 0.9394 GB, free: 205.4 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0128/2.427, allocations: 21.78 MB / 0.9607 GB, free: 180.8 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002563/2.43, allocations: 0.8162 MB / 0.9615 GB, free: 180 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001736/2.431, allocations: 168.7 kB / 0.9616 GB, free: 179.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004738/2.436, allocations: 215.9 kB / 0.9618 GB, free: 179.6 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007185/2.437, allocations: 497.9 kB / 0.9623 GB, free: 179.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003043/2.437, allocations: 210.8 kB / 0.9625 GB, free: 178.9 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.007805/2.445, allocations: 4.944 MB / 0.9673 GB, free: 174 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.61e-07/2.445, allocations: 4 kB / 0.9673 GB, free: 174 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0124/2.458, allocations: 1.904 MB / 0.9692 GB, free: 172.1 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 334 * 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 (380): * Single equations (assignments): 377 * 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.01455/2.472, allocations: 34.92 MB / 1.003 GB, free: 134.7 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01361/2.486, allocations: 7.658 MB / 1.011 GB, free: 127 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.401e-05/2.486, allocations: 14 kB / 1.011 GB, free: 127 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003343/2.489, allocations: 2.14 MB / 1.013 GB, free: 124.9 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006271/2.496, allocations: 1.016 MB / 1.014 GB, free: 123.9 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.347/2.843, allocations: 209.3 MB / 1.218 GB, free: 145.9 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01216/2.855, allocations: 7.141 MB / 1.225 GB, free: 144.9 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.009871/2.865, allocations: 3.319 MB / 1.229 GB, free: 144.8 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008044/2.873, allocations: 4.762 MB / 1.233 GB, free: 144.2 MB / 0.6075 GB Notification: Performance of SimCode: time 1.463e-06/2.873, allocations: 3.938 kB / 1.233 GB, free: 144.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4891/3.362, allocations: 140.6 MB / 1.37 GB, free: 194.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001447/3.362, allocations: 186.1 kB / 1.371 GB, free: 194 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.8/10.16, allocations: 0 / 1.371 GB, free: 194 MB / 0.6075 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat does not exist to compare? outputFormat=mat