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.005239/0.005239, allocations: 101.5 kB / 15.73 MB, free: 6.023 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.001257/0.001257, allocations: 187.7 kB / 16.67 MB, free: 5.961 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.53/1.53, allocations: 205.1 MB / 222.5 MB, free: 4.5 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.4172/0.4172, allocations: 39.95 MB / 309.8 MB, free: 9.402 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.001871/0.001871, allocations: 67.89 kB / 435.8 MB, free: 2.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4372/0.439, allocations: 56.87 MB / 492.6 MB, free: 19.46 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01273/0.4518, allocations: 10.55 MB / 0.4914 GB, free: 12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009161/0.4611, allocations: 2.998 MB / 0.4943 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004214/0.4654, allocations: 56.06 kB / 0.4944 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004336/0.4698, allocations: 2.012 MB / 0.4963 GB, free: 9.059 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004149/0.4739, allocations: 1.186 MB / 0.4975 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008453/0.4748, allocations: 294.2 kB / 0.4978 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004242/0.4791, allocations: 2.453 MB / 0.5002 GB, free: 6.898 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003787/0.4829, allocations: 2.366 MB / 0.5025 GB, free: 5.551 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002349/0.4852, allocations: 0.9451 MB / 0.5034 GB, free: 5.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001859/0.4871, allocations: 1.273 MB / 0.5047 GB, free: 4.238 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004177/0.4875, allocations: 213 kB / 0.5049 GB, free: 4.238 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/0.489, allocations: 0.7034 MB / 0.5055 GB, free: 3.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.49, allocations: 1.213 MB / 0.5067 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001087/0.4911, allocations: 1.426 MB / 0.5081 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004982/0.4961, allocations: 4.711 MB / 0.5127 GB, free: 14.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.4961, allocations: 1 kB / 0.5127 GB, free: 14.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4961, allocations: 0 / 0.5127 GB, free: 14.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.974e-05/0.4962, allocations: 4 kB / 0.5127 GB, free: 14.88 MB / 398.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.006251/0.5025, allocations: 3.068 MB / 0.5157 GB, free: 12.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.211e-05/0.5025, allocations: 13.98 kB / 0.5157 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005584/0.5081, allocations: 1.615 MB / 0.5173 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003357/0.5115, allocations: 1.406 MB / 0.5187 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.5116, allocations: 160.3 kB / 0.5188 GB, free: 9.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003498/0.512, allocations: 195.8 kB / 0.519 GB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01116/0.5232, allocations: 6.781 MB / 0.5256 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.914e-05/0.5233, allocations: 11.88 kB / 0.5257 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000256/0.5235, allocations: 99.88 kB / 0.5258 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002273/0.5258, allocations: 1.481 MB / 0.5272 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01114/0.5369, allocations: 5.811 MB / 0.5329 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03773/0.5747, allocations: 21.43 MB / 0.5538 GB, free: 4.77 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005289/0.5801, allocations: 2.261 MB / 0.556 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/0.5815, allocations: 0.7852 MB / 0.5568 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008697/0.5903, allocations: 3.738 MB / 0.5604 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.5904, allocations: 39.12 kB / 0.5605 GB, free: 13.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=93): time 5.701e-06/0.5904, allocations: 0 / 0.5605 GB, free: 13.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=93): time 0.0068/0.5972, allocations: 2.185 MB / 0.5626 GB, free: 11.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.5973, allocations: 67.95 kB / 0.5627 GB, free: 11.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00449/0.6018, allocations: 2.024 MB / 0.5646 GB, free: 9.359 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.449e-05/0.6019, allocations: 33.7 kB / 0.5647 GB, free: 9.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001868/0.6038, allocations: 1.964 MB / 0.5666 GB, free: 7.324 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004914/0.6043, allocations: 371.3 kB / 0.5669 GB, free: 6.957 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001211/0.6055, allocations: 0.6509 MB / 0.5676 GB, free: 6.297 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.6057, allocations: 361.9 kB / 0.5679 GB, free: 5.938 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001676/0.6074, allocations: 0.9704 MB / 0.5689 GB, free: 4.965 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003539/0.611, allocations: 2.918 MB / 0.5717 GB, free: 1.074 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005738/0.6167, allocations: 4.248 MB / 0.5759 GB, free: 11.86 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.871e-05/0.6169, allocations: 20 kB / 0.5759 GB, free: 11.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.008262/0.6251, allocations: 3.78 MB / 0.5796 GB, free: 8.051 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.593e-05/0.6252, allocations: 36 kB / 0.5796 GB, free: 8.016 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001193/0.6254, allocations: 68 kB / 0.5797 GB, free: 7.949 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001112/0.6255, allocations: 96.75 kB / 0.5798 GB, free: 7.855 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002402/0.6279, allocations: 0.7135 MB / 0.5805 GB, free: 7.141 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001304/0.6281, allocations: 135.5 kB / 0.5806 GB, free: 7.008 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002934/0.631, allocations: 447 kB / 0.581 GB, free: 6.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000556/0.6316, allocations: 200 kB / 0.5812 GB, free: 6.375 MB / 462.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.00361/0.6352, allocations: 1.431 MB / 0.5826 GB, free: 4.934 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005561/0.6358, allocations: 173.7 kB / 0.5828 GB, free: 4.762 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002398/0.6382, allocations: 1.193 MB / 0.5839 GB, free: 3.559 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-05/0.6382, allocations: 12 kB / 0.584 GB, free: 3.547 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.6382, allocations: 0 / 0.584 GB, free: 3.547 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.6383, allocations: 3.984 kB / 0.584 GB, free: 3.543 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01315/0.6514, allocations: 4.971 MB / 0.5888 GB, free: 14.38 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.639e-05/0.6515, allocations: 12.03 kB / 0.5888 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005937/0.6521, allocations: 131.8 kB / 0.589 GB, free: 14.24 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.801e-05/0.6521, allocations: 15.94 kB / 0.589 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.092e-05/0.6522, allocations: 27.91 kB / 0.589 GB, free: 14.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.523e-05/0.6523, allocations: 19.92 kB / 0.589 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/0.6523, allocations: 15.88 kB / 0.589 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002375/0.6547, allocations: 1.514 MB / 0.5905 GB, free: 12.51 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007602/0.6554, allocations: 266.5 kB / 0.5908 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004552/0.6559, allocations: 27.94 kB / 0.5908 GB, free: 12.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008733/0.6568, allocations: 35.88 kB / 0.5908 GB, free: 12.17 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.6569, allocations: 75.69 kB / 0.5909 GB, free: 12.09 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.274e-05/0.657, allocations: 39.98 kB / 0.5909 GB, free: 12.05 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002657/0.6597, allocations: 1.32 MB / 0.5922 GB, free: 10.71 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6597, allocations: 0 / 0.5922 GB, free: 10.71 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003843/0.6636, allocations: 0.7622 MB / 0.593 GB, free: 9.945 MB / 478.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.0004587/0.6641, allocations: 146.9 kB / 0.5931 GB, free: 9.789 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004047/0.6681, allocations: 2.252 MB / 0.5953 GB, free: 7.551 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/0.6681, allocations: 4.062 kB / 0.5953 GB, free: 7.547 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008258/0.669, allocations: 0.5334 MB / 0.5958 GB, free: 7.012 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/0.6712, allocations: 261.7 kB / 0.5961 GB, free: 6.754 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01498/0.6862, allocations: 5.538 MB / 0.6015 GB, free: 1.07 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004471/0.6908, allocations: 2.409 MB / 0.6038 GB, free: 14.64 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003152/0.694, allocations: 1.016 MB / 0.6048 GB, free: 13.62 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006478/0.6947, allocations: 135.4 kB / 0.605 GB, free: 13.49 MB / 494.1 MB Notification: Performance of SimCode: time 1.693e-06/0.6947, allocations: 0 / 0.605 GB, free: 13.49 MB / 494.1 MB Notification: Performance of Templates: time 0.03937/0.7341, allocations: 16.25 MB / 0.6208 GB, free: 13.23 MB / 0.4981 GB 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)