Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002406/0.002411, allocations: 188.6 kB / 16.4 MB, free: 5.625 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.307/2.307, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001687/0.001687, allocations: 86.84 kB / 270.9 MB, free: 13.39 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2914/0.2914, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004779/0.0004783, allocations: 8 kB / 431.5 MB, free: 20.17 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1268, allocations: 58.87 MB / 490.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.4251/0.552, allocations: 46.75 MB / 0.5245 GB, free: 9.84 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02806/0.5801, allocations: 10.39 MB / 0.5346 GB, free: 9.383 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01122/0.5914, allocations: 218.2 kB / 0.5348 GB, free: 9.355 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009222/0.6006, allocations: 2.369 MB / 0.5372 GB, free: 8.922 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02788/0.6286, allocations: 6.663 MB / 0.5437 GB, free: 7.645 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003319/0.6319, allocations: 289.4 kB / 0.5439 GB, free: 7.574 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004524/0.6365, allocations: 1.577 MB / 0.5455 GB, free: 7.246 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007605/0.6442, allocations: 3.892 MB / 0.5493 GB, free: 6.02 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001787/0.646, allocations: 0.7088 MB / 0.55 GB, free: 5.777 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002224/0.6483, allocations: 0.9519 MB / 0.5509 GB, free: 5.418 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008238/0.6491, allocations: 123.2 kB / 0.551 GB, free: 5.418 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001998/0.6512, allocations: 0.5347 MB / 0.5515 GB, free: 5.293 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002187/0.6534, allocations: 1.226 MB / 0.5527 GB, free: 4.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001348/0.6548, allocations: 0.6806 MB / 0.5534 GB, free: 4.762 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006694/0.6615, allocations: 4.634 MB / 0.5579 GB, free: 2.195 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.6616, allocations: 0 / 0.5579 GB, free: 2.195 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.6616, allocations: 0 / 0.5579 GB, free: 2.195 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002269/0.6618, allocations: 0 / 0.5579 GB, free: 2.195 MB / 362.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.008945/0.6708, allocations: 3.139 MB / 0.561 GB, free: 212 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.6709, allocations: 9.656 kB / 0.561 GB, free: 212 kB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002089/0.673, allocations: 0.6407 MB / 0.5616 GB, free: 8 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01267/0.6857, allocations: 2.048 MB / 0.5636 GB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005752/0.6915, allocations: 1.618 MB / 0.5652 GB, free: 13.67 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002627/0.6918, allocations: 204.1 kB / 0.5654 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001346/0.6931, allocations: 267.2 kB / 0.5657 GB, free: 13.35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02391/0.7171, allocations: 8.395 MB / 0.5739 GB, free: 4.719 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001074/0.7172, allocations: 15.88 kB / 0.5739 GB, free: 4.703 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007506/0.718, allocations: 115.5 kB / 0.574 GB, free: 4.621 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00501/0.723, allocations: 1.767 MB / 0.5757 GB, free: 2.863 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02512/0.7482, allocations: 7.064 MB / 0.5826 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06301/0.8113, allocations: 25.95 MB / 0.6079 GB, free: 1.355 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009922/0.8212, allocations: 2.56 MB / 0.6104 GB, free: 14.67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01484/0.8361, allocations: 4.465 MB / 0.6148 GB, free: 10.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.014e-05/0.8363, allocations: 43.56 kB / 0.6148 GB, free: 10.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=120): time 5.921e-06/0.8363, allocations: 3.938 kB / 0.6148 GB, free: 10.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=120): time 0.0142/0.8505, allocations: 2.986 MB / 0.6178 GB, free: 7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.387e-05/0.8506, allocations: 60.41 kB / 0.6178 GB, free: 6.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005511/0.8561, allocations: 2.245 MB / 0.62 GB, free: 4.645 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002665/0.8565, allocations: 41.7 kB / 0.6201 GB, free: 4.598 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002531/0.859, allocations: 2.32 MB / 0.6223 GB, free: 2.273 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008749/0.8599, allocations: 464.7 kB / 0.6228 GB, free: 1.824 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003583/0.8603, allocations: 68 kB / 0.6228 GB, free: 1.758 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003969/0.8607, allocations: 474.9 kB / 0.6233 GB, free: 1.285 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003322/0.864, allocations: 1.108 MB / 0.6244 GB, free: 180 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006074/0.8702, allocations: 3.269 MB / 0.6276 GB, free: 11.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005214/0.8754, allocations: 1.89 MB / 0.6294 GB, free: 9.953 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.373e-05/0.8756, allocations: 20 kB / 0.6294 GB, free: 9.934 MB / 442.7 MB Notification: Performance of matching and sorting (n=484) (initialization): time 0.01308/0.8887, allocations: 4.246 MB / 0.6336 GB, free: 5.68 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.71e-05/0.8888, allocations: 36 kB / 0.6336 GB, free: 5.645 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001383/0.889, allocations: 76 kB / 0.6337 GB, free: 5.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001767/0.8891, allocations: 116 kB / 0.6338 GB, free: 5.457 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005373/0.8945, allocations: 0.811 MB / 0.6346 GB, free: 4.645 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002162/0.8948, allocations: 159.4 kB / 0.6347 GB, free: 4.488 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004241/0.8991, allocations: 0.4912 MB / 0.6352 GB, free: 3.992 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008624/0.9, allocations: 224 kB / 0.6354 GB, free: 3.773 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 347 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (450): * Single equations (assignments): 445 * 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.004855/0.9049, allocations: 1.708 MB / 0.6371 GB, free: 2.055 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005278/0.9054, allocations: 193.5 kB / 0.6373 GB, free: 1.863 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004612/0.91, allocations: 1.506 MB / 0.6387 GB, free: 356 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-05/0.9101, allocations: 18.45 kB / 0.6388 GB, free: 340 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.9101, allocations: 0 / 0.6388 GB, free: 340 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/0.9102, allocations: 7.969 kB / 0.6388 GB, free: 332 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0229/0.9331, allocations: 7.369 MB / 0.646 GB, free: 8.707 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-05/0.9332, allocations: 15.94 kB / 0.646 GB, free: 8.691 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001654/0.9348, allocations: 195.6 kB / 0.6462 GB, free: 8.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.844e-05/0.9349, allocations: 20 kB / 0.6462 GB, free: 8.48 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001648/0.9351, allocations: 39.98 kB / 0.6462 GB, free: 8.441 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.872e-05/0.9351, allocations: 23.94 kB / 0.6462 GB, free: 8.418 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.86e-05/0.9352, allocations: 27.86 kB / 0.6463 GB, free: 8.391 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006519/0.9417, allocations: 3.192 MB / 0.6494 GB, free: 4.57 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/0.9429, allocations: 333.9 kB / 0.6497 GB, free: 4.223 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006785/0.9436, allocations: 42.72 kB / 0.6497 GB, free: 4.184 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001755/0.9454, allocations: 47.88 kB / 0.6498 GB, free: 4.137 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003658/0.9458, allocations: 111.6 kB / 0.6499 GB, free: 4.027 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001606/0.946, allocations: 55.98 kB / 0.65 GB, free: 3.973 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004347/0.9504, allocations: 1.559 MB / 0.6515 GB, free: 2.398 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.9504, allocations: 0 / 0.6515 GB, free: 2.398 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005208/0.9556, allocations: 0.9238 MB / 0.6524 GB, free: 1.473 MB / 458.7 MB 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 () * Number of clocked 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.008132/0.9638, allocations: 7.689 MB / 0.6599 GB, free: 9.324 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007256/0.9711, allocations: 2.59 MB / 0.6624 GB, free: 6.754 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.96e-05/0.9712, allocations: 4 kB / 0.6624 GB, free: 6.75 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001991/0.9732, allocations: 0.6949 MB / 0.6631 GB, free: 6.055 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/0.9755, allocations: 295.4 kB / 0.6634 GB, free: 5.77 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3923/1.368, allocations: 65.35 MB / 0.7272 GB, free: 175.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006969/1.375, allocations: 2.897 MB / 0.73 GB, free: 175 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003661/1.379, allocations: 1.468 MB / 0.7315 GB, free: 174.9 MB / 0.5105 GB Notification: Performance of SimCode: time 2.104e-06/1.379, allocations: 1.375 kB / 0.7315 GB, free: 174.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.64/5.018, allocations: 57.73 MB / 0.7878 GB, free: 133.3 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat does not exist to compare? outputFormat=mat