Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001901/0.0019, allocations: 103.7 kB / 17.63 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002531/0.002532, allocations: 208.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2399/0.2399, allocations: 46.12 MB / 344.2 MB, free: 11.59 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002241/0.002242, allocations: 77.44 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1225, allocations: 62.47 MB / 480.2 MB, free: 5.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01199/0.1345, allocations: 9.516 MB / 489.7 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006544/0.1411, allocations: 2.92 MB / 492.6 MB, free: 8.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.1423, allocations: 51.94 kB / 492.7 MB, free: 8.609 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003814/0.1462, allocations: 1.998 MB / 494.7 MB, free: 6.605 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003081/0.1493, allocations: 1.109 MB / 495.8 MB, free: 5.492 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000817/0.1501, allocations: 291.4 kB / 496.1 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003656/0.1538, allocations: 2.318 MB / 498.4 MB, free: 2.883 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003319/0.1571, allocations: 2.313 MB / 0.489 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001545/0.1587, allocations: 0.88 MB / 0.4898 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001894/0.1606, allocations: 1.156 MB / 0.491 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004649/0.1611, allocations: 192 kB / 0.4912 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/0.1624, allocations: 0.6943 MB / 0.4918 GB, free: 13.6 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001102/0.1635, allocations: 1.11 MB / 0.4929 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001486/0.165, allocations: 1.305 MB / 0.4942 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0048/0.1698, allocations: 4.155 MB / 0.4983 GB, free: 7.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.1699, allocations: 0 / 0.4983 GB, free: 7.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.1699, allocations: 0 / 0.4983 GB, free: 7.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001608/0.1701, allocations: 0 / 0.4983 GB, free: 7.008 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: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.00527/0.1754, allocations: 2.87 MB / 0.5011 GB, free: 4.082 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.1754, allocations: 8.031 kB / 0.5011 GB, free: 4.074 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006182/0.176, allocations: 483.1 kB / 0.5015 GB, free: 3.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005368/0.1814, allocations: 1.565 MB / 0.5031 GB, free: 2.023 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002583/0.184, allocations: 1.316 MB / 0.5043 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/0.1842, allocations: 147.8 kB / 0.5045 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003939/0.1846, allocations: 183.9 kB / 0.5047 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1948/0.3793, allocations: 6.247 MB / 0.5108 GB, free: 37.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.485e-05/0.3795, allocations: 14.53 kB / 0.5108 GB, free: 37.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004873/0.3799, allocations: 87.72 kB / 0.5109 GB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002284/0.3822, allocations: 1.342 MB / 0.5122 GB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01031/0.3926, allocations: 5.324 MB / 0.5174 GB, free: 35.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0213/0.4139, allocations: 20.13 MB / 0.537 GB, free: 20.9 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003574/0.4175, allocations: 2.083 MB / 0.5391 GB, free: 18.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007476/0.4183, allocations: 0.6889 MB / 0.5397 GB, free: 18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004852/0.4231, allocations: 3.49 MB / 0.5431 GB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.4232, allocations: 39 kB / 0.5432 GB, free: 14.34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 3.056e-06/0.4232, allocations: 0 / 0.5432 GB, free: 14.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.004638/0.4278, allocations: 1.974 MB / 0.5451 GB, free: 12.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.4279, allocations: 55.84 kB / 0.5452 GB, free: 12.29 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00237/0.4303, allocations: 1.941 MB / 0.5471 GB, free: 10.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/0.4303, allocations: 33.7 kB / 0.5471 GB, free: 10.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007719/0.4311, allocations: 1.84 MB / 0.5489 GB, free: 8.438 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000239/0.4314, allocations: 308 kB / 0.5492 GB, free: 8.133 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000685/0.4321, allocations: 0.6151 MB / 0.5498 GB, free: 7.508 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.405e-05/0.4322, allocations: 357.9 kB / 0.5501 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.4332, allocations: 0.8959 MB / 0.551 GB, free: 6.254 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/0.4347, allocations: 2.744 MB / 0.5537 GB, free: 2.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003526/0.4383, allocations: 3.97 MB / 0.5575 GB, free: 13.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.483e-05/0.4383, allocations: 20 kB / 0.5576 GB, free: 13.66 MB / 398.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005246/0.4436, allocations: 3.523 MB / 0.561 GB, free: 10.13 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.368e-05/0.4436, allocations: 35.94 kB / 0.561 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.319e-05/0.4437, allocations: 71.98 kB / 0.5611 GB, free: 10.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.923e-05/0.4438, allocations: 88 kB / 0.5612 GB, free: 9.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001718/0.4455, allocations: 0.6479 MB / 0.5618 GB, free: 9.289 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001081/0.4456, allocations: 136.9 kB / 0.562 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.4473, allocations: 423.4 kB / 0.5624 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002224/0.4475, allocations: 187.9 kB / 0.5625 GB, free: 8.555 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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 (362): * Single equations (assignments): 357 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001709/0.4492, allocations: 1.346 MB / 0.5639 GB, free: 7.199 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/0.4494, allocations: 157.9 kB / 0.564 GB, free: 7.043 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000321/0.4498, allocations: 192.9 kB / 0.5642 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.981e-05/0.4498, allocations: 12 kB / 0.5642 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.4498, allocations: 0 / 0.5642 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.757e-06/0.4498, allocations: 7.922 kB / 0.5642 GB, free: 6.832 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006/0.4558, allocations: 4.066 MB / 0.5682 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.4558, allocations: 12.91 kB / 0.5682 GB, free: 2.617 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004153/0.4563, allocations: 99.81 kB / 0.5683 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.534e-05/0.4563, allocations: 11.94 kB / 0.5683 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.555e-05/0.4563, allocations: 16 kB / 0.5683 GB, free: 2.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.828e-06/0.4564, allocations: 8 kB / 0.5683 GB, free: 2.484 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.4564, allocations: 11.94 kB / 0.5683 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/0.4579, allocations: 1.241 MB / 0.5695 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003585/0.4583, allocations: 246.8 kB / 0.5698 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002862/0.4586, allocations: 19.94 kB / 0.5698 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007233/0.4593, allocations: 23.97 kB / 0.5698 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.4594, allocations: 55.83 kB / 0.5699 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.269e-05/0.4595, allocations: 28 kB / 0.5699 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002765/0.4623, allocations: 1.267 MB / 0.5711 GB, free: 15.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4623, allocations: 0 / 0.5711 GB, free: 15.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003715/0.466, allocations: 0.683 MB / 0.5718 GB, free: 14.81 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003172/0.4692, allocations: 1.853 MB / 0.5736 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005826/0.4751, allocations: 2.241 MB / 0.5758 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.414e-05/0.4751, allocations: 0 / 0.5758 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.4762, allocations: 471.2 kB / 0.5763 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/0.4787, allocations: 246 kB / 0.5765 GB, free: 9.953 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04721/0.526, allocations: 22 MB / 0.598 GB, free: 1 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004397/0.5304, allocations: 2.279 MB / 0.6002 GB, free: 14.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00406/0.5345, allocations: 0.9441 MB / 0.6011 GB, free: 13.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002358/0.5369, allocations: 1.038 MB / 0.6021 GB, free: 12.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5369, allocations: 0 / 0.6021 GB, free: 12.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0769/0.6138, allocations: 31.96 MB / 0.6333 GB, free: 12.87 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.817/9.431, allocations: 17.28 kB / 0.6334 GB, free: 12.85 MB / 478.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1)