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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001701/0.001701, allocations: 180.5 kB / 8.007 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.3 MB / 213.7 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008258/0.0008259, allocations: 86.14 kB / 261.7 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2157/0.2157, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.837e-05/1.849e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1361, allocations: 58.85 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4447/0.5809, allocations: 106.3 MB / 0.5699 GB, free: 5.262 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.5812, allocations: 84.14 kB / 0.57 GB, free: 5.223 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8206/1.402, allocations: 196 MB / 0.7614 GB, free: 86.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.655e-06/1.402, allocations: 2.906 kB / 0.7614 GB, free: 86.79 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005542/1.402, allocations: 194.6 kB / 0.7616 GB, free: 86.78 MB / 0.4948 GB 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.04032/1.443, allocations: 9.427 MB / 0.7708 GB, free: 83.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.541e-05/1.443, allocations: 7.812 kB / 0.7708 GB, free: 83.09 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02579/1.469, allocations: 4.037 MB / 0.7747 GB, free: 82.37 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03225/1.501, allocations: 10.56 MB / 0.785 GB, free: 81.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001013/1.502, allocations: 346.4 kB / 0.7854 GB, free: 81.21 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007943/1.51, allocations: 0.6127 MB / 0.786 GB, free: 81.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03464/1.545, allocations: 14.55 MB / 0.8002 GB, free: 81.15 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06466/1.61, allocations: 20.75 MB / 0.8204 GB, free: 66.06 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009396/1.611, allocations: 94.59 kB / 0.8205 GB, free: 66.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006149/1.617, allocations: 51.95 kB / 0.8206 GB, free: 65.96 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004089/1.621, allocations: 2.282 MB / 0.8228 GB, free: 64.12 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.561/2.182, allocations: 93.88 MB / 0.9145 GB, free: 45.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01051/2.192, allocations: 4.147 MB / 0.9185 GB, free: 45.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004515/2.197, allocations: 1.94 MB / 0.9204 GB, free: 45.15 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003125/2.197, allocations: 62.05 kB / 0.9205 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.015e-05/2.197, allocations: 65.48 kB / 0.9206 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=330): time 9.538e-06/2.197, allocations: 0 / 0.9206 GB, free: 45.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=342): time 0.04038/2.238, allocations: 14.9 MB / 0.9351 GB, free: 39.77 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.544e-05/2.238, allocations: 166.7 kB / 0.9353 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0124/2.25, allocations: 5.685 MB / 0.9408 GB, free: 39.08 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009065/2.251, allocations: 25.7 kB / 0.9408 GB, free: 39.05 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005301/2.257, allocations: 6.984 MB / 0.9477 GB, free: 35.42 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00185/2.259, allocations: 1.259 MB / 0.9489 GB, free: 34.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007904/2.259, allocations: 3.531 kB / 0.9489 GB, free: 34.68 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005701/2.26, allocations: 0.7778 MB / 0.9497 GB, free: 34.36 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004327/2.264, allocations: 2.868 MB / 0.9525 GB, free: 34.33 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007121/2.271, allocations: 9.648 MB / 0.9619 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007881/2.279, allocations: 5.165 MB / 0.9669 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002922/2.28, allocations: 70.06 kB / 0.967 GB, free: 25.42 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1447) (initialization): time 0.02621/2.306, allocations: 11.07 MB / 0.9778 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.00025/2.306, allocations: 110.2 kB / 0.9779 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000434/2.307, allocations: 245.9 kB / 0.9781 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003808/2.307, allocations: 358.8 kB / 0.9785 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01021/2.317, allocations: 2.713 MB / 0.9811 GB, free: 24.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006078/2.318, allocations: 483.8 kB / 0.9816 GB, free: 24.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01173/2.33, allocations: 499.5 kB / 0.9821 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003366/2.333, allocations: 0.6706 MB / 0.9827 GB, free: 24.33 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1115 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1423): * Single equations (assignments): 1420 * 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.005211/2.338, allocations: 0.7072 MB / 0.9834 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009351/2.348, allocations: 3.713 MB / 0.987 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002252/2.35, allocations: 0.617 MB / 0.9876 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008488/2.358, allocations: 3.568 MB / 0.9911 GB, free: 22.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.246e-05/2.359, allocations: 38.03 kB / 0.9912 GB, free: 22.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.711e-05/2.359, allocations: 0 / 0.9912 GB, free: 22.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.625e-05/2.359, allocations: 19.67 kB / 0.9912 GB, free: 22.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06669/2.425, allocations: 45.85 MB / 1.036 GB, free: 15.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001844/2.426, allocations: 68 kB / 1.036 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003159/2.429, allocations: 0.7039 MB / 1.037 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001075/2.429, allocations: 96 kB / 1.037 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004472/2.429, allocations: 111.8 kB / 1.037 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.924e-05/2.429, allocations: 128.7 kB / 1.037 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-05/2.43, allocations: 103.6 kB / 1.037 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01627/2.446, allocations: 19.02 MB / 1.056 GB, free: 8.254 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00267/2.449, allocations: 0.7298 MB / 1.056 GB, free: 7.527 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001429/2.45, allocations: 102.1 kB / 1.057 GB, free: 7.441 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004254/2.454, allocations: 210.5 kB / 1.057 GB, free: 7.293 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006818/2.455, allocations: 462.2 kB / 1.057 GB, free: 6.926 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000371/2.455, allocations: 198.8 kB / 1.057 GB, free: 6.742 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.008901/2.464, allocations: 3.788 MB / 1.061 GB, free: 3.48 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.503e-06/2.464, allocations: 3.828 kB / 1.061 GB, free: 3.48 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0154/2.48, allocations: 1.611 MB / 1.063 GB, free: 1.879 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 306 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (358): * Single equations (assignments): 355 * 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.0198/2.5, allocations: 31.87 MB / 1.094 GB, free: 200 kB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01421/2.514, allocations: 6.833 MB / 1.1 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.631e-05/2.514, allocations: 12 kB / 1.1 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.003681/2.518, allocations: 1.878 MB / 1.102 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00702/2.525, allocations: 0.8039 MB / 1.103 GB, free: 7.781 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06569/2.59, allocations: 20.53 MB / 1.123 GB, free: 4.914 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3787/2.969, allocations: 7.192 MB / 1.13 GB, free: 171.9 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0157/2.985, allocations: 3.404 MB / 1.133 GB, free: 171.8 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01113/2.996, allocations: 4.706 MB / 1.138 GB, free: 171.8 MB / 0.6042 GB Notification: Performance of SimCode: time 8.91e-07/2.996, allocations: 0 / 1.138 GB, free: 171.8 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2178/3.214, allocations: 131.5 MB / 1.266 GB, free: 116.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001486/3.214, allocations: 156.9 kB / 1.267 GB, free: 116.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.096/10.31, allocations: 0 / 1.267 GB, free: 116.4 MB / 0.6042 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) 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