Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.CutForceAndTorque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",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.0009882/0.0009882, allocations: 96.44 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.001109/0.001109, allocations: 175.2 kB / 16.57 MB, free: 6.391 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.65/1.65, allocations: 205.4 MB / 222.7 MB, free: 5.676 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.3851/0.3851, allocations: 43.54 MB / 314.5 MB, free: 8.754 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.0005402/0.0005402, allocations: 16 kB / 384 MB, free: 7.941 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1504, allocations: 58.86 MB / 442.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.3502/0.5006, allocations: 114.2 MB / 0.544 GB, free: 4.617 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.07104/0.5717, allocations: 24.84 MB / 0.5683 GB, free: 14.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03422/0.606, allocations: 0.5612 MB / 0.5688 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02245/0.6285, allocations: 5.802 MB / 0.5745 GB, free: 8.996 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.06786/0.6964, allocations: 16.19 MB / 0.5903 GB, free: 8.773 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009351/0.7058, allocations: 1.38 MB / 0.5916 GB, free: 7.395 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0121/0.7179, allocations: 5.342 MB / 0.5968 GB, free: 2.055 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01924/0.7372, allocations: 11.38 MB / 0.608 GB, free: 6.621 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006671/0.744, allocations: 2.48 MB / 0.6104 GB, free: 4.133 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006573/0.7506, allocations: 3.306 MB / 0.6136 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002753/0.7534, allocations: 376 kB / 0.614 GB, free: 460 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00443/0.7578, allocations: 1.011 MB / 0.615 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00611/0.764, allocations: 3.916 MB / 0.6188 GB, free: 11.51 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0038/0.7678, allocations: 1.968 MB / 0.6207 GB, free: 9.531 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.6381/1.406, allocations: 13.12 MB / 0.6335 GB, free: 20.86 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/1.406, allocations: 0 / 0.6335 GB, free: 20.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.065e-06/1.406, allocations: 0 / 0.6335 GB, free: 20.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000649/1.407, allocations: 0 / 0.6335 GB, free: 20.86 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.02574/1.432, allocations: 9.631 MB / 0.6429 GB, free: 16.85 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/1.432, allocations: 10.31 kB / 0.6429 GB, free: 16.85 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007108/1.44, allocations: 1.702 MB / 0.6446 GB, free: 16.72 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0185/1.458, allocations: 3.481 MB / 0.648 GB, free: 16.03 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01976/1.478, allocations: 6.393 MB / 0.6542 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008546/1.479, allocations: 0.5942 MB / 0.6548 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004499/1.483, allocations: 0.7648 MB / 0.6556 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06407/1.547, allocations: 24.64 MB / 0.6796 GB, free: 11.35 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004037/1.548, allocations: 79.97 kB / 0.6797 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002482/1.55, allocations: 370.5 kB / 0.6801 GB, free: 11.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006712/1.557, allocations: 4.544 MB / 0.6845 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04379/1.601, allocations: 19.39 MB / 0.7034 GB, free: 2.219 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1466/1.748, allocations: 86.04 MB / 0.7874 GB, free: 10.77 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02285/1.771, allocations: 7.85 MB / 0.7951 GB, free: 4.434 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0305/1.801, allocations: 13.29 MB / 0.8081 GB, free: 9.809 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.997e-05/1.801, allocations: 73.16 kB / 0.8082 GB, free: 9.746 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=336): time 6.812e-06/1.801, allocations: 0 / 0.8082 GB, free: 9.746 MB / 0.5763 GB Notification: Performance of matching and sorting (n=360): time 0.06381/1.865, allocations: 21.1 MB / 0.8288 GB, free: 7.086 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001424/1.865, allocations: 165.2 kB / 0.8289 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01303/1.878, allocations: 7.855 MB / 0.8366 GB, free: 1.059 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0008791/1.879, allocations: 82.55 kB / 0.8367 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.005601/1.885, allocations: 6.78 MB / 0.8433 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00222/1.887, allocations: 1.354 MB / 0.8446 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008223/1.888, allocations: 220.3 kB / 0.8448 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0007296/1.889, allocations: 0.7723 MB / 0.8456 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006024/1.895, allocations: 3.241 MB / 0.8487 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2877/2.182, allocations: 9.799 MB / 0.8583 GB, free: 242.7 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01133/2.194, allocations: 5.432 MB / 0.8636 GB, free: 242.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000426/2.194, allocations: 66.22 kB / 0.8637 GB, free: 242.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.02879/2.223, allocations: 12.76 MB / 0.8761 GB, free: 239.4 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003069/2.224, allocations: 104.8 kB / 0.8762 GB, free: 239.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004908/2.224, allocations: 236.5 kB / 0.8765 GB, free: 239.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006081/2.225, allocations: 342.3 kB / 0.8768 GB, free: 239.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01029/2.235, allocations: 2.556 MB / 0.8793 GB, free: 239.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007625/2.236, allocations: 460.1 kB / 0.8797 GB, free: 239 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01093/2.247, allocations: 0.5131 MB / 0.8802 GB, free: 238.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003022/2.25, allocations: 0.6638 MB / 0.8809 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 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[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.0122/2.262, allocations: 4.53 MB / 0.8853 GB, free: 236.8 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001751/2.264, allocations: 0.6641 MB / 0.886 GB, free: 236.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009905/2.274, allocations: 4.079 MB / 0.8899 GB, free: 235.2 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.304e-05/2.274, allocations: 37.56 kB / 0.89 GB, free: 235.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.081e-05/2.274, allocations: 1.922 kB / 0.89 GB, free: 235.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.335e-05/2.274, allocations: 23.53 kB / 0.89 GB, free: 235.2 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06137/2.335, allocations: 42.08 MB / 0.9311 GB, free: 213.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001398/2.335, allocations: 92 kB / 0.9312 GB, free: 213.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002739/2.338, allocations: 0.8616 MB / 0.932 GB, free: 212.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-05/2.338, allocations: 132 kB / 0.9321 GB, free: 212.7 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003003/2.339, allocations: 200.5 kB / 0.9323 GB, free: 212.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.398e-05/2.339, allocations: 175.3 kB / 0.9325 GB, free: 212.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.068e-05/2.339, allocations: 147.4 kB / 0.9326 GB, free: 212.1 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.012/2.351, allocations: 25.92 MB / 0.9579 GB, free: 182.7 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00241/2.353, allocations: 0.8627 MB / 0.9588 GB, free: 181.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001179/2.354, allocations: 211.9 kB / 0.959 GB, free: 181.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003502/2.358, allocations: 216.6 kB / 0.9592 GB, free: 181.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004989/2.358, allocations: 0.5873 MB / 0.9598 GB, free: 180.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002476/2.359, allocations: 251.5 kB / 0.96 GB, free: 180.5 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.006775/2.366, allocations: 4.94 MB / 0.9648 GB, free: 175.6 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.01e-07/2.366, allocations: 0 / 0.9648 GB, free: 175.6 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01254/2.378, allocations: 1.905 MB / 0.9667 GB, free: 173.7 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 413 * 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 (455): * Single equations (assignments): 452 * 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.01505/2.393, allocations: 42.01 MB / 1.008 GB, free: 128.6 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01232/2.406, allocations: 7.662 MB / 1.015 GB, free: 121 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.909e-05/2.406, allocations: 12 kB / 1.015 GB, free: 121 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003439/2.409, allocations: 2.2 MB / 1.017 GB, free: 118.8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007491/2.417, allocations: 1.085 MB / 1.018 GB, free: 117.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3508/2.767, allocations: 206.5 MB / 1.22 GB, free: 142.1 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0154/2.783, allocations: 7.18 MB / 1.227 GB, free: 141.2 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.01036/2.793, allocations: 3.321 MB / 1.23 GB, free: 141 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007295/2.801, allocations: 4.758 MB / 1.235 GB, free: 140.3 MB / 0.6075 GB Notification: Performance of SimCode: time 1.348e-05/2.801, allocations: 0 / 1.235 GB, free: 140.3 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4888/3.29, allocations: 143.5 MB / 1.375 GB, free: 199 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001355/3.29, allocations: 189.3 kB / 1.375 GB, free: 198.7 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.909/10.2, allocations: 4 kB / 1.375 GB, free: 198.7 MB / 0.6075 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat does not exist to compare? outputFormat=mat