Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001538/0.001538, allocations: 183.9 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.044/2.044, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001193/0.001193, allocations: 105.4 kB / 270.9 MB, free: 8.355 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.5285/0.5285, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007007/0.0007009, allocations: 16 kB / 431.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1602, allocations: 58.84 MB / 490.3 MB, free: 11.14 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.4545/0.6148, allocations: 32.99 MB / 0.511 GB, free: 27.03 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02765/0.6425, allocations: 7.588 MB / 0.5184 GB, free: 21.89 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009866/0.6524, allocations: 152.3 kB / 0.5186 GB, free: 21.87 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008073/0.6605, allocations: 1.671 MB / 0.5202 GB, free: 21.33 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02551/0.6861, allocations: 4.781 MB / 0.5249 GB, free: 19.11 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002999/0.6892, allocations: 222.8 kB / 0.5251 GB, free: 19.01 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005013/0.6942, allocations: 1.349 MB / 0.5264 GB, free: 18.44 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007993/0.7023, allocations: 2.99 MB / 0.5293 GB, free: 17.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001747/0.7041, allocations: 0.5883 MB / 0.5299 GB, free: 17.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002175/0.7063, allocations: 0.7664 MB / 0.5307 GB, free: 16.76 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007506/0.7071, allocations: 95.78 kB / 0.5307 GB, free: 16.76 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002227/0.7093, allocations: 0.5134 MB / 0.5313 GB, free: 16.65 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00206/0.7115, allocations: 0.9716 MB / 0.5322 GB, free: 16.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.7127, allocations: 0.5515 MB / 0.5327 GB, free: 15.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007385/0.7201, allocations: 3.613 MB / 0.5363 GB, free: 15.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.7202, allocations: 0 / 0.5363 GB, free: 15.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.417e-06/0.7202, allocations: 4 kB / 0.5363 GB, free: 15.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001994/0.7204, allocations: 0 / 0.5363 GB, free: 15.2 MB / 378.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.01102/0.7315, allocations: 2.614 MB / 0.5388 GB, free: 13.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.7315, allocations: 10.03 kB / 0.5388 GB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002405/0.734, allocations: 0.5126 MB / 0.5393 GB, free: 13.37 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0181/0.7521, allocations: 1.932 MB / 0.5412 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006567/0.7587, allocations: 1.362 MB / 0.5425 GB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003211/0.7591, allocations: 161 kB / 0.5427 GB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00171/0.7609, allocations: 198.3 kB / 0.5429 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02739/0.7883, allocations: 6.803 MB / 0.5495 GB, free: 8.848 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001349/0.7885, allocations: 22.31 kB / 0.5496 GB, free: 8.832 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001019/0.7895, allocations: 100 kB / 0.5497 GB, free: 8.758 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006182/0.7957, allocations: 1.477 MB / 0.5511 GB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02573/0.8215, allocations: 5.826 MB / 0.5568 GB, free: 5.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06758/0.8891, allocations: 21.63 MB / 0.5779 GB, free: 15.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01245/0.9017, allocations: 2.259 MB / 0.5801 GB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01739/0.9191, allocations: 3.763 MB / 0.5838 GB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.561e-05/0.9193, allocations: 43.12 kB / 0.5838 GB, free: 9.398 MB / 410.7 MB Notification: Performance of pre-optimization done (n=93): time 5.821e-06/0.9193, allocations: 0 / 0.5838 GB, free: 9.398 MB / 410.7 MB Notification: Performance of matching and sorting (n=93): time 0.01676/0.9361, allocations: 2.453 MB / 0.5862 GB, free: 6.883 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/0.9362, allocations: 59.97 kB / 0.5863 GB, free: 6.812 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007/0.9432, allocations: 2.016 MB / 0.5882 GB, free: 4.797 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000251/0.9435, allocations: 37.7 kB / 0.5883 GB, free: 4.754 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002861/0.9464, allocations: 1.979 MB / 0.5902 GB, free: 2.746 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008992/0.9474, allocations: 355.4 kB / 0.5906 GB, free: 2.395 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004775/0.9479, allocations: 71.92 kB / 0.5906 GB, free: 2.324 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005333/0.9484, allocations: 453.8 kB / 0.5911 GB, free: 1.871 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004357/0.9528, allocations: 0.951 MB / 0.592 GB, free: 0.918 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006852/0.9597, allocations: 2.895 MB / 0.5948 GB, free: 13.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006444/0.9662, allocations: 1.674 MB / 0.5964 GB, free: 11.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.495e-05/0.9664, allocations: 24 kB / 0.5965 GB, free: 11.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.01593/0.9824, allocations: 3.703 MB / 0.6001 GB, free: 7.652 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.9825, allocations: 32 kB / 0.6001 GB, free: 7.621 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001661/0.9827, allocations: 72 kB / 0.6002 GB, free: 7.551 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002165/0.9829, allocations: 104 kB / 0.6003 GB, free: 7.449 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006722/0.9897, allocations: 0.7096 MB / 0.601 GB, free: 6.738 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002532/0.99, allocations: 135.5 kB / 0.6011 GB, free: 6.605 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005217/0.9952, allocations: 447.7 kB / 0.6015 GB, free: 6.164 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008781/0.9962, allocations: 208 kB / 0.6017 GB, free: 5.961 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * 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 (391): * Single equations (assignments): 386 * Array equations: 5 * 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.005398/1.002, allocations: 1.427 MB / 0.6031 GB, free: 4.523 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006129/1.002, allocations: 169.8 kB / 0.6033 GB, free: 4.355 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004873/1.007, allocations: 1.189 MB / 0.6044 GB, free: 3.152 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.408e-05/1.007, allocations: 15.95 kB / 0.6045 GB, free: 3.137 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/1.007, allocations: 0 / 0.6045 GB, free: 3.137 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/1.007, allocations: 3.984 kB / 0.6045 GB, free: 3.133 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02142/1.029, allocations: 4.971 MB / 0.6093 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.08e-05/1.029, allocations: 8 kB / 0.6093 GB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001839/1.031, allocations: 135.9 kB / 0.6095 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.403e-05/1.031, allocations: 12 kB / 0.6095 GB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002436/1.031, allocations: 31.98 kB / 0.6095 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.589e-05/1.031, allocations: 15.94 kB / 0.6095 GB, free: 13.78 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-05/1.031, allocations: 16.72 kB / 0.6095 GB, free: 13.76 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006233/1.038, allocations: 2.188 MB / 0.6117 GB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/1.039, allocations: 274.4 kB / 0.6119 GB, free: 10.83 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007149/1.039, allocations: 31.98 kB / 0.612 GB, free: 10.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001791/1.041, allocations: 43.88 kB / 0.612 GB, free: 10.75 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003267/1.042, allocations: 75.66 kB / 0.6121 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001769/1.042, allocations: 39.98 kB / 0.6121 GB, free: 10.64 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004949/1.047, allocations: 1.312 MB / 0.6134 GB, free: 9.305 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.52e-07/1.047, allocations: 3.938 kB / 0.6134 GB, free: 9.301 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006525/1.053, allocations: 0.7466 MB / 0.6141 GB, free: 8.551 MB / 442.7 MB 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.008042/1.062, allocations: 5.256 MB / 0.6193 GB, free: 2.996 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008672/1.07, allocations: 2.205 MB / 0.6214 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.655e-05/1.07, allocations: 256 / 0.6214 GB, free: 0.8125 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002143/1.072, allocations: 0.5406 MB / 0.6219 GB, free: 280 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002694/1.075, allocations: 240.7 kB / 0.6222 GB, free: 40 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06125/1.137, allocations: 58.05 MB / 0.6789 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007596/1.144, allocations: 2.468 MB / 0.6813 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004272/1.149, allocations: 1.163 MB / 0.6824 GB, free: 0.5039 MB / 0.4948 GB Notification: Performance of SimCode: time 1.914e-06/1.149, allocations: 3.938 kB / 0.6824 GB, free: 0.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.642/4.791, allocations: 47.24 MB / 0.7285 GB, free: 144.9 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat does not exist to compare? outputFormat=mat