Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.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.CutForce,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce",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.002097/0.002097, allocations: 174.4 kB / 8.74 MB, free: 348 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.454/1.454, allocations: 221.5 MB / 230.7 MB, free: 7.523 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.0009429/0.0009429, allocations: 85.88 kB / 281.6 MB, free: 5.266 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.207/0.207, allocations: 44.14 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.2e-05/2.199e-05, allocations: 224 / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1493, allocations: 61.92 MB / 0.4948 GB, free: 1.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4856/0.635, allocations: 105.3 MB / 0.5976 GB, free: 7.094 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/0.6354, allocations: 75.97 kB / 0.5976 GB, free: 7.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8178/1.453, allocations: 147.9 MB / 0.742 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.695e-06/1.453, allocations: 224 / 0.742 GB, free: 102.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006732/1.454, allocations: 150.9 kB / 0.7422 GB, free: 102.9 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: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.03052/1.485, allocations: 7.356 MB / 0.7493 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.358e-05/1.485, allocations: 14.7 kB / 0.7494 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02091/1.506, allocations: 3.52 MB / 0.7528 GB, free: 99.53 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02477/1.53, allocations: 8.759 MB / 0.7614 GB, free: 98.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006502/1.531, allocations: 246.8 kB / 0.7616 GB, free: 98.54 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004208/1.535, allocations: 451.7 kB / 0.762 GB, free: 98.53 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02451/1.56, allocations: 10.28 MB / 0.7721 GB, free: 95.79 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04204/1.602, allocations: 15.22 MB / 0.7869 GB, free: 85.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005844/1.603, allocations: 87.22 kB / 0.787 GB, free: 85.74 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004777/1.607, allocations: 52 kB / 0.787 GB, free: 85.69 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003144/1.611, allocations: 1.62 MB / 0.7886 GB, free: 84.37 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09578/1.706, allocations: 76.23 MB / 0.8631 GB, free: 7.867 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0041/1.711, allocations: 2.349 MB / 0.8654 GB, free: 5.379 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001993/1.713, allocations: 1.144 MB / 0.8665 GB, free: 4.223 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000112/1.713, allocations: 24.58 kB / 0.8665 GB, free: 4.207 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/1.713, allocations: 51.81 kB / 0.8666 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=176): time 6.372e-06/1.713, allocations: 0 / 0.8666 GB, free: 4.145 MB / 0.4948 GB Notification: Performance of matching and sorting (n=188): time 0.02784/1.741, allocations: 10.17 MB / 0.8765 GB, free: 9.918 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001189/1.741, allocations: 149.8 kB / 0.8766 GB, free: 9.742 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01151/1.752, allocations: 4.825 MB / 0.8813 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003696/1.753, allocations: 25.7 kB / 0.8814 GB, free: 4.875 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004735/1.758, allocations: 5.366 MB / 0.8866 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00116/1.759, allocations: 0.7447 MB / 0.8873 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009802/1.76, allocations: 0 / 0.8873 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001167/1.761, allocations: 0.6532 MB / 0.888 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004466/1.765, allocations: 1.961 MB / 0.8899 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009627/1.775, allocations: 7.374 MB / 0.8971 GB, free: 1.922 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3724/2.148, allocations: 3.745 MB / 0.9007 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002745/2.148, allocations: 56.09 kB / 0.9008 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1073) (initialization): time 0.01844/2.166, allocations: 8.092 MB / 0.9087 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002339/2.167, allocations: 87.81 kB / 0.9088 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000427/2.167, allocations: 197 kB / 0.909 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005481/2.168, allocations: 285.2 kB / 0.9092 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007368/2.175, allocations: 2.025 MB / 0.9112 GB, free: 113.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005518/2.176, allocations: 384.6 kB / 0.9116 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007307/2.183, allocations: 426.1 kB / 0.912 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001848/2.185, allocations: 0.5092 MB / 0.9125 GB, free: 113.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * Number of states: 0 () * Number of discrete variables: 68 (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.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,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.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1049): * Single equations (assignments): 1046 * 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.00252/2.187, allocations: 0.5932 MB / 0.9131 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004633/2.192, allocations: 2.154 MB / 0.9152 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009766/2.193, allocations: 0.4954 MB / 0.9157 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002066/2.195, allocations: 0.5851 MB / 0.9162 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.571e-05/2.195, allocations: 28.33 kB / 0.9163 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-05/2.195, allocations: 0 / 0.9163 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.682e-05/2.195, allocations: 12.16 kB / 0.9163 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02553/2.221, allocations: 13.74 MB / 0.9297 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.078e-05/2.221, allocations: 37.06 kB / 0.9297 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/2.222, allocations: 342.4 kB / 0.93 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-05/2.222, allocations: 46.94 kB / 0.9301 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/2.222, allocations: 48.28 kB / 0.9301 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-05/2.222, allocations: 63.02 kB / 0.9302 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.493e-05/2.222, allocations: 63.48 kB / 0.9303 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004374/2.226, allocations: 8.685 MB / 0.9387 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009603/2.227, allocations: 0.562 MB / 0.9393 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004684/2.228, allocations: 54.05 kB / 0.9393 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001883/2.23, allocations: 127.2 kB / 0.9395 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001924/2.23, allocations: 223.9 kB / 0.9397 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/2.23, allocations: 94.17 kB / 0.9398 GB, free: 102.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004762/2.235, allocations: 3.247 MB / 0.9429 GB, free: 102 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.01e-07/2.235, allocations: 0 / 0.9429 GB, free: 102 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009437/2.244, allocations: 1.162 MB / 0.9441 GB, free: 102 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 177 * 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.006608/2.251, allocations: 15.88 MB / 0.9596 GB, free: 87.42 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007468/2.258, allocations: 4.587 MB / 0.9641 GB, free: 85.95 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.017e-05/2.259, allocations: 2.875 kB / 0.9641 GB, free: 85.95 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001379/2.26, allocations: 0.9781 MB / 0.965 GB, free: 85.62 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004644/2.265, allocations: 0.6997 MB / 0.9657 GB, free: 85.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03852/2.303, allocations: 14.24 MB / 0.9796 GB, free: 79.63 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01037/2.314, allocations: 5.349 MB / 0.9848 GB, free: 77.92 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01169/2.325, allocations: 2.595 MB / 0.9874 GB, free: 77.69 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007861/2.333, allocations: 3.363 MB / 0.9906 GB, free: 74.86 MB / 0.5261 GB Notification: Performance of SimCode: time 1.533e-06/2.333, allocations: 0 / 0.9906 GB, free: 74.86 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2195/2.553, allocations: 99.34 MB / 1.088 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/2.553, allocations: 133.1 kB / 1.088 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.347/7.9, allocations: 0 / 1.088 GB, free: 11.71 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat