Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 169 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008697/0.0008698, allocations: 103 kB / 281.6 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2105/0.2105, allocations: 44.14 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.416e-05/2.416e-05, allocations: 4.219 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.145, allocations: 61.91 MB / 0.4948 GB, free: 1.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4808/0.6258, allocations: 102.1 MB / 0.5945 GB, free: 10.21 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/0.6262, allocations: 79.95 kB / 0.5946 GB, free: 10.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1326/0.7588, allocations: 52.53 MB / 0.6459 GB, free: 5.238 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.7589, allocations: 0 / 0.6459 GB, free: 5.238 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001154/0.759, allocations: 52 kB / 0.6459 GB, free: 5.188 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.009149/0.7682, allocations: 2.53 MB / 0.6484 GB, free: 2.602 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.7682, allocations: 11.98 kB / 0.6484 GB, free: 2.59 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008457/0.7767, allocations: 1.79 MB / 0.6501 GB, free: 0.793 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005075/0.7819, allocations: 1.676 MB / 0.6518 GB, free: 15.07 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001629/0.7821, allocations: 88 kB / 0.6519 GB, free: 14.98 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001449/0.7836, allocations: 156 kB / 0.652 GB, free: 14.83 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008609/0.7922, allocations: 4.141 MB / 0.6561 GB, free: 10.68 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01409/0.8064, allocations: 5.768 MB / 0.6617 GB, free: 4.574 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-05/0.8065, allocations: 15.81 kB / 0.6617 GB, free: 4.559 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005025/0.807, allocations: 12 kB / 0.6617 GB, free: 4.547 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001043/0.8081, allocations: 0.6417 MB / 0.6623 GB, free: 3.902 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03362/0.8417, allocations: 21.59 MB / 0.6834 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002252/0.8441, allocations: 1.437 MB / 0.6848 GB, free: 12.06 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007254/0.8448, allocations: 0.5027 MB / 0.6853 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.855e-05/0.8449, allocations: 12.55 kB / 0.6853 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/0.8449, allocations: 43.12 kB / 0.6854 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=93): time 4.138e-06/0.8449, allocations: 0 / 0.6854 GB, free: 11.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=93): time 0.003503/0.8485, allocations: 1.406 MB / 0.6867 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.8485, allocations: 55.97 kB / 0.6868 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002544/0.8511, allocations: 1.56 MB / 0.6883 GB, free: 8.449 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.321e-05/0.8511, allocations: 29.7 kB / 0.6884 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001339/0.8525, allocations: 1.902 MB / 0.6902 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003693/0.8529, allocations: 359.4 kB / 0.6906 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.187e-05/0.853, allocations: 0 / 0.6906 GB, free: 6.125 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002975/0.8533, allocations: 497.5 kB / 0.691 GB, free: 5.629 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/0.8545, allocations: 0.8378 MB / 0.6918 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002539/0.8571, allocations: 2.802 MB / 0.6946 GB, free: 0.9922 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002173/0.8592, allocations: 1.571 MB / 0.6961 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.963e-05/0.8593, allocations: 20 kB / 0.6961 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=414) (initialization): time 0.00583/0.8651, allocations: 3.214 MB / 0.6993 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.082e-05/0.8652, allocations: 37.41 kB / 0.6993 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.904e-05/0.8653, allocations: 72 kB / 0.6994 GB, free: 12.07 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001163/0.8655, allocations: 107.9 kB / 0.6995 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/0.8679, allocations: 0.7096 MB / 0.7002 GB, free: 11.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001067/0.8681, allocations: 135.5 kB / 0.7003 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/0.8704, allocations: 360 kB / 0.7006 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002771/0.8707, allocations: 196 kB / 0.7008 GB, free: 10.58 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 323 * Number of states: 0 () * Number of discrete variables: 26 (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.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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 (390): * Single equations (assignments): 387 * 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.0004075/0.8711, allocations: 294.2 kB / 0.7011 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001599/0.8728, allocations: 1.044 MB / 0.7021 GB, free: 9.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.8729, allocations: 157.8 kB / 0.7023 GB, free: 9.074 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/0.8747, allocations: 1.166 MB / 0.7034 GB, free: 7.887 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.674e-05/0.8747, allocations: 12 kB / 0.7034 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.8747, allocations: 0 / 0.7034 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.8747, allocations: 3.984 kB / 0.7034 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006572/0.8813, allocations: 3.92 MB / 0.7073 GB, free: 3.805 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/0.8814, allocations: 12.03 kB / 0.7073 GB, free: 3.793 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000536/0.8819, allocations: 127.8 kB / 0.7074 GB, free: 3.668 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.257e-05/0.882, allocations: 12 kB / 0.7074 GB, free: 3.656 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.053e-05/0.882, allocations: 16 kB / 0.7074 GB, free: 3.641 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.334e-05/0.882, allocations: 15.92 kB / 0.7074 GB, free: 3.625 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.08e-05/0.8821, allocations: 11.94 kB / 0.7075 GB, free: 3.613 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001941/0.884, allocations: 1.899 MB / 0.7093 GB, free: 1.395 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003954/0.8844, allocations: 234.8 kB / 0.7095 GB, free: 1.145 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/0.8846, allocations: 15.98 kB / 0.7095 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004538/0.885, allocations: 15.98 kB / 0.7096 GB, free: 1.113 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.573e-05/0.8851, allocations: 67.78 kB / 0.7096 GB, free: 1.047 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.976e-05/0.8852, allocations: 35.98 kB / 0.7097 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.3282/1.213, allocations: 1.028 MB / 0.7107 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.11e-07/1.213, allocations: 1.094 kB / 0.7107 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004736/1.218, allocations: 0.6585 MB / 0.7113 GB, free: 147.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 65 * 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.003801/1.222, allocations: 4.576 MB / 0.7158 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004221/1.226, allocations: 1.989 MB / 0.7177 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/1.226, allocations: 1.25 kB / 0.7177 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008312/1.227, allocations: 0.523 MB / 0.7182 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/1.228, allocations: 166.9 kB / 0.7184 GB, free: 144.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01516/1.244, allocations: 5.141 MB / 0.7234 GB, free: 143.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00338/1.247, allocations: 2.387 MB / 0.7257 GB, free: 142.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003748/1.251, allocations: 1.08 MB / 0.7268 GB, free: 142.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001882/1.253, allocations: 1.079 MB / 0.7279 GB, free: 142.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.152e-06/1.253, allocations: 0 / 0.7279 GB, free: 142.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08281/1.336, allocations: 34.54 MB / 0.7616 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002518/1.336, allocations: 134.4 kB / 0.7617 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.834/4.17, allocations: 0 / 0.7617 GB, free: 139.6 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat does not exist to compare? outputFormat=mat