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.001042/0.001043, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000994/0.000994, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.3912/0.3912, allocations: 39.99 MB / 310.4 MB, free: 9.73 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.0005571/0.0005571, allocations: 12 kB / 378.8 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1437, allocations: 57.96 MB / 436.8 MB, free: 2.273 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.2944/0.4382, allocations: 32.98 MB / 469.7 MB, free: 33.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01895/0.4571, allocations: 7.594 MB / 477.3 MB, free: 29.89 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008254/0.4654, allocations: 151.5 kB / 477.5 MB, free: 29.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005589/0.4711, allocations: 1.672 MB / 479.2 MB, free: 29.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01652/0.4876, allocations: 4.781 MB / 483.9 MB, free: 27.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001762/0.4894, allocations: 220.4 kB / 484.1 MB, free: 27.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003026/0.4924, allocations: 1.349 MB / 485.5 MB, free: 26.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00461/0.497, allocations: 2.992 MB / 488.5 MB, free: 25.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00138/0.4984, allocations: 0.5954 MB / 489.1 MB, free: 25.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001624/0.5001, allocations: 0.7631 MB / 489.8 MB, free: 25.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006236/0.5007, allocations: 94.91 kB / 489.9 MB, free: 25.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001511/0.5022, allocations: 0.5208 MB / 490.5 MB, free: 25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001293/0.5035, allocations: 0.964 MB / 491.4 MB, free: 24.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001074/0.5046, allocations: 0.552 MB / 492 MB, free: 24.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004476/0.5091, allocations: 3.616 MB / 495.6 MB, free: 23.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/0.5091, allocations: 0 / 495.6 MB, free: 23.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.5091, allocations: 0 / 495.6 MB, free: 23.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.552e-05/0.5092, allocations: 0 / 495.6 MB, free: 23.55 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.004882/0.5141, allocations: 2.605 MB / 498.2 MB, free: 21.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.5142, allocations: 9 kB / 498.2 MB, free: 21.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006945/0.5211, allocations: 1.937 MB / 0.4884 GB, free: 21.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003225/0.5244, allocations: 1.37 MB / 0.4898 GB, free: 20.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001505/0.5245, allocations: 158.9 kB / 0.4899 GB, free: 20.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000422/0.525, allocations: 196.9 kB / 0.4901 GB, free: 20.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01121/0.5362, allocations: 6.809 MB / 0.4967 GB, free: 17.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.726e-05/0.5363, allocations: 14 kB / 0.4968 GB, free: 17.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002644/0.5365, allocations: 92.77 kB / 0.4968 GB, free: 17.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002443/0.539, allocations: 1.481 MB / 0.4983 GB, free: 17.45 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01103/0.55, allocations: 5.834 MB / 0.504 GB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02754/0.5776, allocations: 21.62 MB / 0.5251 GB, free: 12.21 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004718/0.5824, allocations: 2.259 MB / 0.5273 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007146/0.5896, allocations: 3.771 MB / 0.531 GB, free: 5.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.681e-05/0.5896, allocations: 39.06 kB / 0.531 GB, free: 5.871 MB / 398.1 MB Notification: Performance of pre-optimization done (n=93): time 7.304e-06/0.5897, allocations: 3.938 kB / 0.531 GB, free: 5.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=93): time 0.005727/0.5954, allocations: 2.453 MB / 0.5334 GB, free: 3.352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.5955, allocations: 59.97 kB / 0.5335 GB, free: 3.281 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003915/0.5994, allocations: 2.016 MB / 0.5355 GB, free: 1.266 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.38e-05/0.5995, allocations: 37.7 kB / 0.5355 GB, free: 1.223 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001671/0.6011, allocations: 1.953 MB / 0.5374 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003755/0.6015, allocations: 367.3 kB / 0.5378 GB, free: 14.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.6017, allocations: 63.98 kB / 0.5378 GB, free: 14.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003516/0.6021, allocations: 0.4978 MB / 0.5383 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/0.6038, allocations: 0.951 MB / 0.5392 GB, free: 13.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002996/0.6068, allocations: 2.902 MB / 0.5421 GB, free: 9.473 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002549/0.6094, allocations: 1.657 MB / 0.5437 GB, free: 7.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-05/0.6094, allocations: 23.94 kB / 0.5437 GB, free: 7.797 MB / 414.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.006703/0.6161, allocations: 3.753 MB / 0.5474 GB, free: 4.039 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.407e-05/0.6162, allocations: 32 kB / 0.5474 GB, free: 4.008 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001185/0.6164, allocations: 72.84 kB / 0.5475 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001238/0.6165, allocations: 103.8 kB / 0.5476 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002111/0.6186, allocations: 0.7135 MB / 0.5483 GB, free: 3.125 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001193/0.6187, allocations: 139.4 kB / 0.5484 GB, free: 2.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002354/0.6211, allocations: 443.2 kB / 0.5488 GB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000303/0.6214, allocations: 196 kB / 0.549 GB, free: 2.359 MB / 414.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.002763/0.6242, allocations: 1.435 MB / 0.5504 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003793/0.6246, allocations: 169.8 kB / 0.5506 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002143/0.6267, allocations: 1.177 MB / 0.5517 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/0.6268, allocations: 15.95 kB / 0.5517 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.6268, allocations: 0 / 0.5517 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.6268, allocations: 7.984 kB / 0.5517 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/0.6372, allocations: 4.983 MB / 0.5566 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.211e-05/0.6372, allocations: 12 kB / 0.5566 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006361/0.6378, allocations: 135.7 kB / 0.5567 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-05/0.6379, allocations: 12 kB / 0.5568 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.08e-05/0.638, allocations: 31.92 kB / 0.5568 GB, free: 10.18 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-05/0.638, allocations: 19.94 kB / 0.5568 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.006e-05/0.638, allocations: 11.94 kB / 0.5568 GB, free: 10.14 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002379/0.6404, allocations: 2.188 MB / 0.559 GB, free: 7.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008298/0.6412, allocations: 282.4 kB / 0.5592 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005434/0.6418, allocations: 27.94 kB / 0.5593 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009966/0.6428, allocations: 35.97 kB / 0.5593 GB, free: 7.141 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.6429, allocations: 71.72 kB / 0.5594 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-05/0.643, allocations: 43.98 kB / 0.5594 GB, free: 7.027 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002944/0.646, allocations: 1.304 MB / 0.5607 GB, free: 5.699 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.646, allocations: 0 / 0.5607 GB, free: 5.699 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004316/0.6503, allocations: 0.7544 MB / 0.5614 GB, free: 4.941 MB / 430.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.0005502/0.6509, allocations: 150.9 kB / 0.5616 GB, free: 4.781 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004351/0.6553, allocations: 2.209 MB / 0.5637 GB, free: 2.59 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.6553, allocations: 8.688 kB / 0.5637 GB, free: 2.582 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007441/0.656, allocations: 0.5409 MB / 0.5642 GB, free: 2.043 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001302/0.6573, allocations: 231.9 kB / 0.5645 GB, free: 1.816 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/0.67, allocations: 6.706 MB / 0.571 GB, free: 10.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003981/0.6741, allocations: 2.457 MB / 0.5734 GB, free: 8.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003005/0.6771, allocations: 1.017 MB / 0.5744 GB, free: 7.461 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000523/0.6776, allocations: 135.4 kB / 0.5745 GB, free: 7.328 MB / 446.1 MB Notification: Performance of SimCode: time 1.623e-06/0.6776, allocations: 4 kB / 0.5745 GB, free: 7.324 MB / 446.1 MB Notification: Performance of Templates: time 0.03413/0.7118, allocations: 14.66 MB / 0.5889 GB, free: 8.699 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: