Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",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.001678/0.001678, allocations: 186.8 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.602/1.602, allocations: 205.2 MB / 218.9 MB, free: 9.145 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.0008613/0.0008612, allocations: 84.47 kB / 267 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.4628/0.4628, allocations: 43.47 MB / 358.6 MB, free: 51.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.007e-05/4.012e-05, allocations: 4 kB / 425.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1323, allocations: 58.84 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4404/0.5728, allocations: 101.9 MB / 0.5724 GB, free: 3.848 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.5731, allocations: 81.48 kB / 0.5725 GB, free: 3.809 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1359/0.709, allocations: 55.31 MB / 0.6265 GB, free: 3.98 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.7091, allocations: 4 kB / 0.6265 GB, free: 3.977 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001015/0.7092, allocations: 48 kB / 0.6266 GB, free: 3.93 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.005331/0.7145, allocations: 2.626 MB / 0.6291 GB, free: 1.457 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/0.7146, allocations: 8.031 kB / 0.6291 GB, free: 1.449 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000863/0.7155, allocations: 0.5475 MB / 0.6297 GB, free: 1.098 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007216/0.7227, allocations: 1.821 MB / 0.6314 GB, free: 15.27 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005559/0.7283, allocations: 1.72 MB / 0.6331 GB, free: 13.89 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002874/0.7286, allocations: 226.2 kB / 0.6333 GB, free: 13.74 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001475/0.7301, allocations: 281.9 kB / 0.6336 GB, free: 13.54 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01353/0.7437, allocations: 6.585 MB / 0.64 GB, free: 7.184 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.794e-05/0.7438, allocations: 15.88 kB / 0.6401 GB, free: 7.168 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000398/0.7442, allocations: 131.9 kB / 0.6402 GB, free: 7.039 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009439/0.7451, allocations: 0.6882 MB / 0.6409 GB, free: 6.348 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01148/0.7566, allocations: 5.708 MB / 0.6464 GB, free: 0.6289 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03875/0.7954, allocations: 23.14 MB / 0.669 GB, free: 8.816 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005064/0.8005, allocations: 2.229 MB / 0.6712 GB, free: 6.461 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.8019, allocations: 0.7541 MB / 0.6719 GB, free: 5.703 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007703/0.8097, allocations: 3.765 MB / 0.6756 GB, free: 1.797 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.427e-05/0.8098, allocations: 39.12 kB / 0.6757 GB, free: 1.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 4.829e-06/0.8098, allocations: 4 kB / 0.6757 GB, free: 1.746 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.005398/0.8152, allocations: 1.714 MB / 0.6773 GB, free: 20 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.808e-05/0.8153, allocations: 59.97 kB / 0.6774 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002996/0.8183, allocations: 1.776 MB / 0.6791 GB, free: 14.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.603e-05/0.8184, allocations: 37.7 kB / 0.6792 GB, free: 14.13 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00136/0.8198, allocations: 1.964 MB / 0.6811 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004021/0.8202, allocations: 359.3 kB / 0.6814 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001164/0.8203, allocations: 63.98 kB / 0.6815 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002324/0.8206, allocations: 448.7 kB / 0.6819 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/0.8219, allocations: 0.9003 MB / 0.6828 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002898/0.8248, allocations: 2.83 MB / 0.6856 GB, free: 6.574 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002459/0.8272, allocations: 1.629 MB / 0.6872 GB, free: 4.941 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-05/0.8273, allocations: 20 kB / 0.6872 GB, free: 4.922 MB / 0.4948 GB Notification: Performance of matching and sorting (n=412) (initialization): time 0.007234/0.8345, allocations: 3.623 MB / 0.6907 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.969e-05/0.8346, allocations: 39.98 kB / 0.6907 GB, free: 1.254 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001062/0.8348, allocations: 72.16 kB / 0.6908 GB, free: 1.184 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001722/0.8349, allocations: 100 kB / 0.6909 GB, free: 1.086 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003537/0.8385, allocations: 0.7134 MB / 0.6916 GB, free: 380 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000162/0.8387, allocations: 143.4 kB / 0.6917 GB, free: 236 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.4057/1.244, allocations: 429.3 kB / 0.6922 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001011/1.245, allocations: 194.7 kB / 0.6923 GB, free: 120.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * Number of states: 0 () * Number of discrete variables: 24 (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.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 (388): * Single equations (assignments): 385 * 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.001262/1.247, allocations: 347.7 kB / 0.6927 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000584/1.247, allocations: 167.8 kB / 0.6928 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003181/1.251, allocations: 1.172 MB / 0.694 GB, free: 120 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.448e-05/1.251, allocations: 10.56 kB / 0.694 GB, free: 120 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/1.251, allocations: 2.844 kB / 0.694 GB, free: 120 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/1.251, allocations: 6.031 kB / 0.694 GB, free: 120 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01345/1.264, allocations: 4.97 MB / 0.6988 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.089e-05/1.264, allocations: 8.469 kB / 0.6989 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006397/1.265, allocations: 137.4 kB / 0.699 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.347e-05/1.265, allocations: 22.53 kB / 0.699 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-05/1.265, allocations: 25.17 kB / 0.699 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.528e-05/1.265, allocations: 17.56 kB / 0.699 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.889e-06/1.265, allocations: 12.56 kB / 0.6991 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002286/1.267, allocations: 2.173 MB / 0.7012 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005451/1.268, allocations: 279.8 kB / 0.7014 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/1.268, allocations: 31.36 kB / 0.7015 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006077/1.269, allocations: 33.17 kB / 0.7015 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/1.269, allocations: 74.53 kB / 0.7016 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.232e-05/1.269, allocations: 41.33 kB / 0.7016 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002063/1.271, allocations: 1.289 MB / 0.7029 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/1.271, allocations: 0 / 0.7029 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003272/1.274, allocations: 0.7612 MB / 0.7036 GB, free: 117.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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.002832/1.277, allocations: 5.233 MB / 0.7087 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003615/1.281, allocations: 2.137 MB / 0.7108 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/1.281, allocations: 3.25 kB / 0.7108 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006854/1.281, allocations: 0.52 MB / 0.7113 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/1.283, allocations: 229.3 kB / 0.7116 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/1.295, allocations: 5.413 MB / 0.7168 GB, free: 111.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002342/1.297, allocations: 2.472 MB / 0.7193 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002514/1.3, allocations: 1.011 MB / 0.7202 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001251/1.301, allocations: 1.125 MB / 0.7213 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.332e-06/1.301, allocations: 0 / 0.7213 GB, free: 111.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07713/1.378, allocations: 39.28 MB / 0.7597 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/1.378, allocations: 145.7 kB / 0.7598 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.069/4.447, allocations: 3.906 kB / 0.7598 GB, free: 108.4 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat does not exist to compare? outputFormat=mat