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.001478/0.001479, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.671/1.671, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0009519/0.0009517, allocations: 94.8 kB / 270.2 MB, free: 13.36 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.234/0.234, allocations: 43.56 MB / 362.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000346/0.000346, allocations: 8 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1345, allocations: 58.86 MB / 490.3 MB, free: 8.598 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4453/0.5799, allocations: 102 MB / 0.5785 GB, free: 13.89 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.5802, allocations: 79.34 kB / 0.5786 GB, free: 13.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1347/0.7149, allocations: 55.25 MB / 0.6325 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.7149, allocations: 0 / 0.6325 GB, free: 13.99 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001139/0.7151, allocations: 52 kB / 0.6326 GB, free: 13.94 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.00817/0.7232, allocations: 2.735 MB / 0.6352 GB, free: 11.36 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.7233, allocations: 12.03 kB / 0.6352 GB, free: 11.35 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002291/0.7256, allocations: 0.5447 MB / 0.6358 GB, free: 11 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008109/0.7337, allocations: 1.825 MB / 0.6376 GB, free: 9.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00608/0.7398, allocations: 1.723 MB / 0.6392 GB, free: 7.734 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003114/0.7402, allocations: 217.7 kB / 0.6394 GB, free: 7.52 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001451/0.7417, allocations: 283.9 kB / 0.6397 GB, free: 7.242 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0172/0.7589, allocations: 6.641 MB / 0.6462 GB, free: 224 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-05/0.759, allocations: 15.88 kB / 0.6462 GB, free: 208 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004946/0.7595, allocations: 143.8 kB / 0.6464 GB, free: 64 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009929/0.7605, allocations: 0.6765 MB / 0.647 GB, free: 15.38 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01202/0.7725, allocations: 5.81 MB / 0.6527 GB, free: 9.555 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03296/0.8055, allocations: 23.14 MB / 0.6753 GB, free: 1.746 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00461/0.8102, allocations: 2.245 MB / 0.6775 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007706/0.8179, allocations: 3.762 MB / 0.6812 GB, free: 11.47 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.818, allocations: 43.11 kB / 0.6812 GB, free: 11.42 MB / 490.7 MB Notification: Performance of pre-optimization done (n=93): time 4.819e-06/0.818, allocations: 0 / 0.6812 GB, free: 11.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=93): time 0.005551/0.8236, allocations: 2.441 MB / 0.6836 GB, free: 8.918 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.8237, allocations: 63.92 kB / 0.6836 GB, free: 8.844 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002715/0.8264, allocations: 1.799 MB / 0.6854 GB, free: 7.047 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.552e-05/0.8265, allocations: 37.7 kB / 0.6854 GB, free: 7.004 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001294/0.8278, allocations: 1.957 MB / 0.6873 GB, free: 5.016 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003335/0.8281, allocations: 367.3 kB / 0.6877 GB, free: 4.652 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.8282, allocations: 60 kB / 0.6878 GB, free: 4.594 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002322/0.8285, allocations: 444.7 kB / 0.6882 GB, free: 4.152 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00134/0.8298, allocations: 0.9274 MB / 0.6891 GB, free: 3.223 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002498/0.8323, allocations: 2.853 MB / 0.6919 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00201/0.8344, allocations: 1.63 MB / 0.6935 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.541e-05/0.8344, allocations: 16 kB / 0.6935 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=412) (initialization): time 0.005452/0.8399, allocations: 3.691 MB / 0.6971 GB, free: 10.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.393e-05/0.8399, allocations: 35.44 kB / 0.6971 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.153e-05/0.84, allocations: 68 kB / 0.6972 GB, free: 9.961 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.973e-05/0.8401, allocations: 100 kB / 0.6973 GB, free: 9.863 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001983/0.8421, allocations: 0.7135 MB / 0.698 GB, free: 9.148 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001146/0.8422, allocations: 139.4 kB / 0.6981 GB, free: 9.012 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/0.8443, allocations: 435.5 kB / 0.6985 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002331/0.8446, allocations: 192 kB / 0.6987 GB, free: 8.395 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 () * Number of clocked 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.002363/0.8469, allocations: 1.423 MB / 0.7001 GB, free: 6.961 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002759/0.8472, allocations: 169.8 kB / 0.7003 GB, free: 6.793 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/0.8491, allocations: 1.193 MB / 0.7014 GB, free: 5.578 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.01e-05/0.8491, allocations: 11.98 kB / 0.7014 GB, free: 5.566 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.8491, allocations: 0 / 0.7014 GB, free: 5.566 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.8491, allocations: 3.984 kB / 0.7014 GB, free: 5.562 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008164/0.8573, allocations: 4.986 MB / 0.7063 GB, free: 400 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/0.8574, allocations: 16.91 kB / 0.7063 GB, free: 384 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005292/0.8579, allocations: 127.8 kB / 0.7064 GB, free: 256 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-05/0.8579, allocations: 20 kB / 0.7065 GB, free: 236 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.834e-05/0.858, allocations: 24 kB / 0.7065 GB, free: 212 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.475e-05/0.858, allocations: 19.92 kB / 0.7065 GB, free: 192 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.317e-05/0.858, allocations: 11.94 kB / 0.7065 GB, free: 180 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2745/1.133, allocations: 2.191 MB / 0.7087 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005168/1.133, allocations: 274 kB / 0.7089 GB, free: 139 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/1.133, allocations: 28.28 kB / 0.7089 GB, free: 139 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005882/1.134, allocations: 34.53 kB / 0.709 GB, free: 139 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/1.134, allocations: 77.72 kB / 0.709 GB, free: 139 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.886e-05/1.134, allocations: 40.22 kB / 0.7091 GB, free: 139 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002117/1.136, allocations: 1.313 MB / 0.7104 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/1.136, allocations: 0 / 0.7104 GB, free: 138.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002945/1.139, allocations: 0.754 MB / 0.7111 GB, free: 138.7 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 () * Number of clocked 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.002708/1.142, allocations: 5.261 MB / 0.7162 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004229/1.146, allocations: 2.164 MB / 0.7184 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/1.146, allocations: 1.25 kB / 0.7184 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008315/1.147, allocations: 0.5379 MB / 0.7189 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/1.148, allocations: 234.5 kB / 0.7191 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03713/1.185, allocations: 63.58 MB / 0.7812 GB, free: 79.59 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002311/1.188, allocations: 2.464 MB / 0.7836 GB, free: 78.84 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002435/1.19, allocations: 1.024 MB / 0.7846 GB, free: 78.75 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/1.191, allocations: 1.119 MB / 0.7857 GB, free: 78.75 MB / 0.4948 GB Notification: Performance of SimCode: time 1.232e-06/1.191, allocations: 0 / 0.7857 GB, free: 78.75 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06568/1.257, allocations: 38.91 MB / 0.8237 GB, free: 67.33 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001447/1.257, allocations: 177 kB / 0.8239 GB, free: 67.08 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.982/4.24, allocations: 4.062 kB / 0.8239 GB, free: 67.08 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