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.0009098/0.0009098, allocations: 88.19 kB / 15.7 MB, free: 460 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.0009613/0.0009613, allocations: 173.5 kB / 16.58 MB, free: 6.84 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.402/1.402, allocations: 205.4 MB / 222.7 MB, free: 5.652 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.3592/0.3592, allocations: 43.55 MB / 314.6 MB, free: 9.062 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.0005187/0.0005191, allocations: 16 kB / 384 MB, free: 8.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1143, allocations: 58.85 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.291/0.4053, allocations: 120.9 MB / 0.5506 GB, free: 15.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0623/0.4676, allocations: 23.65 MB / 0.5737 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03122/0.4989, allocations: 0.5651 MB / 0.5742 GB, free: 9.633 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0228/0.5218, allocations: 6.454 MB / 0.5806 GB, free: 3.148 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0557/0.5775, allocations: 18.72 MB / 0.5988 GB, free: 368 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008484/0.586, allocations: 1.406 MB / 0.6002 GB, free: 14.95 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01665/0.6027, allocations: 11.31 MB / 0.6113 GB, free: 3.621 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01638/0.6191, allocations: 11.45 MB / 0.6224 GB, free: 8.109 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005319/0.6245, allocations: 3.118 MB / 0.6255 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006102/0.6306, allocations: 4.763 MB / 0.6301 GB, free: 208 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.2995/0.9301, allocations: 379.3 kB / 0.6305 GB, free: 17.21 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003688/0.9338, allocations: 1.035 MB / 0.6315 GB, free: 17.21 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004301/0.9381, allocations: 4.22 MB / 0.6356 GB, free: 17.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002625/0.9408, allocations: 1.968 MB / 0.6376 GB, free: 17.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01426/0.9551, allocations: 13.13 MB / 0.6504 GB, free: 16.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.9551, allocations: 0 / 0.6504 GB, free: 16.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.9551, allocations: 0 / 0.6504 GB, free: 16.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000732/0.9558, allocations: 0 / 0.6504 GB, free: 16.32 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.02508/0.9809, allocations: 9.434 MB / 0.6596 GB, free: 12.3 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.981, allocations: 13.44 kB / 0.6596 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005796/0.9868, allocations: 1.704 MB / 0.6613 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01444/1.001, allocations: 3.123 MB / 0.6643 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01667/1.018, allocations: 7.199 MB / 0.6714 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006066/1.019, allocations: 0.5938 MB / 0.6719 GB, free: 10.44 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003456/1.022, allocations: 0.7683 MB / 0.6727 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04674/1.069, allocations: 24.46 MB / 0.6966 GB, free: 4.812 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003378/1.069, allocations: 75.47 kB / 0.6966 GB, free: 4.809 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002278/1.072, allocations: 371.5 kB / 0.697 GB, free: 4.809 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006113/1.078, allocations: 4.54 MB / 0.7014 GB, free: 3.906 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04269/1.12, allocations: 19.15 MB / 0.7201 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1248/1.245, allocations: 85.7 MB / 0.8038 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02056/1.266, allocations: 7.769 MB / 0.8114 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006072/1.272, allocations: 3.113 MB / 0.8144 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02937/1.301, allocations: 13.12 MB / 0.8273 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.028e-05/1.301, allocations: 72.16 kB / 0.8273 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=336): time 6.122e-06/1.302, allocations: 0 / 0.8273 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=360): time 0.05473/1.356, allocations: 20.74 MB / 0.8476 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.674e-05/1.356, allocations: 166.9 kB / 0.8477 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01114/1.368, allocations: 7.41 MB / 0.855 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.000736/1.368, allocations: 83.14 kB / 0.8551 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.2557/1.624, allocations: 6.783 MB / 0.8617 GB, free: 253.8 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001689/1.626, allocations: 1.354 MB / 0.863 GB, free: 253 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008989/1.627, allocations: 215.1 kB / 0.8632 GB, free: 253 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000545/1.627, allocations: 0.7718 MB / 0.864 GB, free: 252.7 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0052/1.632, allocations: 3.24 MB / 0.8671 GB, free: 252.7 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007817/1.64, allocations: 9.841 MB / 0.8767 GB, free: 244.1 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009497/1.65, allocations: 5.438 MB / 0.882 GB, free: 242.7 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003241/1.65, allocations: 70.19 kB / 0.8821 GB, free: 242.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.0296/1.68, allocations: 12.77 MB / 0.8946 GB, free: 237.7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006928/1.68, allocations: 104 kB / 0.8947 GB, free: 237.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008946/1.681, allocations: 232.8 kB / 0.8949 GB, free: 237.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001063/1.682, allocations: 342.1 kB / 0.8952 GB, free: 237.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01011/1.693, allocations: 2.555 MB / 0.8977 GB, free: 237.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/1.694, allocations: 460.3 kB / 0.8982 GB, free: 237.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0115/1.705, allocations: 0.5197 MB / 0.8987 GB, free: 237.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002262/1.708, allocations: 0.6525 MB / 0.8993 GB, free: 237 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.0116/1.719, allocations: 4.532 MB / 0.9037 GB, free: 235 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001653/1.721, allocations: 0.6677 MB / 0.9044 GB, free: 234.6 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009134/1.73, allocations: 4.09 MB / 0.9084 GB, free: 233 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.958e-05/1.73, allocations: 36.94 kB / 0.9084 GB, free: 233 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.312e-05/1.73, allocations: 7.719 kB / 0.9084 GB, free: 233 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.246e-05/1.73, allocations: 15.23 kB / 0.9084 GB, free: 233 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06022/1.79, allocations: 49.26 MB / 0.9565 GB, free: 195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.111e-05/1.791, allocations: 75.95 kB / 0.9566 GB, free: 194.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002353/1.793, allocations: 0.7407 MB / 0.9573 GB, free: 194.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.894e-05/1.793, allocations: 104 kB / 0.9574 GB, free: 194.1 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002497/1.793, allocations: 168 kB / 0.9576 GB, free: 193.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.151e-05/1.793, allocations: 143.4 kB / 0.9577 GB, free: 193.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.691e-05/1.793, allocations: 115.5 kB / 0.9578 GB, free: 193.7 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006721/1.8, allocations: 7.324 MB / 0.965 GB, free: 185.1 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002026/1.802, allocations: 0.7889 MB / 0.9658 GB, free: 184.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008976/1.803, allocations: 175.2 kB / 0.9659 GB, free: 184.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002795/1.806, allocations: 215.9 kB / 0.9661 GB, free: 183.9 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004111/1.806, allocations: 496.2 kB / 0.9666 GB, free: 183.4 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002433/1.807, allocations: 211.1 kB / 0.9668 GB, free: 183.2 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.007088/1.814, allocations: 4.593 MB / 0.9713 GB, free: 178.7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/1.814, allocations: 3.938 kB / 0.9713 GB, free: 178.7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01299/1.827, allocations: 1.882 MB / 0.9731 GB, free: 176.8 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.009835/1.837, allocations: 8.114 MB / 0.9811 GB, free: 167.4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01329/1.85, allocations: 7.669 MB / 0.9886 GB, free: 159.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.134e-05/1.85, allocations: 16.19 kB / 0.9886 GB, free: 159.8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003684/1.854, allocations: 2.133 MB / 0.9906 GB, free: 157.7 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01015/1.864, allocations: 1.088 MB / 0.9917 GB, free: 156.6 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1233/1.987, allocations: 76.89 MB / 1.067 GB, free: 71.54 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01173/1.999, allocations: 6.933 MB / 1.074 GB, free: 64.56 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.009207/2.008, allocations: 3.308 MB / 1.077 GB, free: 61.25 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0081/2.016, allocations: 4.752 MB / 1.081 GB, free: 56.49 MB / 0.6075 GB Notification: Performance of SimCode: time 1.473e-06/2.016, allocations: 0 / 1.081 GB, free: 56.49 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4606/2.477, allocations: 141.3 MB / 1.219 GB, free: 185.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001596/2.477, allocations: 198.2 kB / 1.22 GB, free: 185.1 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.957/8.434, allocations: 4.062 kB / 1.22 GB, free: 185.1 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