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.007557/0.007557, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.00134/0.00134, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.616/1.616, allocations: 205.1 MB / 222.6 MB, free: 4.539 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.3509/0.3509, allocations: 39.94 MB / 309.8 MB, free: 9.34 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.001792/0.001792, allocations: 71.89 kB / 435.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4514/0.4532, allocations: 56.87 MB / 492.7 MB, free: 19.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.02188/0.4751, allocations: 17.05 MB / 0.4978 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01962/0.4948, allocations: 5.307 MB / 0.5029 GB, free: 3.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007035/0.5019, allocations: 129.3 kB / 0.5031 GB, free: 3.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01393/0.5159, allocations: 6.072 MB / 0.509 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01304/0.529, allocations: 3.08 MB / 0.512 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005377/0.5345, allocations: 1.577 MB / 0.5135 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.02052/0.555, allocations: 8.201 MB / 0.5215 GB, free: 7.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01471/0.5698, allocations: 7.631 MB / 0.529 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008371/0.5783, allocations: 3.186 MB / 0.5321 GB, free: 12.11 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01007/0.5884, allocations: 4.218 MB / 0.5362 GB, free: 7.879 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003917/0.5924, allocations: 0.6406 MB / 0.5369 GB, free: 7.238 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007789/0.6002, allocations: 1.463 MB / 0.5383 GB, free: 5.773 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009124/0.6094, allocations: 3.92 MB / 0.5421 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01208/0.6215, allocations: 4.288 MB / 0.5463 GB, free: 13.53 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02481/0.6464, allocations: 13.08 MB / 0.5591 GB, free: 412 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.395e-05/0.6465, allocations: 0 / 0.5591 GB, free: 412 kB / 430.1 MB Notification: Performance of FrontEnd: time 5.811e-06/0.6465, allocations: 4 kB / 0.5591 GB, free: 408 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0007503/0.6472, allocations: 0 / 0.5591 GB, free: 408 kB / 430.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.03122/0.6785, allocations: 9.237 MB / 0.5681 GB, free: 7.074 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/0.6786, allocations: 11.89 kB / 0.5681 GB, free: 7.062 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01274/0.6913, allocations: 2.669 MB / 0.5707 GB, free: 4.379 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01548/0.7068, allocations: 5.075 MB / 0.5757 GB, free: 15.23 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000597/0.7075, allocations: 467.5 kB / 0.5761 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00346/0.711, allocations: 0.5895 MB / 0.5767 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0498/0.7608, allocations: 18.73 MB / 0.595 GB, free: 10.29 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004022/0.7613, allocations: 71.25 kB / 0.5951 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002876/0.7642, allocations: 287.7 kB / 0.5953 GB, free: 9.934 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006151/0.7704, allocations: 3.452 MB / 0.5987 GB, free: 6.477 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03684/0.8072, allocations: 14.6 MB / 0.613 GB, free: 7.859 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7539/1.561, allocations: 70.17 MB / 0.6815 GB, free: 71.21 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02582/1.587, allocations: 6.126 MB / 0.6875 GB, free: 69.28 MB / 0.4982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007318/1.594, allocations: 2.462 MB / 0.6899 GB, free: 68.38 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02984/1.624, allocations: 10.83 MB / 0.7004 GB, free: 62.3 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.437e-05/1.624, allocations: 68.34 kB / 0.7005 GB, free: 62.24 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=238): time 9.969e-06/1.625, allocations: 0 / 0.7005 GB, free: 62.24 MB / 0.4982 GB Notification: Performance of matching and sorting (n=262): time 0.05412/1.679, allocations: 15.86 MB / 0.716 GB, free: 53.28 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.215e-05/1.679, allocations: 163.5 kB / 0.7162 GB, free: 53.12 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0145/1.693, allocations: 6.648 MB / 0.7226 GB, free: 49.73 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0008992/1.694, allocations: 63.27 kB / 0.7227 GB, free: 49.67 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.005545/1.7, allocations: 5.531 MB / 0.7281 GB, free: 44.86 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.00201/1.702, allocations: 1.01 MB / 0.7291 GB, free: 44.01 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003721/1.706, allocations: 1.84 MB / 0.7309 GB, free: 42.97 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 6.147e-05/1.706, allocations: 305.1 kB / 0.7312 GB, free: 42.67 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00651/1.712, allocations: 2.655 MB / 0.7338 GB, free: 40.42 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01081/1.723, allocations: 8.369 MB / 0.7419 GB, free: 29.24 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01776/1.741, allocations: 12 MB / 0.7537 GB, free: 14.4 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003361/1.741, allocations: 56 kB / 0.7537 GB, free: 14.35 MB / 0.4982 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.03193/1.773, allocations: 10.72 MB / 0.7642 GB, free: 3.617 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005712/1.774, allocations: 92 kB / 0.7643 GB, free: 3.527 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006886/1.775, allocations: 208.2 kB / 0.7645 GB, free: 3.324 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005259/1.775, allocations: 264 kB / 0.7647 GB, free: 3.066 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01133/1.787, allocations: 2.141 MB / 0.7668 GB, free: 0.9219 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006145/1.787, allocations: 398.5 kB / 0.7672 GB, free: 0.5312 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01073/1.798, allocations: 453.7 kB / 0.7676 GB, free: 92 kB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002174/1.8, allocations: 0.5605 MB / 0.7682 GB, free: 15.53 MB / 0.5138 GB 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 (1155): * Single equations (assignments): 1144 * Array equations: 11 * 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.009615/1.81, allocations: 3.619 MB / 0.7717 GB, free: 11.9 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001913/1.812, allocations: 0.5746 MB / 0.7723 GB, free: 11.32 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007332/1.819, allocations: 2.787 MB / 0.775 GB, free: 8.512 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.315e-05/1.819, allocations: 28 kB / 0.775 GB, free: 8.484 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.948e-05/1.819, allocations: 7.984 kB / 0.775 GB, free: 8.477 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.149e-05/1.819, allocations: 7.969 kB / 0.775 GB, free: 8.469 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0538/1.873, allocations: 26.57 MB / 0.801 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002044/1.873, allocations: 52 kB / 0.801 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002236/1.876, allocations: 0.5185 MB / 0.8015 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.98e-05/1.876, allocations: 72 kB / 0.8016 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000505/1.876, allocations: 120 kB / 0.8017 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.181e-05/1.876, allocations: 103.6 kB / 0.8018 GB, free: 12.29 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.38e-05/1.876, allocations: 83.62 kB / 0.8019 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006991/1.883, allocations: 5.243 MB / 0.807 GB, free: 6.125 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002579/1.886, allocations: 0.6768 MB / 0.8077 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008333/1.887, allocations: 124 kB / 0.8078 GB, free: 5.305 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002318/1.889, allocations: 143.8 kB / 0.8079 GB, free: 5.164 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004274/1.89, allocations: 358.2 kB / 0.8083 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000194/1.89, allocations: 152 kB / 0.8084 GB, free: 4.664 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00713/1.897, allocations: 4.15 MB / 0.8125 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.21e-07/1.897, allocations: 0 / 0.8125 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01095/1.908, allocations: 1.511 MB / 0.814 GB, free: 15.02 MB / 0.5607 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 (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.000925/1.909, allocations: 296.4 kB / 0.8142 GB, free: 14.73 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.0113/1.92, allocations: 6.289 MB / 0.8204 GB, free: 8.496 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 6.991e-05/1.92, allocations: 8 kB / 0.8204 GB, free: 8.488 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.002597/1.923, allocations: 1.499 MB / 0.8218 GB, free: 7 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007073/1.93, allocations: 0.9122 MB / 0.8227 GB, free: 6.094 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03265/1.963, allocations: 16.96 MB / 0.8393 GB, free: 4.359 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008807/1.972, allocations: 5.584 MB / 0.8448 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.007339/1.979, allocations: 2.776 MB / 0.8475 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001458/1.98, allocations: 395.4 kB / 0.8478 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of SimCode: time 3.696e-06/1.98, allocations: 4 kB / 0.8478 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of Templates: time 0.4223/2.403, allocations: 43.34 MB / 0.8902 GB, free: 178.9 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.makefile (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)