Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.conf.json 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/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009678/0.0009678, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001035, allocations: 172.5 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 205.4 MB / 222.8 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3434/0.3434, allocations: 43.54 MB / 314.6 MB, free: 9.004 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000547/0.0005471, allocations: 12 kB / 384 MB, free: 8.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1148, allocations: 58.87 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.308/0.4229, allocations: 120.9 MB / 0.5506 GB, free: 15.47 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.06194/0.4849, allocations: 23.65 MB / 0.5737 GB, free: 10.15 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03106/0.516, allocations: 0.5612 MB / 0.5743 GB, free: 9.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02379/0.5398, allocations: 6.454 MB / 0.5806 GB, free: 3.105 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05579/0.5956, allocations: 18.72 MB / 0.5988 GB, free: 328 kB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008923/0.6046, allocations: 1.408 MB / 0.6002 GB, free: 14.91 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0156/0.6202, allocations: 11.31 MB / 0.6113 GB, free: 3.582 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02033/0.6406, allocations: 11.46 MB / 0.6224 GB, free: 8.074 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007444/0.6481, allocations: 3.106 MB / 0.6255 GB, free: 4.957 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0091/0.6573, allocations: 4.775 MB / 0.6301 GB, free: 172 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.2981/0.9554, allocations: 377.5 kB / 0.6305 GB, free: 17.12 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005989/0.9614, allocations: 1.034 MB / 0.6315 GB, free: 17.12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006054/0.9675, allocations: 4.22 MB / 0.6356 GB, free: 17.12 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003245/0.9708, allocations: 1.962 MB / 0.6376 GB, free: 17.09 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01595/0.9867, allocations: 13.14 MB / 0.6504 GB, free: 16.24 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.9868, allocations: 0 / 0.6504 GB, free: 16.24 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.9868, allocations: 0 / 0.6504 GB, free: 16.24 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0007318/0.9875, allocations: 0 / 0.6504 GB, free: 16.24 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3665 * Number of variables: 3665 Notification: Performance of Generate backend data structure: time 0.02718/1.015, allocations: 9.439 MB / 0.6596 GB, free: 12.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/1.015, allocations: 12.78 kB / 0.6596 GB, free: 12.21 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007145/1.022, allocations: 1.705 MB / 0.6613 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01544/1.037, allocations: 3.123 MB / 0.6643 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01594/1.053, allocations: 7.19 MB / 0.6714 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007323/1.054, allocations: 0.5964 MB / 0.6719 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003944/1.058, allocations: 0.7676 MB / 0.6727 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05215/1.11, allocations: 24.46 MB / 0.6966 GB, free: 4.746 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007022/1.111, allocations: 76.53 kB / 0.6966 GB, free: 4.742 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003851/1.115, allocations: 369.3 kB / 0.697 GB, free: 4.742 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006436/1.121, allocations: 4.541 MB / 0.7014 GB, free: 3.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04336/1.165, allocations: 19.15 MB / 0.7201 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1314/1.296, allocations: 85.71 MB / 0.8038 GB, free: 1.82 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02565/1.322, allocations: 7.823 MB / 0.8115 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008613/1.33, allocations: 3.107 MB / 0.8145 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03752/1.368, allocations: 13.12 MB / 0.8273 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.213e-05/1.368, allocations: 67.31 kB / 0.8274 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=336): time 7.244e-06/1.368, allocations: 0 / 0.8274 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of matching and sorting (n=360): time 0.06046/1.429, allocations: 20.74 MB / 0.8476 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/1.429, allocations: 170.9 kB / 0.8478 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01731/1.446, allocations: 7.406 MB / 0.855 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0009212/1.447, allocations: 84.36 kB / 0.8551 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.2763/1.723, allocations: 6.783 MB / 0.8617 GB, free: 254 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001458/1.725, allocations: 1.363 MB / 0.8631 GB, free: 253.2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007581/1.726, allocations: 215.8 kB / 0.8633 GB, free: 253.2 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0004675/1.726, allocations: 0.7721 MB / 0.864 GB, free: 252.9 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004872/1.731, allocations: 3.234 MB / 0.8672 GB, free: 252.8 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008729/1.74, allocations: 9.841 MB / 0.8768 GB, free: 244.3 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01069/1.751, allocations: 5.439 MB / 0.8821 GB, free: 242.9 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004369/1.751, allocations: 66.09 kB / 0.8822 GB, free: 242.9 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.03005/1.781, allocations: 12.76 MB / 0.8946 GB, free: 237.9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003002/1.781, allocations: 108 kB / 0.8947 GB, free: 237.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004615/1.782, allocations: 232.7 kB / 0.895 GB, free: 237.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004776/1.782, allocations: 342.6 kB / 0.8953 GB, free: 237.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008712/1.791, allocations: 2.557 MB / 0.8978 GB, free: 237.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00043/1.792, allocations: 459.9 kB / 0.8982 GB, free: 237.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008299/1.8, allocations: 0.5168 MB / 0.8987 GB, free: 237.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00204/1.802, allocations: 0.6582 MB / 0.8994 GB, free: 237.2 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1063 * Number of states: 0 () * Number of discrete variables: 72 (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.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[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.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[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.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[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.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1377): * Single equations (assignments): 1366 * Array equations: 11 * 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.01177/1.814, allocations: 4.533 MB / 0.9038 GB, free: 235.2 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00152/1.815, allocations: 0.6608 MB / 0.9044 GB, free: 234.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007659/1.823, allocations: 4.085 MB / 0.9084 GB, free: 233.1 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.434e-05/1.823, allocations: 47.2 kB / 0.9085 GB, free: 233.1 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/1.823, allocations: 0 / 0.9085 GB, free: 233.1 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.471e-05/1.823, allocations: 22.22 kB / 0.9085 GB, free: 233.1 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05466/1.878, allocations: 42.04 MB / 0.9496 GB, free: 201.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001339/1.878, allocations: 92 kB / 0.9496 GB, free: 201.7 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002609/1.881, allocations: 0.8663 MB / 0.9505 GB, free: 200.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.425e-05/1.881, allocations: 136 kB / 0.9506 GB, free: 200.7 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000277/1.881, allocations: 196 kB / 0.9508 GB, free: 200.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.966e-05/1.881, allocations: 175.3 kB / 0.951 GB, free: 200.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.676e-05/1.881, allocations: 143.4 kB / 0.9511 GB, free: 200.2 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007433/1.889, allocations: 8.02 MB / 0.9589 GB, free: 190.7 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002044/1.891, allocations: 0.8355 MB / 0.9598 GB, free: 189.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001038/1.892, allocations: 211.4 kB / 0.96 GB, free: 189.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00336/1.895, allocations: 211.9 kB / 0.9602 GB, free: 189.4 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004783/1.896, allocations: 0.5835 MB / 0.9607 GB, free: 188.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002877/1.896, allocations: 248 kB / 0.961 GB, free: 188.6 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.007389/1.903, allocations: 4.597 MB / 0.9655 GB, free: 184 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.81e-07/1.903, allocations: 0 / 0.9655 GB, free: 184 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01203/1.915, allocations: 1.878 MB / 0.9673 GB, free: 182.2 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 413 * 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 (455): * Single equations (assignments): 452 * 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.009372/1.925, allocations: 8.865 MB / 0.9759 GB, free: 171.8 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01318/1.938, allocations: 7.652 MB / 0.9834 GB, free: 164.2 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.657e-05/1.938, allocations: 12 kB / 0.9834 GB, free: 164.1 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.00341/1.941, allocations: 2.21 MB / 0.9856 GB, free: 162 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007905/1.949, allocations: 1.141 MB / 0.9867 GB, free: 160.8 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1226/2.072, allocations: 77.48 MB / 1.062 GB, free: 74.93 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01485/2.087, allocations: 6.974 MB / 1.069 GB, free: 67.92 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.01041/2.097, allocations: 3.314 MB / 1.072 GB, free: 64.6 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007632/2.105, allocations: 4.748 MB / 1.077 GB, free: 59.85 MB / 0.6075 GB Notification: Performance of SimCode: time 9.42e-07/2.105, allocations: 2.406 kB / 1.077 GB, free: 59.85 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4359/2.541, allocations: 144.3 MB / 1.218 GB, free: 184.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001611/2.541, allocations: 199.4 kB / 1.218 GB, free: 184.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.07/8.612, allocations: 4.062 kB / 1.218 GB, free: 184.2 MB / 0.6075 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat does not exist to compare? outputFormat=mat