Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001161/0.001161, allocations: 196.6 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.217/1.217, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008093/0.0008096, allocations: 92.14 kB / 292.1 MB, free: 6.008 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1756/0.1756, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.61e-05/2.611e-05, allocations: 4 kB / 460.5 MB, free: 69.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09403/0.09407, allocations: 63.24 MB / 0.5114 GB, free: 6.695 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3928/0.4869, allocations: 108.2 MB / 0.6171 GB, free: 1.918 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.4872, allocations: 81.77 kB / 0.6172 GB, free: 1.875 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6791/1.166, allocations: 182.7 MB / 0.7956 GB, free: 98.16 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.804e-06/1.166, allocations: 3.5 kB / 0.7956 GB, free: 98.16 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003373/1.167, allocations: 176.2 kB / 0.7957 GB, free: 98.15 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3105 * Number of variables: 3105 Notification: Performance of Generate backend data structure: time 0.02303/1.19, allocations: 8.428 MB / 0.804 GB, free: 94.93 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/1.19, allocations: 11.81 kB / 0.804 GB, free: 94.92 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005775/1.196, allocations: 1.564 MB / 0.8055 GB, free: 94.81 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01831/1.214, allocations: 3.775 MB / 0.8092 GB, free: 94.18 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01913/1.233, allocations: 8.561 MB / 0.8175 GB, free: 93.14 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008938/1.234, allocations: 0.6843 MB / 0.8182 GB, free: 93.12 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004617/1.239, allocations: 0.8991 MB / 0.8191 GB, free: 93.12 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04806/1.287, allocations: 21.02 MB / 0.8396 GB, free: 87.44 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005543/1.287, allocations: 92.88 kB / 0.8397 GB, free: 87.43 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0035/1.291, allocations: 435.2 kB / 0.8401 GB, free: 87.18 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002897/1.294, allocations: 1.867 MB / 0.8419 GB, free: 86.87 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03283/1.327, allocations: 16.23 MB / 0.8578 GB, free: 79.21 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09038/1.417, allocations: 83.63 MB / 0.9395 GB, free: 0.6055 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0182/1.435, allocations: 6.304 MB / 0.9456 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003611/1.439, allocations: 2.304 MB / 0.9479 GB, free: 7.859 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3144/1.753, allocations: 10.93 MB / 0.9585 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/1.754, allocations: 54.34 kB / 0.9586 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=212): time 4.869e-06/1.754, allocations: 3.906 kB / 0.9586 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=236): time 0.04364/1.797, allocations: 15.75 MB / 0.974 GB, free: 98.83 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/1.797, allocations: 155.9 kB / 0.9741 GB, free: 98.68 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009457/1.807, allocations: 5.872 MB / 0.9799 GB, free: 98.14 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004931/1.807, allocations: 57.86 kB / 0.9799 GB, free: 98.11 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.003491/1.811, allocations: 6.05 MB / 0.9858 GB, free: 95.18 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009253/1.812, allocations: 0.9299 MB / 0.9867 GB, free: 94.68 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003054/1.812, allocations: 182.4 kB / 0.9869 GB, free: 94.68 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0003085/1.812, allocations: 0.6812 MB / 0.9876 GB, free: 94.35 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002838/1.815, allocations: 2.31 MB / 0.9898 GB, free: 94.33 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005268/1.82, allocations: 8.042 MB / 0.9977 GB, free: 86.86 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00525/1.826, allocations: 4.25 MB / 1.002 GB, free: 86.83 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001222/1.826, allocations: 58.62 kB / 1.002 GB, free: 86.83 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.01612/1.842, allocations: 10.02 MB / 1.012 GB, free: 86.04 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002355/1.842, allocations: 94.72 kB / 1.012 GB, free: 86.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003195/1.843, allocations: 205.7 kB / 1.012 GB, free: 86.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000321/1.843, allocations: 301.4 kB / 1.012 GB, free: 86.04 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006863/1.85, allocations: 2.156 MB / 1.014 GB, free: 85.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003654/1.85, allocations: 409.8 kB / 1.015 GB, free: 85.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007526/1.858, allocations: 0.5972 MB / 1.015 GB, free: 85.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001249/1.859, allocations: 0.5475 MB / 1.016 GB, free: 85.73 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 939 * Number of states: 0 () * Number of discrete variables: 88 (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.torqueArrow.arrowLine.twoHeadedArrow,cutForce2b.torqueArrow.headAtOrigin,cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueArrow.arrowLine.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueArrow.arrowLine.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueArrow.arrowLine.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1129): * Single equations (assignments): 1126 * 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 prepare postOptimizeDAE: time 0.002013/1.861, allocations: 0.8245 MB / 1.017 GB, free: 85.29 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001642/1.863, allocations: 0.5799 MB / 1.017 GB, free: 84.97 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002086/1.865, allocations: 0.7066 MB / 1.018 GB, free: 84.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.359e-05/1.865, allocations: 26.06 kB / 1.018 GB, free: 84.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.029e-05/1.865, allocations: 0 / 1.018 GB, free: 84.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-05/1.865, allocations: 14.92 kB / 1.018 GB, free: 84.89 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03349/1.898, allocations: 22.67 MB / 1.04 GB, free: 79.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.807e-05/1.899, allocations: 44.34 kB / 1.04 GB, free: 79.19 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001309/1.9, allocations: 457.5 kB / 1.041 GB, free: 79.13 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.595e-05/1.9, allocations: 67.03 kB / 1.041 GB, free: 79.13 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/1.9, allocations: 100.2 kB / 1.041 GB, free: 79.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.912e-05/1.9, allocations: 88.28 kB / 1.041 GB, free: 79.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.922e-05/1.9, allocations: 75.27 kB / 1.041 GB, free: 79.06 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006078/1.906, allocations: 12.75 MB / 1.053 GB, free: 66.49 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00179/1.908, allocations: 0.6741 MB / 1.054 GB, free: 66.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00076/1.909, allocations: 107.5 kB / 1.054 GB, free: 65.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002355/1.911, allocations: 206 kB / 1.054 GB, free: 65.96 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002727/1.911, allocations: 301 kB / 1.055 GB, free: 65.83 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/1.912, allocations: 129.9 kB / 1.055 GB, free: 65.81 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.006957/1.919, allocations: 4.08 MB / 1.059 GB, free: 64.45 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.51e-07/1.919, allocations: 3.938 kB / 1.059 GB, free: 64.45 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.009671/1.928, allocations: 1.559 MB / 1.06 GB, free: 64.28 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (232): * Single equations (assignments): 229 * 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.007698/1.936, allocations: 21.67 MB / 1.081 GB, free: 43.09 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00826/1.944, allocations: 5.597 MB / 1.087 GB, free: 41.17 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.32e-05/1.944, allocations: 11.34 kB / 1.087 GB, free: 41.17 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001633/1.946, allocations: 1.308 MB / 1.088 GB, free: 40.72 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004886/1.951, allocations: 0.9447 MB / 1.089 GB, free: 40.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03751/1.988, allocations: 17.29 MB / 1.106 GB, free: 25.74 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006033/1.994, allocations: 6.242 MB / 1.112 GB, free: 21.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006719/2.001, allocations: 2.774 MB / 1.115 GB, free: 19.48 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004347/2.006, allocations: 4.053 MB / 1.119 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of SimCode: time 7.72e-07/2.006, allocations: 0 / 1.119 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4606/2.466, allocations: 121.7 MB / 1.238 GB, free: 99.86 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/2.466, allocations: 156.8 kB / 1.238 GB, free: 99.64 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.888/7.354, allocations: 7.938 kB / 1.238 GB, free: 99.64 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat does not exist to compare? outputFormat=mat