Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001542/0.001541, allocations: 181.1 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.076/2.076, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001137/0.001137, allocations: 94.67 kB / 267.5 MB, free: 14.05 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.288/0.288, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.601e-05/4.629e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1633, allocations: 58.85 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5886/0.752, allocations: 105.1 MB / 0.5755 GB, free: 14.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/0.7523, allocations: 78.34 kB / 0.5756 GB, free: 14.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2692/1.022, allocations: 66.58 MB / 0.6406 GB, free: 3.902 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.715e-06/1.022, allocations: 4 kB / 0.6406 GB, free: 3.898 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002035/1.022, allocations: 71.94 kB / 0.6407 GB, free: 3.828 MB / 442.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.01262/1.034, allocations: 3.134 MB / 0.6438 GB, free: 0.6367 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.098e-05/1.035, allocations: 12.03 kB / 0.6438 GB, free: 0.625 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003353/1.038, allocations: 0.6837 MB / 0.6445 GB, free: 15.93 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01549/1.053, allocations: 1.941 MB / 0.6463 GB, free: 13.98 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007996/1.062, allocations: 2.044 MB / 0.6483 GB, free: 11.89 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004474/1.062, allocations: 283.4 kB / 0.6486 GB, free: 11.61 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002272/1.064, allocations: 371.8 kB / 0.649 GB, free: 11.25 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02894/1.093, allocations: 8.073 MB / 0.6569 GB, free: 2.785 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001889/1.094, allocations: 15.88 kB / 0.6569 GB, free: 2.77 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002064/1.096, allocations: 167.9 kB / 0.657 GB, free: 2.605 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00218/1.098, allocations: 0.8144 MB / 0.6578 GB, free: 1.789 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02406/1.122, allocations: 6.916 MB / 0.6646 GB, free: 10.87 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06326/1.185, allocations: 27.61 MB / 0.6915 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00933/1.195, allocations: 2.525 MB / 0.694 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0026/1.197, allocations: 0.9514 MB / 0.6949 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01495/1.212, allocations: 4.497 MB / 0.6993 GB, free: 6.273 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.312e-05/1.212, allocations: 47.34 kB / 0.6994 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=120): time 4.84e-06/1.212, allocations: 0 / 0.6994 GB, free: 6.219 MB / 0.4948 GB Notification: Performance of matching and sorting (n=120): time 0.01168/1.224, allocations: 2.109 MB / 0.7014 GB, free: 4.098 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/1.224, allocations: 60.19 kB / 0.7015 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005142/1.229, allocations: 1.982 MB / 0.7034 GB, free: 2 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002611/1.23, allocations: 41.7 kB / 0.7035 GB, free: 1.953 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.3498/1.58, allocations: 2.312 MB / 0.7057 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008094/1.58, allocations: 467.2 kB / 0.7062 GB, free: 135.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004048/1.581, allocations: 70.34 kB / 0.7062 GB, free: 135.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003211/1.581, allocations: 468.9 kB / 0.7067 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003067/1.584, allocations: 1.049 MB / 0.7077 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004683/1.589, allocations: 3.181 MB / 0.7108 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004904/1.594, allocations: 1.856 MB / 0.7126 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001093/1.594, allocations: 21.78 kB / 0.7127 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=471) (initialization): time 0.0126/1.607, allocations: 4.095 MB / 0.7167 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/1.607, allocations: 38.53 kB / 0.7167 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001886/1.607, allocations: 79.34 kB / 0.7168 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003123/1.607, allocations: 111.6 kB / 0.7169 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005589/1.613, allocations: 0.8137 MB / 0.7177 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000222/1.613, allocations: 147.7 kB / 0.7178 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004338/1.618, allocations: 494.4 kB / 0.7183 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001033/1.619, allocations: 221 kB / 0.7185 GB, free: 132.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 () * 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.0009393/1.62, allocations: 386.3 kB / 0.7189 GB, free: 132 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005739/1.62, allocations: 197.1 kB / 0.719 GB, free: 131.9 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004151/1.624, allocations: 1.484 MB / 0.7205 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.822e-05/1.625, allocations: 13.03 kB / 0.7205 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/1.625, allocations: 1.031 kB / 0.7205 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.187e-05/1.625, allocations: 5.016 kB / 0.7205 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02167/1.646, allocations: 7.36 MB / 0.7277 GB, free: 130.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.987e-05/1.646, allocations: 11.59 kB / 0.7277 GB, free: 130.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/1.648, allocations: 197.2 kB / 0.7279 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.472e-05/1.648, allocations: 22.75 kB / 0.7279 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001874/1.648, allocations: 40.88 kB / 0.728 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.557e-05/1.648, allocations: 31.16 kB / 0.728 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.642e-05/1.648, allocations: 19.62 kB / 0.728 GB, free: 130.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004037/1.652, allocations: 3.145 MB / 0.7311 GB, free: 128.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000833/1.653, allocations: 332.3 kB / 0.7314 GB, free: 128.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004051/1.654, allocations: 45.86 kB / 0.7314 GB, free: 128.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/1.655, allocations: 48.95 kB / 0.7315 GB, free: 128.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002325/1.656, allocations: 120 kB / 0.7316 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/1.656, allocations: 55.31 kB / 0.7317 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003458/1.659, allocations: 1.531 MB / 0.7331 GB, free: 128 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.102e-06/1.659, allocations: 0 / 0.7331 GB, free: 128 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005009/1.664, allocations: 0.9362 MB / 0.7341 GB, free: 127.9 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 () * 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.005266/1.67, allocations: 7.65 MB / 0.7415 GB, free: 121.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00604/1.676, allocations: 2.511 MB / 0.744 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.169e-05/1.676, allocations: 7.406 kB / 0.744 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001578/1.677, allocations: 0.68 MB / 0.7447 GB, free: 121 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002228/1.68, allocations: 284 kB / 0.7449 GB, free: 121 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0342/1.714, allocations: 7.205 MB / 0.752 GB, free: 118.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009407/1.723, allocations: 2.903 MB / 0.7548 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005051/1.728, allocations: 1.463 MB / 0.7562 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of SimCode: time 2.344e-06/1.729, allocations: 0 / 0.7562 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.502/5.231, allocations: 58.66 MB / 0.8135 GB, free: 79.94 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat does not exist to compare? outputFormat=mat