Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",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.001322/0.001321, allocations: 183.8 kB / 15.76 MB, free: 6.367 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.522/1.522, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009797/0.0009799, allocations: 106.8 kB / 270.2 MB, free: 13.36 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.1969/0.1969, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003385, allocations: 8 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1252, allocations: 58.86 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4226/0.5478, allocations: 105.2 MB / 0.5816 GB, free: 10.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002561/0.5482, allocations: 81.64 kB / 0.5817 GB, free: 10.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1633/0.7114, allocations: 66.52 MB / 0.6466 GB, free: 36 kB / 442.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.7115, allocations: 0 / 0.6466 GB, free: 36 kB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001432/0.7116, allocations: 72.05 kB / 0.6467 GB, free: 15.96 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.01023/0.7219, allocations: 3.246 MB / 0.6499 GB, free: 12.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.694e-05/0.722, allocations: 16.03 kB / 0.6499 GB, free: 12.64 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002683/0.7247, allocations: 0.6798 MB / 0.6506 GB, free: 11.95 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008525/0.7332, allocations: 1.945 MB / 0.6525 GB, free: 9.996 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006599/0.7398, allocations: 2.044 MB / 0.6544 GB, free: 7.906 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000289/0.7402, allocations: 283.4 kB / 0.6547 GB, free: 7.629 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001418/0.7416, allocations: 367.9 kB / 0.6551 GB, free: 7.27 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01708/0.7587, allocations: 8.154 MB / 0.663 GB, free: 14.72 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.232e-05/0.7588, allocations: 19.81 kB / 0.6631 GB, free: 14.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000537/0.7594, allocations: 171.9 kB / 0.6632 GB, free: 14.54 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001123/0.7605, allocations: 0.8144 MB / 0.664 GB, free: 13.72 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01359/0.7741, allocations: 7.017 MB / 0.6709 GB, free: 6.688 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04173/0.8159, allocations: 27.61 MB / 0.6978 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005491/0.8214, allocations: 2.565 MB / 0.7003 GB, free: 7.66 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009337/0.8308, allocations: 4.478 MB / 0.7047 GB, free: 3.035 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.439e-05/0.8309, allocations: 51.5 kB / 0.7048 GB, free: 2.977 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=120): time 4.188e-06/0.8309, allocations: 0 / 0.7048 GB, free: 2.977 MB / 0.4948 GB Notification: Performance of matching and sorting (n=120): time 0.2742/1.105, allocations: 2.973 MB / 0.7077 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.091e-05/1.105, allocations: 61.81 kB / 0.7077 GB, free: 135.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003648/1.109, allocations: 2.001 MB / 0.7097 GB, free: 135 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002377/1.109, allocations: 43.44 kB / 0.7097 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001618/1.111, allocations: 2.32 MB / 0.712 GB, free: 134.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005087/1.111, allocations: 465 kB / 0.7124 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/1.111, allocations: 68.59 kB / 0.7125 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002673/1.112, allocations: 469.7 kB / 0.7129 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001837/1.114, allocations: 1.077 MB / 0.714 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002805/1.116, allocations: 3.211 MB / 0.7171 GB, free: 130.8 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002624/1.119, allocations: 1.862 MB / 0.7189 GB, free: 130.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.199e-05/1.119, allocations: 22 kB / 0.719 GB, free: 130.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=471) (initialization): time 0.007223/1.126, allocations: 4.221 MB / 0.7231 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.093e-05/1.126, allocations: 37 kB / 0.7231 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001312/1.126, allocations: 74.81 kB / 0.7232 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001478/1.127, allocations: 112.2 kB / 0.7233 GB, free: 130.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002425/1.129, allocations: 0.8111 MB / 0.7241 GB, free: 130.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001963/1.129, allocations: 152.2 kB / 0.7242 GB, free: 130.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002436/1.132, allocations: 498.7 kB / 0.7247 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003259/1.132, allocations: 218.6 kB / 0.7249 GB, free: 130.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 345 * Number of states: 0 () * Number of discrete variables: 30 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (447): * Single equations (assignments): 444 * 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.003638/1.136, allocations: 1.708 MB / 0.7266 GB, free: 130 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004442/1.136, allocations: 196.8 kB / 0.7268 GB, free: 129.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002693/1.139, allocations: 1.506 MB / 0.7282 GB, free: 129.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.488e-05/1.139, allocations: 13.75 kB / 0.7283 GB, free: 129.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/1.139, allocations: 0 / 0.7283 GB, free: 129.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/1.139, allocations: 6.656 kB / 0.7283 GB, free: 129.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0108/1.15, allocations: 7.4 MB / 0.7355 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.865e-05/1.15, allocations: 15.81 kB / 0.7355 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006913/1.15, allocations: 186.8 kB / 0.7357 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.231e-05/1.15, allocations: 21.75 kB / 0.7357 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.24e-05/1.151, allocations: 38.7 kB / 0.7357 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-05/1.151, allocations: 25.7 kB / 0.7358 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.375e-05/1.151, allocations: 28.47 kB / 0.7358 GB, free: 128.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002757/1.153, allocations: 3.181 MB / 0.7389 GB, free: 126.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008378/1.154, allocations: 331.3 kB / 0.7392 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000268/1.155, allocations: 42.17 kB / 0.7393 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007877/1.155, allocations: 55.83 kB / 0.7393 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/1.156, allocations: 109.8 kB / 0.7394 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/1.156, allocations: 49.72 kB / 0.7395 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002707/1.158, allocations: 1.564 MB / 0.741 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/1.158, allocations: 0 / 0.741 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004495/1.163, allocations: 0.9225 MB / 0.7419 GB, free: 125.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.004902/1.168, allocations: 7.694 MB / 0.7494 GB, free: 119 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004457/1.172, allocations: 2.558 MB / 0.7519 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/1.172, allocations: 0 / 0.7519 GB, free: 118.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000846/1.173, allocations: 0.6958 MB / 0.7526 GB, free: 118 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/1.175, allocations: 299.7 kB / 0.7529 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04628/1.221, allocations: 72.3 MB / 0.8235 GB, free: 52.52 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004286/1.225, allocations: 2.907 MB / 0.8263 GB, free: 51.32 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002986/1.228, allocations: 1.173 MB / 0.8275 GB, free: 51.22 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001541/1.23, allocations: 1.432 MB / 0.8289 GB, free: 50.04 MB / 0.4948 GB Notification: Performance of SimCode: time 2.094e-06/1.23, allocations: 4 kB / 0.8289 GB, free: 50.03 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07677/1.307, allocations: 47.24 MB / 0.875 GB, free: 16.03 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/1.307, allocations: 186.5 kB / 0.8752 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.507/4.814, allocations: 0 / 0.8752 GB, free: 15.79 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat does not exist to compare? outputFormat=mat