Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_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.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.CutForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce") translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001007/0.001007, allocations: 100.1 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.001128/0.001128, 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.493/1.493, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.3562/0.3562, allocations: 38.02 MB / 308.4 MB, free: 10.32 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.000533/0.000533, allocations: 20 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1275, allocations: 57.52 MB / 433.9 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.2887/0.4162, allocations: 86.59 MB / 0.5083 GB, free: 15.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.04734/0.4636, allocations: 19.21 MB / 0.5271 GB, free: 2.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02798/0.4917, allocations: 443.3 kB / 0.5275 GB, free: 2.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01926/0.511, allocations: 4.396 MB / 0.5318 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05047/0.5615, allocations: 12.41 MB / 0.5439 GB, free: 10.47 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006996/0.5685, allocations: 1.244 MB / 0.5451 GB, free: 9.691 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01065/0.5792, allocations: 4.566 MB / 0.5496 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01545/0.5947, allocations: 9.133 MB / 0.5585 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005955/0.6008, allocations: 2.079 MB / 0.5605 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005444/0.6063, allocations: 2.687 MB / 0.5632 GB, free: 7.547 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002096/0.6084, allocations: 284 kB / 0.5634 GB, free: 7.27 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005189/0.6136, allocations: 0.9403 MB / 0.5643 GB, free: 6.328 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005438/0.6191, allocations: 3.129 MB / 0.5674 GB, free: 3.191 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003361/0.6225, allocations: 1.54 MB / 0.5689 GB, free: 1.641 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01333/0.6359, allocations: 10.06 MB / 0.5787 GB, free: 7.562 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.636, allocations: 0 / 0.5787 GB, free: 7.562 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.587e-06/0.636, allocations: 7.938 kB / 0.5787 GB, free: 7.555 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005252/0.6365, allocations: 0 / 0.5787 GB, free: 7.555 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.01899/0.6555, allocations: 7.935 MB / 0.5865 GB, free: 15.54 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.6556, allocations: 8.031 kB / 0.5865 GB, free: 15.53 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01356/0.6691, allocations: 3.089 MB / 0.5895 GB, free: 12.42 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01506/0.6843, allocations: 5.655 MB / 0.595 GB, free: 6.691 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004729/0.6848, allocations: 466.2 kB / 0.5955 GB, free: 6.238 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002918/0.6877, allocations: 0.5972 MB / 0.5961 GB, free: 5.641 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03959/0.7273, allocations: 18.87 MB / 0.6145 GB, free: 1.609 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003173/0.7277, allocations: 79.31 kB / 0.6146 GB, free: 1.531 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001658/0.7294, allocations: 291.7 kB / 0.6148 GB, free: 1.246 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005823/0.7352, allocations: 3.441 MB / 0.6182 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5358/1.271, allocations: 14.75 MB / 0.6326 GB, free: 134.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0971/1.368, allocations: 70.76 MB / 0.7017 GB, free: 90.31 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01785/1.386, allocations: 6.146 MB / 0.7077 GB, free: 88.36 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02322/1.409, allocations: 10.98 MB / 0.7184 GB, free: 81.42 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.135e-05/1.409, allocations: 60.77 kB / 0.7185 GB, free: 81.36 MB / 494.1 MB Notification: Performance of pre-optimization done (n=238): time 6.252e-06/1.41, allocations: 4 kB / 0.7185 GB, free: 81.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.04528/1.455, allocations: 16.41 MB / 0.7345 GB, free: 71.96 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.759e-05/1.455, allocations: 156.8 kB / 0.7347 GB, free: 71.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008825/1.464, allocations: 7.086 MB / 0.7416 GB, free: 65.88 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004569/1.464, allocations: 68.52 kB / 0.7417 GB, free: 65.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002558/1.467, allocations: 5.546 MB / 0.7471 GB, free: 60.26 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000872/1.468, allocations: 1.009 MB / 0.7481 GB, free: 59.26 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003134/1.468, allocations: 182.5 kB / 0.7482 GB, free: 59.08 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003372/1.468, allocations: 0.6985 MB / 0.7489 GB, free: 58.38 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003452/1.472, allocations: 2.583 MB / 0.7514 GB, free: 55.79 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005687/1.478, allocations: 8.266 MB / 0.7595 GB, free: 44.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005502/1.483, allocations: 4.472 MB / 0.7639 GB, free: 40.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.144e-05/1.483, allocations: 56 kB / 0.7639 GB, free: 40.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=1203) (initialization): time 0.0167/1.5, allocations: 10.56 MB / 0.7742 GB, free: 29.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001072/1.5, allocations: 103.2 kB / 0.7743 GB, free: 29.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001802/1.5, allocations: 200 kB / 0.7745 GB, free: 29.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002102/1.5, allocations: 296 kB / 0.7748 GB, free: 29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006236/1.507, allocations: 2.118 MB / 0.7769 GB, free: 26.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000276/1.507, allocations: 398.5 kB / 0.7773 GB, free: 26.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006788/1.514, allocations: 454.5 kB / 0.7777 GB, free: 26.05 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009341/1.515, allocations: 0.549 MB / 0.7782 GB, free: 25.5 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.006965/1.522, allocations: 3.625 MB / 0.7818 GB, free: 21.86 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0011/1.523, allocations: 0.5707 MB / 0.7823 GB, free: 21.29 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004269/1.527, allocations: 2.787 MB / 0.785 GB, free: 18.48 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.914e-05/1.527, allocations: 24 kB / 0.7851 GB, free: 18.46 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/1.527, allocations: 4 kB / 0.7851 GB, free: 18.46 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/1.527, allocations: 19.94 kB / 0.7851 GB, free: 18.44 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03936/1.567, allocations: 26.57 MB / 0.811 GB, free: 7.125 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.532e-05/1.567, allocations: 52 kB / 0.8111 GB, free: 7.074 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001953/1.569, allocations: 0.5302 MB / 0.8116 GB, free: 6.543 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.468e-05/1.569, allocations: 76.56 kB / 0.8117 GB, free: 6.469 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000277/1.569, allocations: 116 kB / 0.8118 GB, free: 6.355 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-05/1.569, allocations: 103.6 kB / 0.8119 GB, free: 6.254 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.593e-05/1.569, allocations: 83.62 kB / 0.812 GB, free: 6.172 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3401/1.909, allocations: 14.81 MB / 0.8264 GB, free: 130.9 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002402/1.912, allocations: 0.701 MB / 0.8271 GB, free: 130.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008567/1.913, allocations: 133.3 kB / 0.8272 GB, free: 130.8 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002481/1.915, allocations: 140 kB / 0.8274 GB, free: 130.8 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003904/1.915, allocations: 360.8 kB / 0.8277 GB, free: 130.8 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002198/1.916, allocations: 148.4 kB / 0.8279 GB, free: 130.8 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.009146/1.925, allocations: 4.492 MB / 0.8322 GB, free: 130.5 MB / 0.4982 GB Notification: Performance of sort global known variables: time 6.11e-07/1.925, allocations: 0 / 0.8322 GB, free: 130.5 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01085/1.936, allocations: 1.52 MB / 0.8337 GB, free: 130.5 MB / 0.4982 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.001096/1.937, allocations: 316.1 kB / 0.834 GB, free: 130.4 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01171/1.949, allocations: 6.058 MB / 0.8399 GB, free: 128.9 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-05/1.949, allocations: 6.031 kB / 0.84 GB, free: 128.9 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.002505/1.951, allocations: 1.484 MB / 0.8414 GB, free: 128.4 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006407/1.958, allocations: 0.8681 MB / 0.8423 GB, free: 128.1 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04033/1.998, allocations: 20.09 MB / 0.8619 GB, free: 116.6 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0121/2.01, allocations: 5.749 MB / 0.8675 GB, free: 114.7 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.009827/2.02, allocations: 2.786 MB / 0.8702 GB, free: 114.4 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001476/2.022, allocations: 406.6 kB / 0.8706 GB, free: 114.4 MB / 0.4982 GB Notification: Performance of SimCode: time 1.362e-06/2.022, allocations: 4 kB / 0.8706 GB, free: 114.4 MB / 0.4982 GB Notification: Performance of Templates: time 0.1069/2.128, allocations: 46.63 MB / 0.9161 GB, free: 82.38 MB / 0.4982 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForce.pipe 2>&1) Environment - environmentSimulation: