Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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: translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 108 kB / 15.6 MB, free: 132 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.001255/0.001255, allocations: 191.7 kB / 16.53 MB, free: 6.391 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.599/1.599, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3624/0.3624, allocations: 39.94 MB / 309.7 MB, free: 9.238 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: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001626/0.001626, allocations: 63.91 kB / 377.6 MB, free: 12.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1325, allocations: 56.88 MB / 434.5 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01176/0.1443, allocations: 10.55 MB / 445 MB, free: 9.066 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007811/0.1522, allocations: 2.987 MB / 448 MB, free: 6.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002547/0.1549, allocations: 51.94 kB / 448.1 MB, free: 6.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004805/0.1597, allocations: 2.017 MB / 450.1 MB, free: 3.996 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003908/0.1636, allocations: 1.179 MB / 451.3 MB, free: 2.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001055/0.1647, allocations: 291.4 kB / 451.6 MB, free: 2.527 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003919/0.1687, allocations: 2.454 MB / 454 MB, free: 68 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3071/0.4758, allocations: 2.364 MB / 456.4 MB, free: 36.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001606/0.4774, allocations: 0.9504 MB / 457.3 MB, free: 36.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001657/0.4791, allocations: 1.264 MB / 458.6 MB, free: 36.48 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004582/0.4796, allocations: 210.8 kB / 458.8 MB, free: 36.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.481, allocations: 0.7054 MB / 459.5 MB, free: 36.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009336/0.482, allocations: 1.21 MB / 460.7 MB, free: 36.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001352/0.4833, allocations: 1.434 MB / 462.1 MB, free: 35.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004637/0.488, allocations: 4.524 MB / 466.7 MB, free: 35.21 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.488, allocations: 0 / 466.7 MB, free: 35.21 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.488, allocations: 4 kB / 466.7 MB, free: 35.21 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001254/0.4881, allocations: 0 / 466.7 MB, free: 35.21 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.006488/0.4946, allocations: 3.077 MB / 469.8 MB, free: 33.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.4947, allocations: 13.86 kB / 469.8 MB, free: 33.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005057/0.4998, allocations: 1.611 MB / 471.4 MB, free: 33.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00269/0.5025, allocations: 1.385 MB / 472.8 MB, free: 32.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.5026, allocations: 155.6 kB / 472.9 MB, free: 32.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000339/0.503, allocations: 203.2 kB / 473.1 MB, free: 32.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/0.5131, allocations: 6.784 MB / 479.9 MB, free: 29.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.426e-05/0.5132, allocations: 12.72 kB / 479.9 MB, free: 29.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002633/0.5134, allocations: 94.42 kB / 480 MB, free: 29.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002195/0.5156, allocations: 1.482 MB / 481.5 MB, free: 29.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0143/0.53, allocations: 5.802 MB / 487.3 MB, free: 27.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04506/0.5751, allocations: 21.6 MB / 0.497 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004808/0.5799, allocations: 2.258 MB / 0.4992 GB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/0.5811, allocations: 0.7827 MB / 0.4999 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006763/0.5878, allocations: 3.738 MB / 0.5036 GB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.5879, allocations: 49.19 kB / 0.5036 GB, free: 10.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=93): time 4.408e-06/0.5879, allocations: 0 / 0.5036 GB, free: 10.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=93): time 0.005242/0.5932, allocations: 2.189 MB / 0.5058 GB, free: 9.742 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.5932, allocations: 62.44 kB / 0.5058 GB, free: 9.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002992/0.5962, allocations: 2.032 MB / 0.5078 GB, free: 8.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.048e-05/0.5963, allocations: 36.89 kB / 0.5078 GB, free: 8.551 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001057/0.5974, allocations: 1.956 MB / 0.5098 GB, free: 6.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002452/0.5976, allocations: 366.6 kB / 0.5101 GB, free: 6.543 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007959/0.5984, allocations: 0.6644 MB / 0.5107 GB, free: 6.164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.94e-05/0.5985, allocations: 356.8 kB / 0.5111 GB, free: 5.824 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001142/0.5997, allocations: 0.9644 MB / 0.512 GB, free: 4.992 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001972/0.6016, allocations: 2.925 MB / 0.5149 GB, free: 1.129 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004596/0.6063, allocations: 4.254 MB / 0.519 GB, free: 12.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.741e-05/0.6063, allocations: 23.38 kB / 0.5191 GB, free: 12.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.005767/0.6121, allocations: 3.776 MB / 0.5228 GB, free: 8.777 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.309e-05/0.6122, allocations: 32 kB / 0.5228 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.349e-05/0.6122, allocations: 71.94 kB / 0.5228 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.375e-05/0.6123, allocations: 92 kB / 0.5229 GB, free: 8.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002034/0.6144, allocations: 0.718 MB / 0.5236 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001007/0.6145, allocations: 135.5 kB / 0.5238 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00228/0.6168, allocations: 439.3 kB / 0.5242 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003126/0.6171, allocations: 202.6 kB / 0.5244 GB, free: 7.105 MB / 398.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003297/0.6204, allocations: 1.427 MB / 0.5258 GB, free: 5.668 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000383/0.6208, allocations: 173.8 kB / 0.5259 GB, free: 5.496 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002102/0.6229, allocations: 1.185 MB / 0.5271 GB, free: 4.293 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.094e-05/0.6229, allocations: 21.91 kB / 0.5271 GB, free: 4.273 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.623, allocations: 0 / 0.5271 GB, free: 4.273 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/0.623, allocations: 3.984 kB / 0.5271 GB, free: 4.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009509/0.6325, allocations: 4.974 MB / 0.532 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/0.6325, allocations: 8.188 kB / 0.532 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005459/0.6331, allocations: 139.7 kB / 0.5321 GB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.269e-05/0.6331, allocations: 12 kB / 0.5321 GB, free: 14.97 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.723e-05/0.6332, allocations: 31.92 kB / 0.5322 GB, free: 14.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.065e-05/0.6332, allocations: 15.94 kB / 0.5322 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.82e-05/0.6333, allocations: 15.94 kB / 0.5322 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002269/0.6355, allocations: 1.506 MB / 0.5337 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005347/0.6361, allocations: 262.6 kB / 0.5339 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001974/0.6363, allocations: 31.92 kB / 0.5339 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005723/0.6369, allocations: 35.89 kB / 0.534 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.637, allocations: 75.67 kB / 0.5341 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.33e-05/0.6371, allocations: 39.94 kB / 0.5341 GB, free: 12.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002001/0.6391, allocations: 1.324 MB / 0.5354 GB, free: 11.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.6391, allocations: 0 / 0.5354 GB, free: 11.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003798/0.6429, allocations: 0.7491 MB / 0.5361 GB, free: 10.71 MB / 414.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 (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.0004511/0.6434, allocations: 154.2 kB / 0.5363 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004252/0.6477, allocations: 2.463 MB / 0.5387 GB, free: 8.102 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/0.6477, allocations: 4.062 kB / 0.5387 GB, free: 8.098 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007167/0.6484, allocations: 0.5365 MB / 0.5392 GB, free: 7.562 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.6499, allocations: 261.8 kB / 0.5394 GB, free: 7.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009633/0.6595, allocations: 5.612 MB / 0.5449 GB, free: 1.562 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002595/0.6621, allocations: 2.401 MB / 0.5473 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002674/0.6648, allocations: 1.019 MB / 0.5483 GB, free: 14.12 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/0.6652, allocations: 131.4 kB / 0.5484 GB, free: 13.99 MB / 430.1 MB Notification: Performance of SimCode: time 1.273e-06/0.6652, allocations: 0 / 0.5484 GB, free: 13.99 MB / 430.1 MB Notification: Performance of Templates: time 0.0363/0.7015, allocations: 15.59 MB / 0.5636 GB, free: 14.48 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1)