Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.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.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",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.0007663/0.0007663, 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.00102/0.001021, allocations: 174.6 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.396/1.396, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.3576/0.3576, allocations: 43.56 MB / 314.6 MB, free: 8.809 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.0004875/0.0004875, allocations: 12 kB / 384 MB, free: 7.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1124, allocations: 58.86 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.238/0.3505, allocations: 34.84 MB / 477.7 MB, free: 30.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01675/0.3673, allocations: 7.263 MB / 485 MB, free: 25.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008029/0.3754, allocations: 155.5 kB / 485.1 MB, free: 25.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00488/0.3803, allocations: 1.513 MB / 486.6 MB, free: 24.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01218/0.3925, allocations: 4.442 MB / 491.1 MB, free: 22.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001764/0.3943, allocations: 249.1 kB / 491.3 MB, free: 22.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003266/0.3976, allocations: 2.777 MB / 494.1 MB, free: 21.74 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003656/0.4013, allocations: 3.011 MB / 497.1 MB, free: 20.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001288/0.4026, allocations: 0.7263 MB / 497.8 MB, free: 20.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001705/0.4043, allocations: 1.12 MB / 499 MB, free: 19.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002706/0.4046, allocations: 94.97 kB / 499.1 MB, free: 19.92 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001191/0.4058, allocations: 0.5258 MB / 499.6 MB, free: 19.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001225/0.407, allocations: 1.047 MB / 0.4889 GB, free: 19.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006384/0.4076, allocations: 0.5467 MB / 0.4894 GB, free: 19.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005548/0.4132, allocations: 3.615 MB / 0.493 GB, free: 18.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.4132, allocations: 0 / 0.493 GB, free: 18.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.416e-06/0.4133, allocations: 0 / 0.493 GB, free: 18.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002009/0.4135, allocations: 9.25 kB / 0.493 GB, free: 18.34 MB / 382.1 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.006528/0.42, allocations: 2.562 MB / 0.4955 GB, free: 16.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.4201, allocations: 13.94 kB / 0.4955 GB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001285/0.4214, allocations: 0.5054 MB / 0.496 GB, free: 16.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005922/0.4273, allocations: 1.651 MB / 0.4976 GB, free: 16.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003644/0.431, allocations: 1.367 MB / 0.4989 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/0.4312, allocations: 157.2 kB / 0.4991 GB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006008/0.4318, allocations: 200.3 kB / 0.4993 GB, free: 15.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01203/0.4438, allocations: 6.761 MB / 0.5059 GB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.652e-05/0.4439, allocations: 18.08 kB / 0.5059 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000277/0.4442, allocations: 95.66 kB / 0.506 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002331/0.4466, allocations: 1.481 MB / 0.5074 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01192/0.4585, allocations: 5.781 MB / 0.5131 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03575/0.4943, allocations: 21.59 MB / 0.5342 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006896/0.5013, allocations: 2.248 MB / 0.5363 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001725/0.503, allocations: 0.7776 MB / 0.5371 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008534/0.5116, allocations: 3.745 MB / 0.5408 GB, free: 10.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.545e-05/0.5117, allocations: 47.06 kB / 0.5408 GB, free: 10.58 MB / 414.1 MB Notification: Performance of pre-optimization done (n=93): time 5.841e-06/0.5117, allocations: 3.984 kB / 0.5408 GB, free: 10.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=93): time 0.008523/0.5202, allocations: 2.181 MB / 0.5429 GB, free: 8.391 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.5203, allocations: 59.97 kB / 0.543 GB, free: 8.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005539/0.5259, allocations: 2.012 MB / 0.545 GB, free: 6.309 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.251e-05/0.526, allocations: 37.7 kB / 0.545 GB, free: 6.266 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002137/0.5282, allocations: 1.96 MB / 0.5469 GB, free: 4.273 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005715/0.5288, allocations: 363.3 kB / 0.5473 GB, free: 3.914 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002745/0.529, allocations: 60 kB / 0.5473 GB, free: 3.855 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0005545/0.5296, allocations: 0.4939 MB / 0.5478 GB, free: 3.352 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00252/0.5321, allocations: 0.9626 MB / 0.5487 GB, free: 2.387 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004316/0.5365, allocations: 2.903 MB / 0.5516 GB, free: 14.51 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003478/0.54, allocations: 1.673 MB / 0.5532 GB, free: 12.84 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.209e-05/0.54, allocations: 20 kB / 0.5532 GB, free: 12.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.006364/0.5464, allocations: 3.757 MB / 0.5569 GB, free: 9.062 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.844e-05/0.5465, allocations: 36 kB / 0.5569 GB, free: 9.027 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-05/0.5465, allocations: 71.95 kB / 0.557 GB, free: 8.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.284e-05/0.5466, allocations: 100 kB / 0.5571 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001937/0.5486, allocations: 0.7103 MB / 0.5578 GB, free: 8.148 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.565e-05/0.5487, allocations: 135.4 kB / 0.5579 GB, free: 8.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001976/0.5507, allocations: 451.2 kB / 0.5584 GB, free: 7.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000245/0.5509, allocations: 200 kB / 0.5585 GB, free: 7.375 MB / 430.1 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.002407/0.5534, allocations: 1.427 MB / 0.5599 GB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000264/0.5536, allocations: 169.8 kB / 0.5601 GB, free: 5.766 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/0.5555, allocations: 1.185 MB / 0.5613 GB, free: 4.566 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/0.5555, allocations: 15.95 kB / 0.5613 GB, free: 4.551 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.5555, allocations: 4 kB / 0.5613 GB, free: 4.547 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.5556, allocations: 3.984 kB / 0.5613 GB, free: 4.543 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009241/0.5648, allocations: 4.975 MB / 0.5661 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.533e-05/0.5649, allocations: 15.97 kB / 0.5662 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005627/0.5654, allocations: 135.7 kB / 0.5663 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.065e-05/0.5655, allocations: 12 kB / 0.5663 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.174e-05/0.5655, allocations: 24 kB / 0.5663 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.575e-05/0.5656, allocations: 19.92 kB / 0.5663 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.14e-05/0.5656, allocations: 15.94 kB / 0.5663 GB, free: 15.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002007/0.5676, allocations: 1.505 MB / 0.5678 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006031/0.5682, allocations: 270.5 kB / 0.5681 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003796/0.5686, allocations: 27.98 kB / 0.5681 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007788/0.5694, allocations: 39.88 kB / 0.5681 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001131/0.5695, allocations: 71.72 kB / 0.5682 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.086e-05/0.5696, allocations: 36 kB / 0.5682 GB, free: 13.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002586/0.5722, allocations: 1.316 MB / 0.5695 GB, free: 11.71 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5722, allocations: 0 / 0.5695 GB, free: 11.71 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00361/0.5758, allocations: 0.7466 MB / 0.5703 GB, free: 10.96 MB / 446.1 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.0029/0.5787, allocations: 2.133 MB / 0.5723 GB, free: 8.684 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003961/0.5827, allocations: 2.204 MB / 0.5745 GB, free: 6.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/0.5828, allocations: 4 kB / 0.5745 GB, free: 6.496 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008016/0.5836, allocations: 0.532 MB / 0.575 GB, free: 5.965 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001978/0.5856, allocations: 253.1 kB / 0.5753 GB, free: 5.719 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03145/0.617, allocations: 16.51 MB / 0.5914 GB, free: 3.48 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003602/0.6207, allocations: 2.405 MB / 0.5937 GB, free: 1.047 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002743/0.6234, allocations: 1.016 MB / 0.5947 GB, free: 28 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002173/0.6256, allocations: 1.144 MB / 0.5958 GB, free: 14.88 MB / 478.1 MB Notification: Performance of SimCode: time 1.613e-06/0.6257, allocations: 0 / 0.5958 GB, free: 14.88 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2609/0.8865, allocations: 38.8 MB / 0.6337 GB, free: 137.2 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/0.8867, allocations: 179.9 kB / 0.6339 GB, free: 137 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.682/3.568, allocations: 0 / 0.6339 GB, free: 137 MB / 494.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat does not exist to compare? outputFormat=mat