Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.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.CutForce,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForce",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.00144/0.001439, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.181/2.181, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00128/0.00128, allocations: 89 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2995/0.2995, allocations: 43.49 MB / 353.6 MB, free: 2.285 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.058e-05/2.017e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.4171, allocations: 58.86 MB / 477.2 MB, free: 5.164 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1969/0.6141, allocations: 104.2 MB / 0.5678 GB, free: 10.97 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002877/0.6144, allocations: 75.97 kB / 0.5678 GB, free: 10.9 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.9779/1.592, allocations: 155.5 MB / 0.7197 GB, free: 87.75 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.414e-06/1.592, allocations: 0 / 0.7197 GB, free: 87.75 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0004462/1.593, allocations: 152 kB / 0.7199 GB, free: 87.6 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.03028/1.623, allocations: 7.751 MB / 0.7274 GB, free: 79.79 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/1.623, allocations: 8.031 kB / 0.7274 GB, free: 79.78 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03113/1.654, allocations: 3.628 MB / 0.731 GB, free: 76.13 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03368/1.688, allocations: 9.554 MB / 0.7403 GB, free: 66.59 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005868/1.689, allocations: 264 kB / 0.7406 GB, free: 66.33 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004592/1.693, allocations: 476.9 kB / 0.741 GB, free: 65.87 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03003/1.723, allocations: 11.17 MB / 0.7519 GB, free: 54.69 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04551/1.769, allocations: 16.33 MB / 0.7679 GB, free: 36.86 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006183/1.77, allocations: 87.22 kB / 0.768 GB, free: 36.78 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004226/1.774, allocations: 44 kB / 0.768 GB, free: 36.73 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004609/1.779, allocations: 1.793 MB / 0.7697 GB, free: 34.94 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9081/2.687, allocations: 79.78 MB / 0.8477 GB, free: 67.21 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007548/2.694, allocations: 2.98 MB / 0.8506 GB, free: 66.54 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003906/2.698, allocations: 1.409 MB / 0.8519 GB, free: 66.5 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002367/2.699, allocations: 41.08 kB / 0.852 GB, free: 66.5 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.672e-05/2.699, allocations: 65.67 kB / 0.852 GB, free: 66.46 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=232): time 8.165e-06/2.699, allocations: 3.844 kB / 0.852 GB, free: 66.46 MB / 0.4953 GB Notification: Performance of matching and sorting (n=244): time 0.04865/2.747, allocations: 11.46 MB / 0.8632 GB, free: 62.17 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.764e-05/2.748, allocations: 155.8 kB / 0.8634 GB, free: 62.01 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01584/2.763, allocations: 5.047 MB / 0.8683 GB, free: 61.52 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 0.0005762/2.764, allocations: 25.7 kB / 0.8683 GB, free: 61.49 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 0.00519/2.769, allocations: 5.526 MB / 0.8737 GB, free: 58.3 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 0.001681/2.771, allocations: 0.9254 MB / 0.8746 GB, free: 57.78 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001351/2.772, allocations: 0 / 0.8746 GB, free: 57.78 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 0.000964/2.773, allocations: 0.6954 MB / 0.8753 GB, free: 57.45 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006418/2.78, allocations: 2.252 MB / 0.8775 GB, free: 57.42 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01031/2.79, allocations: 8.02 MB / 0.8854 GB, free: 49.88 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009793/2.8, allocations: 4.175 MB / 0.8894 GB, free: 49.85 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002725/2.8, allocations: 61.84 kB / 0.8895 GB, free: 49.85 MB / 0.4953 GB Notification: Performance of matching and sorting (n=1185) (initialization): time 0.0247/2.825, allocations: 8.797 MB / 0.8981 GB, free: 49.22 MB / 0.4953 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001772/2.825, allocations: 93.34 kB / 0.8982 GB, free: 49.22 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003658/2.826, allocations: 209.9 kB / 0.8984 GB, free: 49.22 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003687/2.826, allocations: 304.1 kB / 0.8987 GB, free: 49.22 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01442/2.84, allocations: 2.243 MB / 0.9008 GB, free: 49.02 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003898/2.841, allocations: 405.8 kB / 0.9012 GB, free: 48.94 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01199/2.853, allocations: 450.7 kB / 0.9017 GB, free: 48.92 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002307/2.855, allocations: 0.5603 MB / 0.9022 GB, free: 48.92 MB / 0.4953 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 951 * Number of states: 0 () * Number of discrete variables: 60 (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.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.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.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.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 (1161): * Single equations (assignments): 1158 * 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.002887/2.858, allocations: 0.6198 MB / 0.9028 GB, free: 48.43 MB / 0.4953 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006915/2.865, allocations: 2.688 MB / 0.9054 GB, free: 47.4 MB / 0.4953 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001698/2.867, allocations: 0.5343 MB / 0.906 GB, free: 47.1 MB / 0.4953 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006682/2.874, allocations: 2.413 MB / 0.9083 GB, free: 46.2 MB / 0.4953 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.045e-05/2.874, allocations: 25.55 kB / 0.9083 GB, free: 46.2 MB / 0.4953 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.54e-05/2.874, allocations: 0 / 0.9083 GB, free: 46.2 MB / 0.4953 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.632e-05/2.874, allocations: 19.28 kB / 0.9084 GB, free: 46.2 MB / 0.4953 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05391/2.928, allocations: 22.99 MB / 0.9308 GB, free: 34.86 MB / 0.4953 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001313/2.928, allocations: 48 kB / 0.9309 GB, free: 34.81 MB / 0.4953 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003551/2.931, allocations: 0.489 MB / 0.9313 GB, free: 34.39 MB / 0.4953 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.268e-05/2.932, allocations: 72 kB / 0.9314 GB, free: 34.32 MB / 0.4953 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005223/2.932, allocations: 70.48 kB / 0.9315 GB, free: 34.25 MB / 0.4953 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.239e-05/2.932, allocations: 93.52 kB / 0.9316 GB, free: 34.18 MB / 0.4953 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.972e-05/2.932, allocations: 79.64 kB / 0.9316 GB, free: 34.1 MB / 0.4953 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009792/2.942, allocations: 12.62 MB / 0.944 GB, free: 19.34 MB / 0.4953 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00229/2.944, allocations: 0.6219 MB / 0.9446 GB, free: 18.72 MB / 0.4953 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002018/2.946, allocations: 70.55 kB / 0.9446 GB, free: 18.66 MB / 0.4953 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005367/2.952, allocations: 156.2 kB / 0.9448 GB, free: 18.55 MB / 0.4953 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008746/2.953, allocations: 314.4 kB / 0.9451 GB, free: 18.3 MB / 0.4953 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002991/2.953, allocations: 142 kB / 0.9452 GB, free: 18.17 MB / 0.4953 GB Notification: Performance of sorting global known variables: time 0.008966/2.962, allocations: 3.396 MB / 0.9485 GB, free: 15.23 MB / 0.4953 GB Notification: Performance of sort global known variables: time 5.21e-07/2.962, allocations: 3.844 kB / 0.9485 GB, free: 15.23 MB / 0.4953 GB Notification: Performance of remove unused functions: time 0.01235/2.975, allocations: 1.281 MB / 0.9498 GB, free: 13.96 MB / 0.4953 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 216 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (252): * Single equations (assignments): 249 * 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.01619/2.991, allocations: 22.66 MB / 0.9719 GB, free: 6.105 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.01528/3.006, allocations: 5.283 MB / 0.9771 GB, free: 1.336 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 5.636e-05/3.006, allocations: 8 kB / 0.9771 GB, free: 1.328 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.003547/3.01, allocations: 1.297 MB / 0.9783 GB, free: 188 kB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007647/3.017, allocations: 0.7246 MB / 0.9791 GB, free: 15.63 MB / 0.5265 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0619/3.079, allocations: 16.76 MB / 0.9954 GB, free: 428 kB / 0.5265 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01891/3.098, allocations: 5.845 MB / 1.001 GB, free: 12.58 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01036/3.109, allocations: 3.735 MB / 1.005 GB, free: 9.109 MB / 0.5421 GB Notification: Performance of SimCode: time 1.383e-06/3.109, allocations: 4 kB / 1.005 GB, free: 9.105 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.358/8.467, allocations: 134.7 MB / 1.136 GB, free: 139.9 MB / 0.5734 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForce_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForce.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat