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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.001536/0.001536, allocations: 183.9 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.537/1.537, allocations: 205.4 MB / 221.9 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001106/0.001106, allocations: 94.81 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1992/0.1992, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002953/0.0002953, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1206, allocations: 58.86 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.438/0.5586, allocations: 107.1 MB / 0.5834 GB, free: 8.875 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.5589, allocations: 75.91 kB / 0.5835 GB, free: 8.836 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7883/1.347, allocations: 199.4 MB / 0.7782 GB, free: 93.22 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.216e-06/1.347, allocations: 0 / 0.7782 GB, free: 93.22 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0008402/1.348, allocations: 195.8 kB / 0.7784 GB, free: 93.22 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.04286/1.391, allocations: 10.01 MB / 0.7882 GB, free: 89.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.61e-05/1.391, allocations: 14.33 kB / 0.7882 GB, free: 89.2 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01108/1.402, allocations: 1.822 MB / 0.79 GB, free: 89.06 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03395/1.436, allocations: 4.034 MB / 0.7939 GB, free: 88.34 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03994/1.476, allocations: 10.62 MB / 0.8043 GB, free: 86.26 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001261/1.478, allocations: 0.7944 MB / 0.8051 GB, free: 85.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00678/1.484, allocations: 1.042 MB / 0.8061 GB, free: 85.65 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08483/1.569, allocations: 24.41 MB / 0.8299 GB, free: 63.18 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001099/1.57, allocations: 99.05 kB / 0.83 GB, free: 63.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008653/1.579, allocations: 495 kB / 0.8305 GB, free: 62.67 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006078/1.585, allocations: 2.274 MB / 0.8327 GB, free: 60.39 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05988/1.645, allocations: 19.54 MB / 0.8518 GB, free: 40.84 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5123/2.157, allocations: 94.24 MB / 0.9438 GB, free: 56.62 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02246/2.18, allocations: 7.732 MB / 0.9514 GB, free: 55.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0287/2.209, allocations: 13.3 MB / 0.9644 GB, free: 52.66 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.03e-05/2.209, allocations: 78.31 kB / 0.9644 GB, free: 52.62 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=336): time 6.261e-06/2.209, allocations: 0 / 0.9644 GB, free: 52.62 MB / 0.5261 GB Notification: Performance of matching and sorting (n=360): time 0.06993/2.279, allocations: 20.86 MB / 0.9848 GB, free: 46.59 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/2.279, allocations: 166 kB / 0.985 GB, free: 46.43 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0182/2.297, allocations: 6.616 MB / 0.9914 GB, free: 45.89 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001001/2.298, allocations: 79.08 kB / 0.9915 GB, free: 45.86 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.007148/2.305, allocations: 6.822 MB / 0.9982 GB, free: 42.07 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002995/2.308, allocations: 1.359 MB / 0.9995 GB, free: 41.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002473/2.311, allocations: 215.9 kB / 0.9997 GB, free: 41.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.002085/2.313, allocations: 0.7519 MB / 1 GB, free: 40.97 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009759/2.323, allocations: 3.222 MB / 1.004 GB, free: 40.95 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01478/2.338, allocations: 9.722 MB / 1.013 GB, free: 32.09 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01156/2.349, allocations: 5.41 MB / 1.018 GB, free: 30.35 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004399/2.35, allocations: 68.91 kB / 1.018 GB, free: 30.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1393) (initialization): time 0.03611/2.386, allocations: 12.67 MB / 1.031 GB, free: 26.35 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000506/2.386, allocations: 108.5 kB / 1.031 GB, free: 26.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006465/2.387, allocations: 230.8 kB / 1.031 GB, free: 26.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006484/2.388, allocations: 339.9 kB / 1.031 GB, free: 26.35 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01028/2.398, allocations: 2.626 MB / 1.034 GB, free: 26.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000622/2.399, allocations: 452.4 kB / 1.034 GB, free: 25.94 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01158/2.41, allocations: 0.6879 MB / 1.035 GB, free: 25.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002859/2.413, allocations: 0.6381 MB / 1.036 GB, free: 25.66 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1055 * 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 (1369): * Single equations (assignments): 1366 * 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.01532/2.429, allocations: 4.527 MB / 1.04 GB, free: 23.61 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003029/2.432, allocations: 0.6625 MB / 1.041 GB, free: 23.25 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/2.444, allocations: 4.103 MB / 1.045 GB, free: 21.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.178e-05/2.444, allocations: 36.88 kB / 1.045 GB, free: 21.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.156e-05/2.444, allocations: 0 / 1.045 GB, free: 21.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.127e-05/2.444, allocations: 20.42 kB / 1.045 GB, free: 21.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07825/2.523, allocations: 41.75 MB / 1.086 GB, free: 3.219 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004088/2.523, allocations: 92.25 kB / 1.086 GB, free: 3.129 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003776/2.527, allocations: 0.8415 MB / 1.087 GB, free: 2.391 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001384/2.527, allocations: 128 kB / 1.087 GB, free: 2.266 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006619/2.528, allocations: 194.7 kB / 1.087 GB, free: 2.082 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001493/2.528, allocations: 169.2 kB / 1.087 GB, free: 1.938 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001097/2.528, allocations: 143.4 kB / 1.087 GB, free: 1.797 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01911/2.547, allocations: 25.26 MB / 1.112 GB, free: 5.309 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003187/2.55, allocations: 0.8347 MB / 1.113 GB, free: 4.488 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009675/2.551, allocations: 211.9 kB / 1.113 GB, free: 4.301 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003527/2.555, allocations: 268.9 kB / 1.113 GB, free: 4.082 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000673/2.555, allocations: 0.5644 MB / 1.114 GB, free: 3.621 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003851/2.556, allocations: 238.4 kB / 1.114 GB, free: 3.395 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01197/2.568, allocations: 4.793 MB / 1.119 GB, free: 0 / 0.573 GB Notification: Performance of sort global known variables: time 5.21e-07/2.568, allocations: 336 / 1.119 GB, free: 0 / 0.573 GB Notification: Performance of remove unused functions: time 0.02634/2.594, allocations: 2.762 MB / 1.121 GB, free: 0 / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 402 * 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 (444): * Single equations (assignments): 441 * 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.4127/3.007, allocations: 40.93 MB / 1.161 GB, free: 110.6 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02145/3.028, allocations: 7.556 MB / 1.169 GB, free: 110.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-05/3.029, allocations: 13.19 kB / 1.169 GB, free: 110.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.004653/3.033, allocations: 2.17 MB / 1.171 GB, free: 110.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007977/3.041, allocations: 1.079 MB / 1.172 GB, free: 110.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5596/3.601, allocations: 236.6 MB / 1.403 GB, free: 160.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01985/3.621, allocations: 7.169 MB / 1.41 GB, free: 159.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.01264/3.634, allocations: 3.318 MB / 1.413 GB, free: 159.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01025/3.644, allocations: 4.772 MB / 1.418 GB, free: 159.4 MB / 0.6355 GB Notification: Performance of SimCode: time 1.462e-06/3.644, allocations: 2.625 kB / 1.418 GB, free: 159.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5755/4.219, allocations: 144.4 MB / 1.559 GB, free: 174.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001577/4.22, allocations: 187.4 kB / 1.559 GB, free: 174.1 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.86/12.08, allocations: 0 / 1.559 GB, free: 174.1 MB / 0.6355 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) 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