Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.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.CutForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 100 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.001319/0.001319, allocations: 177.3 kB / 15.95 MB, free: 216 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.67/1.67, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.3845/0.3845, allocations: 40 MB / 310.4 MB, free: 9.617 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.0006055/0.0006058, allocations: 12 kB / 378.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1427, allocations: 57.96 MB / 436.8 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.3437/0.4864, allocations: 86.58 MB / 0.5111 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05776/0.5442, allocations: 19.21 MB / 0.5298 GB, free: 136 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02761/0.5719, allocations: 443.6 kB / 0.5303 GB, free: 68 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02287/0.5948, allocations: 4.396 MB / 0.5346 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05578/0.6506, allocations: 12.42 MB / 0.5467 GB, free: 7.066 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00918/0.6598, allocations: 1.243 MB / 0.5479 GB, free: 5.824 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01418/0.674, allocations: 4.562 MB / 0.5524 GB, free: 1.262 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01758/0.6916, allocations: 9.131 MB / 0.5613 GB, free: 8.078 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005628/0.6973, allocations: 2.087 MB / 0.5633 GB, free: 5.984 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005732/0.7031, allocations: 2.672 MB / 0.5659 GB, free: 3.305 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002481/0.7056, allocations: 284 kB / 0.5662 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00405/0.7096, allocations: 0.9519 MB / 0.5671 GB, free: 2.074 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005959/0.7156, allocations: 3.125 MB / 0.5702 GB, free: 14.94 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004556/0.7202, allocations: 1.54 MB / 0.5717 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0165/0.7368, allocations: 10.05 MB / 0.5815 GB, free: 3.316 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.7368, allocations: 4 kB / 0.5815 GB, free: 3.312 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.108e-06/0.7368, allocations: 0 / 0.5815 GB, free: 3.312 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000662/0.7375, allocations: 3.938 kB / 0.5815 GB, free: 3.309 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2799 * Number of variables: 2799 Notification: Performance of Generate backend data structure: time 0.02455/0.762, allocations: 7.947 MB / 0.5893 GB, free: 11.28 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/0.7621, allocations: 12.03 kB / 0.5893 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0152/0.7773, allocations: 3.074 MB / 0.5923 GB, free: 8.176 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01722/0.7946, allocations: 5.665 MB / 0.5978 GB, free: 2.438 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007224/0.7954, allocations: 471.5 kB / 0.5982 GB, free: 1.977 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003428/0.7988, allocations: 0.5817 MB / 0.5988 GB, free: 1.395 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0441/0.843, allocations: 18.88 MB / 0.6173 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002406/0.8433, allocations: 71.41 kB / 0.6173 GB, free: 13.28 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001027/0.8443, allocations: 287.7 kB / 0.6176 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005447/0.8498, allocations: 3.445 MB / 0.621 GB, free: 9.551 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5201/1.37, allocations: 14.76 MB / 0.6354 GB, free: 134.8 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1033/1.473, allocations: 70.76 MB / 0.7045 GB, free: 88.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02012/1.493, allocations: 6.137 MB / 0.7105 GB, free: 86.36 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02323/1.517, allocations: 10.99 MB / 0.7212 GB, free: 78.87 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.786e-05/1.517, allocations: 57.69 kB / 0.7213 GB, free: 78.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=238): time 7.424e-06/1.517, allocations: 0 / 0.7213 GB, free: 78.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.04679/1.564, allocations: 16.41 MB / 0.7373 GB, free: 66.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/1.564, allocations: 162.5 kB / 0.7374 GB, free: 66.59 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00997/1.574, allocations: 7.093 MB / 0.7444 GB, free: 59.51 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006847/1.575, allocations: 68.36 kB / 0.7444 GB, free: 59.44 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003709/1.578, allocations: 5.547 MB / 0.7498 GB, free: 53.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001596/1.58, allocations: 1.018 MB / 0.7508 GB, free: 52.88 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004564/1.58, allocations: 180 kB / 0.751 GB, free: 52.71 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004621/1.581, allocations: 0.6907 MB / 0.7517 GB, free: 52.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004135/1.585, allocations: 2.587 MB / 0.7542 GB, free: 49.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006745/1.592, allocations: 8.266 MB / 0.7623 GB, free: 38.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006634/1.598, allocations: 4.463 MB / 0.7666 GB, free: 33.84 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001303/1.599, allocations: 60 kB / 0.7667 GB, free: 33.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.02132/1.62, allocations: 10.56 MB / 0.777 GB, free: 23.22 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003993/1.62, allocations: 92 kB / 0.7771 GB, free: 23.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005516/1.621, allocations: 207.9 kB / 0.7773 GB, free: 22.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005097/1.621, allocations: 296 kB / 0.7776 GB, free: 22.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007648/1.629, allocations: 2.105 MB / 0.7796 GB, free: 20.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005578/1.63, allocations: 398.5 kB / 0.78 GB, free: 20.14 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008924/1.639, allocations: 458.6 kB / 0.7805 GB, free: 19.69 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001767/1.64, allocations: 0.5547 MB / 0.781 GB, free: 19.14 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 923 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1139): * Single equations (assignments): 1128 * Array equations: 11 * 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.008979/1.649, allocations: 3.624 MB / 0.7845 GB, free: 15.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001661/1.651, allocations: 0.5745 MB / 0.7851 GB, free: 14.92 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005865/1.657, allocations: 2.787 MB / 0.7878 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.265e-05/1.657, allocations: 28 kB / 0.7878 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.691e-05/1.657, allocations: 0 / 0.7878 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.36e-05/1.657, allocations: 15.95 kB / 0.7879 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04768/1.705, allocations: 26.58 MB / 0.8138 GB, free: 0.7539 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.854e-05/1.705, allocations: 56.03 kB / 0.8139 GB, free: 0.6992 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001919/1.707, allocations: 0.5185 MB / 0.8144 GB, free: 184 kB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.236e-05/1.707, allocations: 80 kB / 0.8144 GB, free: 104 kB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002099/1.707, allocations: 120 kB / 0.8146 GB, free: 15.98 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.477e-05/1.707, allocations: 107.5 kB / 0.8147 GB, free: 15.88 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-05/1.707, allocations: 83.62 kB / 0.8147 GB, free: 15.8 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2878/1.995, allocations: 14.81 MB / 0.8292 GB, free: 153.1 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002436/1.998, allocations: 0.6985 MB / 0.8299 GB, free: 153 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001372/1.999, allocations: 121.4 kB / 0.83 GB, free: 153 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00306/2.002, allocations: 142.1 kB / 0.8301 GB, free: 153 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000553/2.003, allocations: 360.9 kB / 0.8305 GB, free: 153 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002302/2.003, allocations: 150.5 kB / 0.8306 GB, free: 153 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.009067/2.012, allocations: 4.491 MB / 0.835 GB, free: 152.7 MB / 0.5138 GB Notification: Performance of sort global known variables: time 4.81e-07/2.012, allocations: 0.8125 kB / 0.835 GB, free: 152.7 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0102/2.022, allocations: 1.516 MB / 0.8365 GB, free: 152.7 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * 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 (273): * Single equations (assignments): 270 * 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.001082/2.023, allocations: 318.5 kB / 0.8368 GB, free: 152.6 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01049/2.034, allocations: 6.059 MB / 0.8427 GB, free: 151.5 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.743e-05/2.034, allocations: 9.188 kB / 0.8427 GB, free: 151.5 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.002422/2.036, allocations: 1.49 MB / 0.8442 GB, free: 151 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005539/2.042, allocations: 0.8566 MB / 0.845 GB, free: 150.7 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04465/2.087, allocations: 20.09 MB / 0.8646 GB, free: 139.2 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.014/2.101, allocations: 5.748 MB / 0.8703 GB, free: 137.4 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.01145/2.112, allocations: 2.789 MB / 0.873 GB, free: 137.1 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002487/2.115, allocations: 402.8 kB / 0.8734 GB, free: 137.1 MB / 0.5138 GB Notification: Performance of SimCode: time 1.483e-06/2.115, allocations: 0 / 0.8734 GB, free: 137.1 MB / 0.5138 GB Notification: Performance of Templates: time 0.102/2.217, allocations: 46.64 MB / 0.9189 GB, free: 106.3 MB / 0.5138 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) Environment - environmentSimulation: