Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",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.002457/0.002457, allocations: 183.1 kB / 13.19 MB, free: 2.129 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.215 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.0009061/0.000906, allocations: 90.59 kB / 267 MB, free: 9.289 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.4928/0.4928, allocations: 43.47 MB / 358.6 MB, free: 51.56 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.005e-05/5.027e-05, allocations: 0 / 425.4 MB, free: 8.117 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1455, allocations: 58.85 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4642/0.6098, allocations: 105.1 MB / 0.5756 GB, free: 0.6328 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.6101, allocations: 77.59 kB / 0.5756 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1708/0.7809, allocations: 66.58 MB / 0.6407 GB, free: 6.977 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.781, allocations: 0 / 0.6407 GB, free: 6.977 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000227/0.7812, allocations: 68 kB / 0.6407 GB, free: 6.91 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1331 * Number of variables: 1331 Notification: Performance of Generate backend data structure: time 0.0123/0.7935, allocations: 3.144 MB / 0.6438 GB, free: 3.711 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.238e-05/0.7936, allocations: 12.03 kB / 0.6438 GB, free: 3.699 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003508/0.7971, allocations: 0.6759 MB / 0.6445 GB, free: 3.012 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009702/0.8068, allocations: 1.937 MB / 0.6464 GB, free: 1.066 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006248/0.8131, allocations: 2.051 MB / 0.6484 GB, free: 14.97 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004202/0.8136, allocations: 283.4 kB / 0.6486 GB, free: 14.69 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002391/0.816, allocations: 369.3 kB / 0.649 GB, free: 14.33 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02388/0.8399, allocations: 8.073 MB / 0.6569 GB, free: 5.867 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001713/0.8401, allocations: 19.81 kB / 0.6569 GB, free: 5.848 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001778/0.8419, allocations: 179.8 kB / 0.6571 GB, free: 5.672 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001453/0.8434, allocations: 0.8066 MB / 0.6578 GB, free: 4.863 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01613/0.8595, allocations: 6.905 MB / 0.6646 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04718/0.9068, allocations: 27.63 MB / 0.6916 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3306/1.237, allocations: 2.515 MB / 0.694 GB, free: 114 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001673/1.239, allocations: 0.9526 MB / 0.695 GB, free: 114 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008722/1.248, allocations: 4.49 MB / 0.6993 GB, free: 113 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/1.248, allocations: 43.17 kB / 0.6994 GB, free: 113 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=120): time 4.399e-06/1.248, allocations: 0 / 0.6994 GB, free: 113 MB / 0.4948 GB Notification: Performance of matching and sorting (n=120): time 0.006311/1.254, allocations: 2.114 MB / 0.7014 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.048e-05/1.254, allocations: 60.06 kB / 0.7015 GB, free: 112.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002712/1.257, allocations: 1.981 MB / 0.7034 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.616e-05/1.257, allocations: 45.2 kB / 0.7035 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001117/1.258, allocations: 2.318 MB / 0.7057 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003721/1.259, allocations: 462.4 kB / 0.7062 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001294/1.259, allocations: 69.98 kB / 0.7063 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00023/1.259, allocations: 468.8 kB / 0.7067 GB, free: 111 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/1.261, allocations: 1.047 MB / 0.7077 GB, free: 111 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0024/1.263, allocations: 3.183 MB / 0.7108 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002176/1.265, allocations: 1.856 MB / 0.7126 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.265e-05/1.265, allocations: 22.78 kB / 0.7127 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=471) (initialization): time 0.005966/1.271, allocations: 4.149 MB / 0.7167 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.998e-05/1.271, allocations: 37.31 kB / 0.7168 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.606e-05/1.271, allocations: 77.91 kB / 0.7168 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001123/1.272, allocations: 116.6 kB / 0.7169 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002237/1.274, allocations: 0.8144 MB / 0.7177 GB, free: 107.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001117/1.274, allocations: 147.1 kB / 0.7179 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/1.276, allocations: 490.5 kB / 0.7183 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000258/1.277, allocations: 224.7 kB / 0.7186 GB, free: 107.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 345 * Number of states: 0 () * Number of discrete variables: 30 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[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],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.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 (447): * Single equations (assignments): 444 * 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.0004094/1.277, allocations: 387 kB / 0.7189 GB, free: 107.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002466/1.277, allocations: 194 kB / 0.7191 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/1.279, allocations: 1.483 MB / 0.7206 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-05/1.279, allocations: 13.62 kB / 0.7206 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/1.279, allocations: 7.781 kB / 0.7206 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/1.279, allocations: 7.031 kB / 0.7206 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01108/1.29, allocations: 7.358 MB / 0.7278 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.746e-05/1.291, allocations: 17.14 kB / 0.7278 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007559/1.291, allocations: 189.7 kB / 0.728 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.871e-05/1.291, allocations: 21.97 kB / 0.728 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.988e-05/1.291, allocations: 40.39 kB / 0.728 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.517e-05/1.291, allocations: 32.19 kB / 0.7281 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.394e-05/1.292, allocations: 22.09 kB / 0.7281 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002384/1.294, allocations: 3.149 MB / 0.7312 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005917/1.295, allocations: 333.8 kB / 0.7315 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/1.295, allocations: 40.11 kB / 0.7315 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007465/1.295, allocations: 49.09 kB / 0.7316 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/1.296, allocations: 112.7 kB / 0.7317 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.113e-05/1.296, allocations: 54.16 kB / 0.7317 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002585/1.298, allocations: 1.537 MB / 0.7332 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/1.298, allocations: 0 / 0.7332 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004381/1.303, allocations: 0.9285 MB / 0.7341 GB, free: 103.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 95 * 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.003874/1.307, allocations: 7.652 MB / 0.7416 GB, free: 96.36 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004069/1.311, allocations: 2.518 MB / 0.7441 GB, free: 95.52 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.799e-06/1.311, allocations: 0 / 0.7441 GB, free: 95.52 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008117/1.312, allocations: 0.679 MB / 0.7447 GB, free: 95.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/1.313, allocations: 291.2 kB / 0.745 GB, free: 95.19 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02046/1.334, allocations: 6.794 MB / 0.7516 GB, free: 92.37 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005348/1.339, allocations: 2.9 MB / 0.7545 GB, free: 91.17 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004177/1.343, allocations: 1.173 MB / 0.7556 GB, free: 91.07 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002355/1.346, allocations: 1.434 MB / 0.757 GB, free: 89.88 MB / 0.4948 GB Notification: Performance of SimCode: time 1.733e-06/1.346, allocations: 0 / 0.757 GB, free: 89.88 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07733/1.423, allocations: 47.65 MB / 0.8035 GB, free: 77.86 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001246/1.423, allocations: 155.3 kB / 0.8037 GB, free: 77.63 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.584/5.008, allocations: 4 kB / 0.8037 GB, free: 77.63 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat does not exist to compare? outputFormat=mat