Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",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.002068/0.002067, allocations: 176.7 kB / 8.008 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.672/1.672, 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.001259/0.001259, allocations: 86.22 kB / 261.7 MB, free: 1.68 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.222/0.222, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.793e-05/1.796e-05, allocations: 0 / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.126, allocations: 58.85 MB / 477.2 MB, free: 1.559 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4359/0.562, allocations: 101.3 MB / 0.5649 GB, free: 10.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.5623, allocations: 85.69 kB / 0.565 GB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1342/0.6965, allocations: 54.01 MB / 0.6177 GB, free: 12.06 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.737e-06/0.6965, allocations: 0 / 0.6177 GB, free: 12.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001036/0.6966, allocations: 55.94 kB / 0.6178 GB, free: 12 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.007397/0.7041, allocations: 2.619 MB / 0.6203 GB, free: 9.547 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.7042, allocations: 8.031 kB / 0.6203 GB, free: 9.539 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008304/0.7125, allocations: 1.821 MB / 0.6221 GB, free: 7.711 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005137/0.7177, allocations: 1.735 MB / 0.6238 GB, free: 6.168 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001691/0.7179, allocations: 96 kB / 0.6239 GB, free: 6.074 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001193/0.7191, allocations: 164 kB / 0.6241 GB, free: 5.914 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008076/0.7271, allocations: 4.379 MB / 0.6283 GB, free: 1.527 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01274/0.7399, allocations: 6.066 MB / 0.6343 GB, free: 11.08 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.809e-05/0.7401, allocations: 19.81 kB / 0.6343 GB, free: 11.06 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003578/0.7404, allocations: 12 kB / 0.6343 GB, free: 11.05 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009474/0.7414, allocations: 0.6811 MB / 0.635 GB, free: 10.36 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02945/0.7708, allocations: 22.45 MB / 0.6569 GB, free: 3.223 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001923/0.7728, allocations: 1.559 MB / 0.6584 GB, free: 1.539 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007447/0.7736, allocations: 0.5732 MB / 0.659 GB, free: 0.9688 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.659e-05/0.7736, allocations: 21.22 kB / 0.659 GB, free: 0.9492 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.7737, allocations: 39.34 kB / 0.659 GB, free: 0.8984 MB / 458.7 MB Notification: Performance of pre-optimization done (n=108): time 3.807e-06/0.7737, allocations: 0 / 0.659 GB, free: 0.8984 MB / 458.7 MB Notification: Performance of matching and sorting (n=108): time 0.003516/0.7772, allocations: 1.55 MB / 0.6605 GB, free: 15.34 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.7773, allocations: 60.19 kB / 0.6606 GB, free: 15.27 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002377/0.7797, allocations: 1.609 MB / 0.6622 GB, free: 13.66 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.766e-05/0.7797, allocations: 25.7 kB / 0.6622 GB, free: 13.63 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001327/0.7811, allocations: 1.98 MB / 0.6641 GB, free: 11.62 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003611/0.7814, allocations: 406.7 kB / 0.6645 GB, free: 11.21 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.601e-05/0.7815, allocations: 3.938 kB / 0.6645 GB, free: 11.21 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002957/0.7818, allocations: 0.4942 MB / 0.665 GB, free: 10.71 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/0.7831, allocations: 0.9047 MB / 0.6659 GB, free: 9.801 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002572/0.7857, allocations: 2.964 MB / 0.6688 GB, free: 5.801 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002312/0.788, allocations: 1.674 MB / 0.6704 GB, free: 4.125 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.511e-05/0.788, allocations: 28 kB / 0.6704 GB, free: 4.098 MB / 474.7 MB Notification: Performance of matching and sorting (n=443) (initialization): time 0.005192/0.7932, allocations: 3.429 MB / 0.6738 GB, free: 0.668 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.919e-05/0.7933, allocations: 36 kB / 0.6738 GB, free: 0.6328 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-05/0.7934, allocations: 79.98 kB / 0.6739 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001052/0.7935, allocations: 108 kB / 0.674 GB, free: 460 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002168/0.7957, allocations: 0.7603 MB / 0.6747 GB, free: 15.69 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.924e-05/0.7958, allocations: 143.4 kB / 0.6749 GB, free: 15.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/0.7978, allocations: 383.7 kB / 0.6752 GB, free: 15.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002804/0.7981, allocations: 219.9 kB / 0.6755 GB, free: 14.95 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 337 * Number of states: 0 () * Number of discrete variables: 24 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.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 (419): * Single equations (assignments): 416 * 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.0003754/0.7985, allocations: 293.3 kB / 0.6757 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001715/0.8002, allocations: 1.175 MB / 0.6769 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.8005, allocations: 177.8 kB / 0.6771 GB, free: 13.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/0.8025, allocations: 1.326 MB / 0.6783 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.493e-05/0.8025, allocations: 12 kB / 0.6784 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.8025, allocations: 3.953 kB / 0.6784 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.8026, allocations: 3.984 kB / 0.6784 GB, free: 11.93 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008203/0.8108, allocations: 4.906 MB / 0.6832 GB, free: 6.832 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/0.8108, allocations: 8 kB / 0.6832 GB, free: 6.824 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006654/0.8115, allocations: 164.6 kB / 0.6833 GB, free: 6.664 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-05/0.8115, allocations: 16 kB / 0.6833 GB, free: 6.648 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.489e-05/0.8116, allocations: 23.98 kB / 0.6834 GB, free: 6.625 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.05e-05/0.8116, allocations: 19.94 kB / 0.6834 GB, free: 6.605 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-05/0.8117, allocations: 15.94 kB / 0.6834 GB, free: 6.59 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002328/0.814, allocations: 2.4 MB / 0.6857 GB, free: 3.738 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004187/0.8144, allocations: 254.5 kB / 0.686 GB, free: 3.469 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/0.8146, allocations: 19.98 kB / 0.686 GB, free: 3.449 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005737/0.8152, allocations: 19.98 kB / 0.686 GB, free: 3.43 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001375/0.8153, allocations: 87.7 kB / 0.6861 GB, free: 3.344 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.211e-05/0.8154, allocations: 43.98 kB / 0.6861 GB, free: 3.301 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001536/0.817, allocations: 1.067 MB / 0.6872 GB, free: 2.242 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.817, allocations: 4 kB / 0.6872 GB, free: 2.238 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003267/0.8203, allocations: 0.7033 MB / 0.6879 GB, free: 1.531 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.004183/0.8244, allocations: 6.034 MB / 0.6938 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003469/0.8279, allocations: 2.167 MB / 0.6959 GB, free: 9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.828, allocations: 0 / 0.6959 GB, free: 9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007395/0.8287, allocations: 0.5941 MB / 0.6965 GB, free: 8.406 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.8298, allocations: 174.5 kB / 0.6966 GB, free: 8.234 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/0.8438, allocations: 5.546 MB / 0.702 GB, free: 2.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003637/0.8475, allocations: 2.473 MB / 0.7045 GB, free: 0 / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.258/1.105, allocations: 1.129 MB / 0.7056 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001907/1.107, allocations: 1.143 MB / 0.7067 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of SimCode: time 9.02e-07/1.107, allocations: 0 / 0.7067 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07112/1.179, allocations: 36.39 MB / 0.7422 GB, free: 142.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001369/1.179, allocations: 130.9 kB / 0.7423 GB, free: 141.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.866/4.045, allocations: 3.938 kB / 0.7423 GB, free: 141.9 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat does not exist to compare? outputFormat=mat