Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.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.CutForce,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForce",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.002145/0.002145, allocations: 182 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.164/2.164, allocations: 205.2 MB / 219.4 MB, free: 14.28 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.001523/0.001522, allocations: 94.62 kB / 267.5 MB, free: 14.1 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.284/0.284, allocations: 43.5 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.403e-05/3.421e-05, allocations: 3.984 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1233, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5269/0.6502, allocations: 104.9 MB / 0.5753 GB, free: 14.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.6506, allocations: 83.53 kB / 0.5754 GB, free: 14.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.031/1.681, allocations: 159.2 MB / 0.7309 GB, free: 93.08 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.725e-06/1.681, allocations: 0 / 0.7309 GB, free: 93.08 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004746/1.682, allocations: 155.6 kB / 0.731 GB, free: 93.07 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: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.03083/1.713, allocations: 7.756 MB / 0.7386 GB, free: 90.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/1.713, allocations: 6.656 kB / 0.7386 GB, free: 90.1 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006722/1.719, allocations: 1.399 MB / 0.74 GB, free: 90 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03128/1.751, allocations: 3.631 MB / 0.7435 GB, free: 89.45 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03335/1.784, allocations: 9.566 MB / 0.7529 GB, free: 88.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000866/1.785, allocations: 0.6006 MB / 0.7535 GB, free: 88.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004679/1.79, allocations: 0.7961 MB / 0.7542 GB, free: 88.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05986/1.85, allocations: 18.69 MB / 0.7725 GB, free: 84.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006866/1.85, allocations: 87.62 kB / 0.7726 GB, free: 84.29 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004792/1.855, allocations: 383.9 kB / 0.7729 GB, free: 84.29 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004836/1.86, allocations: 1.789 MB / 0.7747 GB, free: 84.26 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04734/1.908, allocations: 14.49 MB / 0.7888 GB, free: 81.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1364/2.044, allocations: 79.11 MB / 0.8661 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02736/2.071, allocations: 6.029 MB / 0.872 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005948/2.077, allocations: 2.39 MB / 0.8743 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03604/2.114, allocations: 11.2 MB / 0.8852 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.829e-05/2.114, allocations: 64.48 kB / 0.8853 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=238): time 6.422e-06/2.114, allocations: 4 kB / 0.8853 GB, free: 14.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=262): time 0.4456/2.559, allocations: 14.75 MB / 0.8997 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.766e-05/2.559, allocations: 155.7 kB / 0.8999 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01855/2.578, allocations: 5.748 MB / 0.9055 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006364/2.579, allocations: 64.17 kB / 0.9055 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005698/2.584, allocations: 5.366 MB / 0.9108 GB, free: 99.15 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001689/2.586, allocations: 1.01 MB / 0.9118 GB, free: 98.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001274/2.587, allocations: 176.5 kB / 0.9119 GB, free: 98.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0009738/2.588, allocations: 0.6844 MB / 0.9126 GB, free: 98.37 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008012/2.596, allocations: 2.373 MB / 0.9149 GB, free: 98.34 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01251/2.609, allocations: 7.982 MB / 0.9227 GB, free: 91.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01155/2.621, allocations: 4.306 MB / 0.9269 GB, free: 91.03 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003862/2.621, allocations: 58.25 kB / 0.927 GB, free: 91.03 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1155) (initialization): time 0.02807/2.649, allocations: 9.829 MB / 0.9366 GB, free: 90.37 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002208/2.649, allocations: 93.84 kB / 0.9367 GB, free: 90.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003165/2.65, allocations: 200.4 kB / 0.9369 GB, free: 90.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003318/2.65, allocations: 295.1 kB / 0.9371 GB, free: 90.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0142/2.664, allocations: 2.183 MB / 0.9393 GB, free: 90.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004309/2.665, allocations: 395.8 kB / 0.9396 GB, free: 90.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01218/2.677, allocations: 0.6082 MB / 0.9402 GB, free: 90.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002211/2.679, allocations: 0.5383 MB / 0.9408 GB, free: 90.09 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 915 * Number of states: 0 () * Number of discrete variables: 60 (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.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.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.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.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 (1131): * Single equations (assignments): 1128 * 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.003127/2.682, allocations: 0.807 MB / 0.9416 GB, free: 89.68 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001534/2.684, allocations: 0.5728 MB / 0.9421 GB, free: 89.37 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007949/2.692, allocations: 2.75 MB / 0.9448 GB, free: 89.21 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-05/2.692, allocations: 29.31 kB / 0.9448 GB, free: 89.21 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.775e-05/2.692, allocations: 3.422 kB / 0.9448 GB, free: 89.21 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.813e-05/2.692, allocations: 14.09 kB / 0.9448 GB, free: 89.21 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06058/2.753, allocations: 26.41 MB / 0.9706 GB, free: 82.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00014/2.753, allocations: 60.78 kB / 0.9707 GB, free: 82.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003704/2.757, allocations: 0.5164 MB / 0.9712 GB, free: 82.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.342e-05/2.757, allocations: 73.66 kB / 0.9713 GB, free: 82.39 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004793/2.757, allocations: 119.6 kB / 0.9714 GB, free: 82.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.962e-05/2.757, allocations: 106.6 kB / 0.9715 GB, free: 82.33 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.574e-05/2.758, allocations: 85.22 kB / 0.9716 GB, free: 82.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01098/2.769, allocations: 14.56 MB / 0.9858 GB, free: 67.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002515/2.771, allocations: 0.6987 MB / 0.9865 GB, free: 67.22 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002259/2.773, allocations: 126 kB / 0.9866 GB, free: 67.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005904/2.779, allocations: 199.9 kB / 0.9868 GB, free: 67.15 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008977/2.78, allocations: 346.4 kB / 0.9871 GB, free: 67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003495/2.781, allocations: 150.9 kB / 0.9873 GB, free: 66.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0113/2.792, allocations: 4.03 MB / 0.9912 GB, free: 65.63 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.42e-07/2.792, allocations: 0 / 0.9912 GB, free: 65.63 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01237/2.804, allocations: 1.494 MB / 0.9927 GB, free: 65.45 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 240 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 267 * 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.01378/2.818, allocations: 25.07 MB / 1.017 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01421/2.833, allocations: 5.756 MB / 1.023 GB, free: 38.75 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.622e-05/2.833, allocations: 11.06 kB / 1.023 GB, free: 38.75 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003526/2.836, allocations: 1.452 MB / 1.024 GB, free: 38.25 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007998/2.844, allocations: 0.8645 MB / 1.025 GB, free: 37.93 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05608/2.9, allocations: 17.42 MB / 1.042 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01563/2.916, allocations: 5.747 MB / 1.048 GB, free: 20.59 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008617/2.925, allocations: 3.742 MB / 1.051 GB, free: 17.11 MB / 0.5105 GB Notification: Performance of SimCode: time 3.366e-06/2.925, allocations: 0 / 1.051 GB, free: 17.11 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.59/8.515, allocations: 139.4 MB / 1.187 GB, free: 72.36 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat