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.00153/0.00153, allocations: 186.4 kB / 13.19 MB, free: 2.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0009336/0.0009335, allocations: 90.55 kB / 267.1 MB, free: 9.277 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.3888/0.3888, allocations: 43.46 MB / 358.6 MB, free: 52.3 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.708e-05/5.738e-05, allocations: 4 kB / 425.4 MB, free: 8.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1266, allocations: 58.84 MB / 484.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4165/0.5431, allocations: 104.9 MB / 0.5753 GB, free: 60 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.5434, allocations: 82.05 kB / 0.5754 GB, free: 15.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7205/1.264, allocations: 159.3 MB / 0.7309 GB, free: 81.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.575e-06/1.264, allocations: 4 kB / 0.7309 GB, free: 81.63 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004669/1.264, allocations: 154.8 kB / 0.7311 GB, free: 81.63 MB / 490.7 MB 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.02799/1.292, allocations: 7.758 MB / 0.7386 GB, free: 78.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.642e-05/1.293, allocations: 8.562 kB / 0.7386 GB, free: 78.59 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007215/1.3, allocations: 1.399 MB / 0.74 GB, free: 78.46 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02033/1.32, allocations: 3.627 MB / 0.7435 GB, free: 77.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02286/1.343, allocations: 9.56 MB / 0.7529 GB, free: 74.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008501/1.344, allocations: 0.6059 MB / 0.7535 GB, free: 74.26 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005434/1.349, allocations: 0.7926 MB / 0.7542 GB, free: 74.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04833/1.398, allocations: 18.69 MB / 0.7725 GB, free: 64.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005213/1.398, allocations: 99.11 kB / 0.7726 GB, free: 64.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0046/1.403, allocations: 394.7 kB / 0.773 GB, free: 64.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003379/1.406, allocations: 1.776 MB / 0.7747 GB, free: 64.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03351/1.44, allocations: 14.5 MB / 0.7889 GB, free: 53.48 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.521/1.961, allocations: 79.1 MB / 0.8661 GB, free: 40.31 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01687/1.978, allocations: 6.019 MB / 0.872 GB, free: 39.64 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003787/1.982, allocations: 2.387 MB / 0.8743 GB, free: 39.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02356/2.005, allocations: 11 MB / 0.8851 GB, free: 36.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.775e-05/2.005, allocations: 62.59 kB / 0.8851 GB, free: 36.64 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=238): time 4.709e-06/2.005, allocations: 3.625 kB / 0.8851 GB, free: 36.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=262): time 0.05137/2.057, allocations: 14.77 MB / 0.8995 GB, free: 32.08 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/2.057, allocations: 156.3 kB / 0.8997 GB, free: 31.92 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02157/2.078, allocations: 5.752 MB / 0.9053 GB, free: 31.35 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009485/2.079, allocations: 63.11 kB / 0.9054 GB, free: 31.32 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007418/2.087, allocations: 5.599 MB / 0.9108 GB, free: 28.26 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002628/2.09, allocations: 1.013 MB / 0.9118 GB, free: 27.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001464/2.091, allocations: 178.8 kB / 0.912 GB, free: 27.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0009992/2.092, allocations: 0.6819 MB / 0.9127 GB, free: 27.37 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005133/2.097, allocations: 2.37 MB / 0.915 GB, free: 27.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007057/2.104, allocations: 7.987 MB / 0.9228 GB, free: 20.06 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00721/2.112, allocations: 4.298 MB / 0.927 GB, free: 19.81 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002269/2.112, allocations: 56.88 kB / 0.927 GB, free: 19.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1155) (initialization): time 0.02164/2.134, allocations: 10.07 MB / 0.9369 GB, free: 17.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001772/2.134, allocations: 90.06 kB / 0.9369 GB, free: 17.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003185/2.134, allocations: 200.6 kB / 0.9371 GB, free: 17.04 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002905/2.134, allocations: 295.8 kB / 0.9374 GB, free: 17.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008097/2.142, allocations: 2.186 MB / 0.9396 GB, free: 16.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003266/2.143, allocations: 396.3 kB / 0.9399 GB, free: 16.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01025/2.153, allocations: 0.6074 MB / 0.9405 GB, free: 16.54 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002171/2.155, allocations: 0.5357 MB / 0.9411 GB, free: 16.46 MB / 0.4948 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.003011/2.158, allocations: 0.8124 MB / 0.9418 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001804/2.16, allocations: 0.582 MB / 0.9424 GB, free: 15.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005632/2.166, allocations: 2.745 MB / 0.9451 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.804e-05/2.166, allocations: 32.81 kB / 0.9451 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-05/2.166, allocations: 0 / 0.9451 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-05/2.166, allocations: 9.844 kB / 0.9451 GB, free: 14.44 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04422/2.21, allocations: 26.42 MB / 0.9709 GB, free: 4.426 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-05/2.21, allocations: 52.31 kB / 0.971 GB, free: 4.426 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00183/2.212, allocations: 0.5247 MB / 0.9715 GB, free: 4.355 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.025e-05/2.212, allocations: 77.62 kB / 0.9716 GB, free: 4.355 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002048/2.212, allocations: 113.8 kB / 0.9717 GB, free: 4.324 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.344e-05/2.212, allocations: 103.7 kB / 0.9718 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-05/2.213, allocations: 85.78 kB / 0.9719 GB, free: 4.277 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01248/2.225, allocations: 14.58 MB / 0.9861 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003147/2.228, allocations: 0.6884 MB / 0.9868 GB, free: 5.066 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001907/2.23, allocations: 126.6 kB / 0.9869 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004459/2.235, allocations: 195.4 kB / 0.9871 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006553/2.235, allocations: 357.7 kB / 0.9874 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002849/2.236, allocations: 145.8 kB / 0.9876 GB, free: 4.824 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009806/2.245, allocations: 4.027 MB / 0.9915 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.81e-07/2.245, allocations: 0 / 0.9915 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01287/2.258, allocations: 1.496 MB / 0.9929 GB, free: 432 kB / 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.01705/2.275, allocations: 25.08 MB / 1.017 GB, free: 5.953 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01229/2.288, allocations: 5.746 MB / 1.023 GB, free: 0.6992 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.236e-05/2.288, allocations: 8 kB / 1.023 GB, free: 0.6914 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00277/2.291, allocations: 1.449 MB / 1.024 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007245/2.298, allocations: 0.8678 MB / 1.025 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05425/2.352, allocations: 16.57 MB / 1.042 GB, free: 15.5 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01368/2.366, allocations: 5.743 MB / 1.047 GB, free: 11.32 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01037/2.376, allocations: 2.8 MB / 1.05 GB, free: 9.562 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008087/2.385, allocations: 3.666 MB / 1.053 GB, free: 6.152 MB / 0.573 GB Notification: Performance of SimCode: time 1.292e-06/2.385, allocations: 4 kB / 1.053 GB, free: 6.148 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5841/2.969, allocations: 117.7 MB / 1.168 GB, free: 151.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001417/2.969, allocations: 147.9 kB / 1.169 GB, free: 151.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.812/9.781, allocations: 0 / 1.169 GB, free: 151.6 MB / 0.5886 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