Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009143/0.0009143, allocations: 170.4 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.607/1.607, allocations: 221.5 MB / 230.7 MB, free: 7.504 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008481/0.0008482, allocations: 89.84 kB / 281.6 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2066/0.2066, allocations: 44.15 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.163e-05/2.175e-05, allocations: 4 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1306, allocations: 61.93 MB / 0.4948 GB, free: 1.148 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4829/0.6135, allocations: 106.6 MB / 0.5989 GB, free: 5.699 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/0.6139, allocations: 75.95 kB / 0.599 GB, free: 5.625 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7248/1.339, allocations: 171 MB / 0.766 GB, free: 99.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.944e-06/1.339, allocations: 3.281 kB / 0.766 GB, free: 99.77 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004799/1.339, allocations: 175.6 kB / 0.7661 GB, free: 99.77 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: 3105 * Number of variables: 3105 Notification: Performance of Generate backend data structure: time 0.02838/1.368, allocations: 8.422 MB / 0.7744 GB, free: 95.81 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/1.368, allocations: 10.73 kB / 0.7744 GB, free: 95.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02069/1.388, allocations: 3.781 MB / 0.7781 GB, free: 94.53 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02556/1.414, allocations: 9.436 MB / 0.7873 GB, free: 89.48 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007373/1.415, allocations: 298.8 kB / 0.7876 GB, free: 89.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005194/1.42, allocations: 0.528 MB / 0.7881 GB, free: 89.24 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0224/1.442, allocations: 12.32 MB / 0.8001 GB, free: 76.91 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04152/1.484, allocations: 17.88 MB / 0.8176 GB, free: 57.54 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004281/1.484, allocations: 99.12 kB / 0.8177 GB, free: 57.45 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004281/1.489, allocations: 44 kB / 0.8177 GB, free: 57.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003054/1.492, allocations: 1.861 MB / 0.8195 GB, free: 55.54 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1128/1.605, allocations: 84.45 MB / 0.902 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3785/1.983, allocations: 2.706 MB / 0.9046 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002238/1.985, allocations: 1.304 MB / 0.9059 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001164/1.986, allocations: 31.09 kB / 0.9059 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.942e-05/1.986, allocations: 60.86 kB / 0.906 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=206): time 5.571e-06/1.986, allocations: 0 / 0.906 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=218): time 0.03883/2.025, allocations: 12.06 MB / 0.9178 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/2.025, allocations: 154.6 kB / 0.9179 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01253/2.037, allocations: 5.154 MB / 0.923 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004673/2.038, allocations: 26.83 kB / 0.923 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004893/2.043, allocations: 6.101 MB / 0.9289 GB, free: 112 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001418/2.044, allocations: 0.8557 MB / 0.9298 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008723/2.045, allocations: 0 / 0.9298 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005869/2.046, allocations: 0.6795 MB / 0.9304 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004928/2.051, allocations: 2.17 MB / 0.9326 GB, free: 111.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008114/2.059, allocations: 7.999 MB / 0.9404 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008988/2.068, allocations: 4.09 MB / 0.9444 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003235/2.068, allocations: 60.53 kB / 0.9444 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1171) (initialization): time 0.02477/2.093, allocations: 8.841 MB / 0.9531 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001842/2.093, allocations: 94.28 kB / 0.9531 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003107/2.093, allocations: 209.8 kB / 0.9533 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003631/2.094, allocations: 307.8 kB / 0.9536 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01074/2.105, allocations: 2.196 MB / 0.9558 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003968/2.105, allocations: 412.6 kB / 0.9562 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01244/2.117, allocations: 443.4 kB / 0.9566 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00248/2.12, allocations: 0.5534 MB / 0.9571 GB, free: 102.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * Number of states: 0 () * Number of discrete variables: 88 (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.torqueArrow.arrowLine.twoHeadedArrow,cutForce2b.torqueArrow.headAtOrigin,cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,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.torqueArrow.arrowLine.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,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.torqueArrow.arrowLine.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,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.torqueArrow.arrowLine.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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 (1147): * Single equations (assignments): 1144 * 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.003892/2.124, allocations: 0.6391 MB / 0.9578 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006586/2.131, allocations: 2.483 MB / 0.9602 GB, free: 101 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002554/2.133, allocations: 0.5335 MB / 0.9607 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003446/2.137, allocations: 0.6447 MB / 0.9613 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-05/2.137, allocations: 23.23 kB / 0.9614 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.837e-05/2.137, allocations: 0 / 0.9614 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.392e-05/2.137, allocations: 15.41 kB / 0.9614 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04053/2.177, allocations: 15.9 MB / 0.9769 GB, free: 93.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000115/2.178, allocations: 49.78 kB / 0.9769 GB, free: 93.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002408/2.18, allocations: 477.5 kB / 0.9774 GB, free: 93.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.535e-05/2.18, allocations: 74.8 kB / 0.9775 GB, free: 93.82 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003522/2.18, allocations: 64.59 kB / 0.9775 GB, free: 93.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.415e-05/2.181, allocations: 101.2 kB / 0.9776 GB, free: 93.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.202e-05/2.181, allocations: 72.78 kB / 0.9777 GB, free: 93.78 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009114/2.19, allocations: 12.66 MB / 0.9901 GB, free: 80.39 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003351/2.193, allocations: 0.6306 MB / 0.9907 GB, free: 79.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002302/2.195, allocations: 74.91 kB / 0.9908 GB, free: 79.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00531/2.201, allocations: 148.9 kB / 0.9909 GB, free: 79.94 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001009/2.202, allocations: 325.2 kB / 0.9912 GB, free: 79.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00038/2.202, allocations: 135.5 kB / 0.9913 GB, free: 79.79 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01024/2.213, allocations: 3.438 MB / 0.9947 GB, free: 78.57 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.52e-07/2.213, allocations: 0 / 0.9947 GB, free: 78.57 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01613/2.229, allocations: 1.329 MB / 0.996 GB, free: 78.56 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 221 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 251 * 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.01228/2.241, allocations: 22.78 MB / 1.018 GB, free: 55.98 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01228/2.253, allocations: 5.057 MB / 1.023 GB, free: 53.12 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.364e-05/2.253, allocations: 8.312 kB / 1.023 GB, free: 53.11 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002365/2.256, allocations: 1.163 MB / 1.024 GB, free: 52.07 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007813/2.264, allocations: 0.8248 MB / 1.025 GB, free: 51.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06101/2.325, allocations: 16.92 MB / 1.042 GB, free: 35.95 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01579/2.341, allocations: 6.227 MB / 1.048 GB, free: 31.42 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01443/2.355, allocations: 2.807 MB / 1.05 GB, free: 29.68 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008187/2.363, allocations: 4.038 MB / 1.054 GB, free: 25.93 MB / 0.5261 GB Notification: Performance of SimCode: time 1.403e-06/2.363, allocations: 7.938 kB / 1.054 GB, free: 25.92 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5837/2.947, allocations: 112.8 MB / 1.165 GB, free: 102 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001633/2.947, allocations: 146.3 kB / 1.165 GB, free: 101.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.301/9.249, allocations: 0 / 1.165 GB, free: 101.8 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat does not exist to compare? outputFormat=mat