Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.005867/0.005867, allocations: 98.3 kB / 15.73 MB, free: 6.012 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.001238/0.001239, allocations: 192.5 kB / 16.67 MB, free: 5.949 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.532/1.532, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3246/0.3246, allocations: 38 MB / 307.9 MB, free: 10.11 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.1. 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.001502/0.001502, allocations: 67.84 kB / 433 MB, free: 5.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3839/0.3854, allocations: 56.46 MB / 489.4 MB, free: 19.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01183/0.3973, allocations: 10.55 MB / 500 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008655/0.406, allocations: 2.996 MB / 0.4912 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003188/0.4093, allocations: 52.5 kB / 0.4913 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004344/0.4137, allocations: 2.016 MB / 0.4932 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004359/0.4181, allocations: 1.184 MB / 0.4944 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.4192, allocations: 287.5 kB / 0.4947 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006952/0.4262, allocations: 2.44 MB / 0.497 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005913/0.4321, allocations: 2.379 MB / 0.4994 GB, free: 6.887 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002737/0.4349, allocations: 0.9532 MB / 0.5003 GB, free: 6.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003097/0.438, allocations: 1.256 MB / 0.5015 GB, free: 5.594 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001408/0.4395, allocations: 213.1 kB / 0.5017 GB, free: 5.594 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003037/0.4425, allocations: 0.6998 MB / 0.5024 GB, free: 5.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002082/0.4446, allocations: 1.213 MB / 0.5036 GB, free: 4.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003919/0.4486, allocations: 1.43 MB / 0.505 GB, free: 3.527 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008897/0.4575, allocations: 4.721 MB / 0.5096 GB, free: 232 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4575, allocations: 0 / 0.5096 GB, free: 232 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4575, allocations: 0 / 0.5096 GB, free: 232 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001747/0.4577, allocations: 1.406 kB / 0.5096 GB, free: 232 kB / 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.008363/0.4661, allocations: 3.164 MB / 0.5127 GB, free: 13.88 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.4662, allocations: 16.7 kB / 0.5127 GB, free: 13.87 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005858/0.472, allocations: 1.623 MB / 0.5143 GB, free: 13.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003247/0.4753, allocations: 1.405 MB / 0.5157 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001625/0.4755, allocations: 156.9 kB / 0.5158 GB, free: 11.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003995/0.4759, allocations: 205.8 kB / 0.516 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01172/0.4876, allocations: 6.785 MB / 0.5226 GB, free: 5.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.232e-05/0.4877, allocations: 11.88 kB / 0.5226 GB, free: 5.254 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002709/0.488, allocations: 95.89 kB / 0.5227 GB, free: 5.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002372/0.4904, allocations: 1.474 MB / 0.5242 GB, free: 3.684 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01091/0.5013, allocations: 5.814 MB / 0.5299 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03414/0.5355, allocations: 21.5 MB / 0.5508 GB, free: 7.773 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004825/0.5403, allocations: 2.242 MB / 0.553 GB, free: 5.406 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001209/0.5416, allocations: 0.7892 MB / 0.5538 GB, free: 4.613 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006911/0.5485, allocations: 3.755 MB / 0.5575 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.5486, allocations: 39.12 kB / 0.5575 GB, free: 0.668 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 3.717e-06/0.5486, allocations: 0 / 0.5575 GB, free: 0.668 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.005797/0.5544, allocations: 2.202 MB / 0.5597 GB, free: 14.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.5545, allocations: 63.95 kB / 0.5597 GB, free: 14.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003789/0.5583, allocations: 2.024 MB / 0.5617 GB, free: 12.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.16e-05/0.5584, allocations: 45.69 kB / 0.5617 GB, free: 12.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001548/0.5599, allocations: 2.036 MB / 0.5637 GB, free: 10.25 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004019/0.5603, allocations: 385.1 kB / 0.5641 GB, free: 9.871 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/0.5614, allocations: 0.6632 MB / 0.5647 GB, free: 9.199 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.5616, allocations: 361.9 kB / 0.5651 GB, free: 8.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001676/0.5632, allocations: 0.9666 MB / 0.566 GB, free: 7.871 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003054/0.5663, allocations: 2.918 MB / 0.5689 GB, free: 3.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005111/0.5714, allocations: 4.24 MB / 0.573 GB, free: 14.77 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.497e-05/0.5715, allocations: 23.94 kB / 0.573 GB, free: 14.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.007377/0.5789, allocations: 3.797 MB / 0.5768 GB, free: 10.95 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.803e-05/0.579, allocations: 40.06 kB / 0.5768 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001436/0.5792, allocations: 68 kB / 0.5769 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001124/0.5793, allocations: 95.94 kB / 0.577 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002263/0.5816, allocations: 0.7135 MB / 0.5776 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001469/0.5818, allocations: 135.5 kB / 0.5778 GB, free: 9.902 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002861/0.5846, allocations: 448.7 kB / 0.5782 GB, free: 9.461 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000355/0.585, allocations: 208 kB / 0.5784 GB, free: 9.258 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.002971/0.588, allocations: 1.427 MB / 0.5798 GB, free: 7.816 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004575/0.5884, allocations: 178.8 kB / 0.58 GB, free: 7.641 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002163/0.5906, allocations: 1.197 MB / 0.5811 GB, free: 6.434 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/0.5906, allocations: 12 kB / 0.5811 GB, free: 6.422 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.5907, allocations: 0 / 0.5811 GB, free: 6.422 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.5907, allocations: 3.984 kB / 0.5812 GB, free: 6.418 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/0.6022, allocations: 4.979 MB / 0.586 GB, free: 1.254 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-05/0.6023, allocations: 8 kB / 0.586 GB, free: 1.246 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006493/0.6029, allocations: 135.7 kB / 0.5861 GB, free: 1.113 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.185e-05/0.603, allocations: 15.94 kB / 0.5862 GB, free: 1.098 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.934e-05/0.6031, allocations: 24 kB / 0.5862 GB, free: 1.074 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.191e-05/0.6031, allocations: 19.92 kB / 0.5862 GB, free: 1.055 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.344e-05/0.6031, allocations: 16.44 kB / 0.5862 GB, free: 1.039 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002125/0.6053, allocations: 1.515 MB / 0.5877 GB, free: 15.38 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007663/0.6061, allocations: 275.6 kB / 0.588 GB, free: 15.09 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005656/0.6066, allocations: 27.94 kB / 0.588 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.6077, allocations: 31.97 kB / 0.588 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.6078, allocations: 75.69 kB / 0.5881 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.15e-05/0.6079, allocations: 47.97 kB / 0.5881 GB, free: 14.91 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002879/0.6108, allocations: 1.32 MB / 0.5894 GB, free: 13.57 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6108, allocations: 0 / 0.5894 GB, free: 13.57 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004049/0.6149, allocations: 0.7669 MB / 0.5902 GB, free: 12.8 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.0004837/0.6154, allocations: 154.8 kB / 0.5903 GB, free: 12.64 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00403/0.6194, allocations: 2.254 MB / 0.5925 GB, free: 10.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.066e-06/0.6195, allocations: 0 / 0.5925 GB, free: 10.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007785/0.6202, allocations: 0.5378 MB / 0.5931 GB, free: 9.863 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/0.6222, allocations: 262.2 kB / 0.5933 GB, free: 9.605 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.6343, allocations: 5.626 MB / 0.5988 GB, free: 3.828 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003931/0.6383, allocations: 2.405 MB / 0.6011 GB, free: 1.398 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002705/0.641, allocations: 1.016 MB / 0.6021 GB, free: 388 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004967/0.6415, allocations: 135.4 kB / 0.6023 GB, free: 252 kB / 478.1 MB Notification: Performance of SimCode: time 1.333e-06/0.6415, allocations: 4 kB / 0.6023 GB, free: 248 kB / 478.1 MB Notification: Performance of Templates: time 0.0374/0.6789, allocations: 16.53 MB / 0.6184 GB, free: 15.71 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1)