Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.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.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",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.001617/0.001617, allocations: 180.7 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 221.3 MB / 236 MB, free: 2.938 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.0009467/0.0009469, allocations: 95.62 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2147/0.2147, allocations: 44.16 MB / 382.1 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.391e-05/4.439e-05, allocations: 224 / 451.9 MB, free: 9.336 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1486, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5055/0.6542, allocations: 105.1 MB / 0.6044 GB, free: 112 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/0.6545, allocations: 79.94 kB / 0.6045 GB, free: 32 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1527/0.8072, allocations: 60.92 MB / 0.664 GB, free: 2.758 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.8073, allocations: 0 / 0.664 GB, free: 2.758 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000112/0.8074, allocations: 60 kB / 0.6641 GB, free: 2.699 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1183 * Number of variables: 1183 Notification: Performance of Generate backend data structure: time 0.008364/0.8158, allocations: 2.885 MB / 0.6669 GB, free: 15.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.8159, allocations: 8.031 kB / 0.6669 GB, free: 15.75 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001469/0.8173, allocations: 0.6135 MB / 0.6675 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007657/0.825, allocations: 1.875 MB / 0.6693 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005248/0.8303, allocations: 1.891 MB / 0.6712 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002666/0.8306, allocations: 254.7 kB / 0.6714 GB, free: 11.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001519/0.8321, allocations: 331.9 kB / 0.6717 GB, free: 10.72 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01701/0.8492, allocations: 7.268 MB / 0.6788 GB, free: 3.082 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-05/0.8493, allocations: 15.88 kB / 0.6788 GB, free: 3.066 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006186/0.8499, allocations: 151.9 kB / 0.679 GB, free: 2.918 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001063/0.851, allocations: 0.7043 MB / 0.6797 GB, free: 2.211 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01413/0.8651, allocations: 6.183 MB / 0.6857 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0422/0.9074, allocations: 25.05 MB / 0.7102 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3791/1.287, allocations: 2.178 MB / 0.7123 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001738/1.288, allocations: 0.7559 MB / 0.713 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008385/1.297, allocations: 3.923 MB / 0.7169 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/1.297, allocations: 41.77 kB / 0.7169 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=87): time 3.166e-06/1.297, allocations: 1.094 kB / 0.7169 GB, free: 140.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=87): time 0.00595/1.303, allocations: 1.796 MB / 0.7187 GB, free: 140 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/1.303, allocations: 59.59 kB / 0.7187 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003382/1.306, allocations: 1.847 MB / 0.7205 GB, free: 139.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.113e-05/1.306, allocations: 34.7 kB / 0.7206 GB, free: 139.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001645/1.308, allocations: 2.118 MB / 0.7226 GB, free: 138.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003328/1.308, allocations: 345.3 kB / 0.723 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/1.308, allocations: 62.94 kB / 0.723 GB, free: 138.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002448/1.309, allocations: 442 kB / 0.7234 GB, free: 138.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001554/1.31, allocations: 0.8817 MB / 0.7243 GB, free: 138.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00378/1.314, allocations: 2.822 MB / 0.7271 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003326/1.317, allocations: 1.616 MB / 0.7286 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.173e-05/1.317, allocations: 19.81 kB / 0.7287 GB, free: 135.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=409) (initialization): time 0.00798/1.325, allocations: 3.606 MB / 0.7322 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.842e-05/1.326, allocations: 34.25 kB / 0.7322 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001357/1.326, allocations: 73.64 kB / 0.7323 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001996/1.326, allocations: 105.2 kB / 0.7324 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002659/1.329, allocations: 0.6968 MB / 0.7331 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001981/1.329, allocations: 137.9 kB / 0.7332 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002793/1.332, allocations: 432.3 kB / 0.7336 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003958/1.332, allocations: 192.5 kB / 0.7338 GB, free: 135.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 316 * Number of states: 0 () * Number of discrete variables: 34 (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.torqueArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.torqueArrow.headAtOrigin,cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceArrow.arrowLine.twoHeadedArrow,cutForceAndTorque.forceArrow.headAtOrigin,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 (385): * Single equations (assignments): 382 * 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.0004954/1.333, allocations: 360.7 kB / 0.7341 GB, free: 134.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003569/1.333, allocations: 170.1 kB / 0.7343 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006078/1.334, allocations: 220.8 kB / 0.7345 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.97e-05/1.334, allocations: 15.28 kB / 0.7345 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.203e-05/1.334, allocations: 0 / 0.7345 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/1.334, allocations: 4.766 kB / 0.7345 GB, free: 134.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00976/1.343, allocations: 5.074 MB / 0.7395 GB, free: 134 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/1.343, allocations: 11.03 kB / 0.7395 GB, free: 134 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004213/1.344, allocations: 114.6 kB / 0.7396 GB, free: 134 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-05/1.344, allocations: 11.84 kB / 0.7396 GB, free: 134 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.86e-05/1.344, allocations: 23.28 kB / 0.7396 GB, free: 134 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.084e-05/1.344, allocations: 21.89 kB / 0.7396 GB, free: 134 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.597e-06/1.344, allocations: 15.28 kB / 0.7397 GB, free: 134 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001728/1.346, allocations: 1.992 MB / 0.7416 GB, free: 132.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005078/1.346, allocations: 302.4 kB / 0.7419 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/1.346, allocations: 22.09 kB / 0.7419 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005397/1.347, allocations: 36.64 kB / 0.742 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.397e-05/1.347, allocations: 61.03 kB / 0.742 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.976e-05/1.347, allocations: 37.61 kB / 0.742 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001824/1.349, allocations: 1.435 MB / 0.7434 GB, free: 132 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/1.349, allocations: 0 / 0.7434 GB, free: 132 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003411/1.352, allocations: 0.8208 MB / 0.7443 GB, free: 131.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 60 * 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.002442/1.355, allocations: 4.662 MB / 0.7488 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003376/1.358, allocations: 2.092 MB / 0.7508 GB, free: 127 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/1.358, allocations: 0 / 0.7508 GB, free: 127 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005808/1.359, allocations: 0.4945 MB / 0.7513 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/1.36, allocations: 264.5 kB / 0.7516 GB, free: 126.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/1.373, allocations: 5.805 MB / 0.7573 GB, free: 124.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00274/1.375, allocations: 2.668 MB / 0.7599 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002447/1.378, allocations: 1.045 MB / 0.7609 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001313/1.379, allocations: 1.267 MB / 0.7621 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.112e-06/1.379, allocations: 0 / 0.7621 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07391/1.453, allocations: 42.24 MB / 0.8034 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001562/1.453, allocations: 159.6 kB / 0.8035 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.139/4.593, allocations: 0 / 0.8035 GB, free: 101.4 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat does not exist to compare? outputFormat=mat