Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_3_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.001118/0.001118, allocations: 178.3 kB / 8.005 MB, free: 1.07 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.679/1.679, allocations: 205.3 MB / 213.7 MB, free: 1.723 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.0009444/0.0009443, allocations: 82.66 kB / 261.7 MB, free: 1.688 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.2318/0.2318, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.033e-05/2.035e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1395, allocations: 58.86 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.476/0.6155, allocations: 104.2 MB / 0.5678 GB, free: 7.129 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.6158, allocations: 77.16 kB / 0.5679 GB, free: 7.094 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7192/1.335, allocations: 155.5 MB / 0.7197 GB, free: 91.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.826e-06/1.335, allocations: 0 / 0.7197 GB, free: 91.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001218/1.336, allocations: 156.5 kB / 0.7199 GB, free: 91.69 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.03431/1.371, allocations: 7.751 MB / 0.7274 GB, free: 88.81 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/1.371, allocations: 9.312 kB / 0.7275 GB, free: 88.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02115/1.392, allocations: 3.625 MB / 0.731 GB, free: 88.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02435/1.416, allocations: 9.556 MB / 0.7403 GB, free: 87.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007146/1.417, allocations: 264.7 kB / 0.7406 GB, free: 87.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005106/1.422, allocations: 479.2 kB / 0.741 GB, free: 87.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02608/1.448, allocations: 11.17 MB / 0.7519 GB, free: 87.25 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04345/1.492, allocations: 16.33 MB / 0.7679 GB, free: 83.22 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000817/1.493, allocations: 89.28 kB / 0.768 GB, free: 83.22 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004528/1.497, allocations: 48.28 kB / 0.768 GB, free: 83.22 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003235/1.5, allocations: 1.78 MB / 0.7698 GB, free: 83.21 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09941/1.6, allocations: 79.8 MB / 0.8477 GB, free: 28.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004167/1.604, allocations: 2.972 MB / 0.8506 GB, free: 26.84 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001652/1.606, allocations: 1.407 MB / 0.852 GB, free: 25.57 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/1.606, allocations: 41.48 kB / 0.852 GB, free: 25.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/1.606, allocations: 67.83 kB / 0.8521 GB, free: 25.47 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=232): time 4.959e-06/1.606, allocations: 0 / 0.8521 GB, free: 25.47 MB / 0.4948 GB Notification: Performance of matching and sorting (n=244): time 0.02848/1.635, allocations: 11.46 MB / 0.8633 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/1.635, allocations: 158.5 kB / 0.8634 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008932/1.644, allocations: 5.043 MB / 0.8683 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005692/1.644, allocations: 33.55 kB / 0.8684 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003208/1.647, allocations: 5.686 MB / 0.8739 GB, free: 5.352 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001195/1.649, allocations: 0.9293 MB / 0.8748 GB, free: 4.52 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005081/1.649, allocations: 4 kB / 0.8748 GB, free: 4.516 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003723/1.65, allocations: 0.6831 MB / 0.8755 GB, free: 3.934 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002859/1.652, allocations: 2.252 MB / 0.8777 GB, free: 1.922 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007429/1.66, allocations: 8.062 MB / 0.8856 GB, free: 7.465 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006538/1.666, allocations: 4.176 MB / 0.8897 GB, free: 3.922 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001439/1.667, allocations: 63.95 kB / 0.8897 GB, free: 3.859 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.3458/2.012, allocations: 8.984 MB / 0.8985 GB, free: 90.57 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004551/2.013, allocations: 97.28 kB / 0.8986 GB, free: 90.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000867/2.014, allocations: 212.9 kB / 0.8988 GB, free: 90.57 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008364/2.015, allocations: 307.8 kB / 0.8991 GB, free: 90.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008887/2.023, allocations: 2.232 MB / 0.9013 GB, free: 90.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005958/2.024, allocations: 408.1 kB / 0.9016 GB, free: 90.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009065/2.033, allocations: 456.3 kB / 0.9021 GB, free: 90.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002197/2.035, allocations: 0.558 MB / 0.9026 GB, free: 90.57 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 951 * 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 (1161): * Single equations (assignments): 1158 * 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.002422/2.038, allocations: 0.6135 MB / 0.9032 GB, free: 90.46 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005204/2.043, allocations: 2.694 MB / 0.9059 GB, free: 90.38 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001082/2.044, allocations: 0.5352 MB / 0.9064 GB, free: 90.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004906/2.049, allocations: 2.407 MB / 0.9087 GB, free: 90.24 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-05/2.049, allocations: 22.69 kB / 0.9088 GB, free: 90.24 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-05/2.049, allocations: 3.438 kB / 0.9088 GB, free: 90.24 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.047e-05/2.049, allocations: 10.78 kB / 0.9088 GB, free: 90.24 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03816/2.087, allocations: 23 MB / 0.9312 GB, free: 88.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001903/2.088, allocations: 49.09 kB / 0.9313 GB, free: 88.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002029/2.09, allocations: 493 kB / 0.9317 GB, free: 88.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.588e-05/2.09, allocations: 69.56 kB / 0.9318 GB, free: 88.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002922/2.09, allocations: 71.05 kB / 0.9319 GB, free: 88.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.456e-05/2.09, allocations: 94.78 kB / 0.932 GB, free: 88.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.761e-05/2.09, allocations: 71.19 kB / 0.932 GB, free: 88.05 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008994/2.099, allocations: 12.62 MB / 0.9444 GB, free: 75.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002615/2.102, allocations: 0.6202 MB / 0.945 GB, free: 75.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001904/2.104, allocations: 70.91 kB / 0.945 GB, free: 75.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004076/2.108, allocations: 155.6 kB / 0.9452 GB, free: 75.55 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006588/2.109, allocations: 324.4 kB / 0.9455 GB, free: 75.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003672/2.109, allocations: 135.8 kB / 0.9456 GB, free: 75.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008874/2.118, allocations: 3.394 MB / 0.9489 GB, free: 75.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.22e-07/2.118, allocations: 0.5625 kB / 0.9489 GB, free: 75.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01101/2.129, allocations: 1.274 MB / 0.9502 GB, free: 75.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 216 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (252): * Single equations (assignments): 249 * 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.01157/2.141, allocations: 22.66 MB / 0.9723 GB, free: 54.29 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009072/2.15, allocations: 5.295 MB / 0.9775 GB, free: 54.27 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.217e-05/2.15, allocations: 8.438 kB / 0.9775 GB, free: 54.27 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002041/2.152, allocations: 1.296 MB / 0.9788 GB, free: 54.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005777/2.158, allocations: 0.7032 MB / 0.9794 GB, free: 54.17 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04795/2.206, allocations: 15.9 MB / 0.995 GB, free: 49.25 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01394/2.22, allocations: 5.709 MB / 1.001 GB, free: 47.47 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01013/2.23, allocations: 2.844 MB / 1.003 GB, free: 47.42 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007838/2.238, allocations: 3.663 MB / 1.007 GB, free: 44.34 MB / 0.5105 GB Notification: Performance of SimCode: time 1.443e-06/2.238, allocations: 0 / 1.007 GB, free: 44.34 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5168/2.755, allocations: 107.8 MB / 1.112 GB, free: 100.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001808/2.755, allocations: 130.7 kB / 1.112 GB, free: 100.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.084/8.839, allocations: 0 / 1.112 GB, free: 100.1 MB / 0.5417 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat