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.0008007/0.0008006, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009001/0.0009006, allocations: 172.7 kB / 15.95 MB, free: 208 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.471/1.471, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.394/0.394, allocations: 38.04 MB / 308.4 MB, free: 10.4 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.0005361/0.0005364, allocations: 16 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1149, allocations: 57.53 MB / 434 MB, free: 5.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.309/0.4239, allocations: 91.68 MB / 0.5133 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05436/0.4783, allocations: 18.3 MB / 0.5312 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02889/0.5073, allocations: 444.5 kB / 0.5316 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02198/0.5294, allocations: 4.89 MB / 0.5364 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05047/0.5799, allocations: 14.36 MB / 0.5504 GB, free: 5.18 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008611/0.5885, allocations: 1.256 MB / 0.5516 GB, free: 3.926 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01505/0.6036, allocations: 9.477 MB / 0.5609 GB, free: 10.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01453/0.6182, allocations: 9.199 MB / 0.5699 GB, free: 1.176 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006671/0.6249, allocations: 2.608 MB / 0.5724 GB, free: 14.56 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006922/0.6319, allocations: 3.86 MB / 0.5762 GB, free: 10.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002319/0.6343, allocations: 284 kB / 0.5765 GB, free: 10.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004172/0.6385, allocations: 0.9792 MB / 0.5774 GB, free: 9.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005752/0.6443, allocations: 3.37 MB / 0.5807 GB, free: 6.051 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003935/0.6482, allocations: 1.54 MB / 0.5822 GB, free: 4.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01422/0.6625, allocations: 10.02 MB / 0.592 GB, free: 10.46 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.6625, allocations: 0 / 0.592 GB, free: 10.46 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.6625, allocations: 0 / 0.592 GB, free: 10.46 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005875/0.6631, allocations: 0 / 0.592 GB, free: 10.46 MB / 462.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.01854/0.6817, allocations: 7.697 MB / 0.5995 GB, free: 2.68 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.6818, allocations: 12.03 kB / 0.5995 GB, free: 2.668 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01124/0.693, allocations: 2.723 MB / 0.6022 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01036/0.7034, allocations: 4.853 MB / 0.6069 GB, free: 11 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005443/0.704, allocations: 470.3 kB / 0.6074 GB, free: 10.54 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002611/0.7066, allocations: 0.5894 MB / 0.608 GB, free: 9.953 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04146/0.7481, allocations: 18.73 MB / 0.6262 GB, free: 6.062 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002639/0.7484, allocations: 79.39 kB / 0.6263 GB, free: 5.984 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001158/0.7496, allocations: 287.7 kB / 0.6266 GB, free: 5.703 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005062/0.7547, allocations: 3.448 MB / 0.63 GB, free: 2.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4592/1.214, allocations: 14.57 MB / 0.6442 GB, free: 138.3 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09524/1.309, allocations: 70.42 MB / 0.713 GB, free: 91.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01585/1.325, allocations: 6.115 MB / 0.7189 GB, free: 88.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004397/1.329, allocations: 2.452 MB / 0.7213 GB, free: 86.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02186/1.351, allocations: 10.84 MB / 0.7319 GB, free: 77.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/1.351, allocations: 64.5 kB / 0.732 GB, free: 77.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=238): time 6.943e-06/1.352, allocations: 0 / 0.732 GB, free: 77.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=262): time 0.04305/1.395, allocations: 15.89 MB / 0.7475 GB, free: 61.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.16e-05/1.395, allocations: 158.5 kB / 0.7476 GB, free: 61.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007824/1.402, allocations: 6.605 MB / 0.7541 GB, free: 54.55 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005456/1.403, allocations: 61.7 kB / 0.7541 GB, free: 54.48 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002659/1.406, allocations: 5.532 MB / 0.7595 GB, free: 48.95 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009415/1.407, allocations: 1.017 MB / 0.7605 GB, free: 47.94 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003453/1.407, allocations: 186.8 kB / 0.7607 GB, free: 47.76 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00036/1.407, allocations: 0.6949 MB / 0.7614 GB, free: 47.06 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003495/1.411, allocations: 2.625 MB / 0.764 GB, free: 44.43 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005649/1.417, allocations: 8.338 MB / 0.7721 GB, free: 33.25 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006061/1.423, allocations: 4.505 MB / 0.7765 GB, free: 28.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001144/1.423, allocations: 60 kB / 0.7766 GB, free: 28.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.01781/1.441, allocations: 10.64 MB / 0.7869 GB, free: 18.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000102/1.441, allocations: 94.97 kB / 0.787 GB, free: 17.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000187/1.441, allocations: 204 kB / 0.7872 GB, free: 17.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002133/1.441, allocations: 296 kB / 0.7875 GB, free: 17.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006397/1.448, allocations: 2.141 MB / 0.7896 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002532/1.448, allocations: 398.5 kB / 0.79 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006731/1.455, allocations: 456.4 kB / 0.7904 GB, free: 14.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001374/1.456, allocations: 0.5656 MB / 0.791 GB, free: 13.92 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 (1155): * Single equations (assignments): 1144 * 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.007528/1.464, allocations: 3.618 MB / 0.7945 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009933/1.465, allocations: 0.5668 MB / 0.7951 GB, free: 9.715 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00413/1.469, allocations: 2.783 MB / 0.7978 GB, free: 6.914 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.768e-05/1.469, allocations: 28 kB / 0.7978 GB, free: 6.887 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/1.469, allocations: 12 kB / 0.7978 GB, free: 6.875 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/1.469, allocations: 11.95 kB / 0.7978 GB, free: 6.863 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2586/1.727, allocations: 26.53 MB / 0.8237 GB, free: 140.4 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.552e-05/1.727, allocations: 51.41 kB / 0.8238 GB, free: 140.4 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/1.729, allocations: 0.5212 MB / 0.8243 GB, free: 140.3 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-05/1.729, allocations: 82.38 kB / 0.8244 GB, free: 140.3 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002048/1.729, allocations: 117.1 kB / 0.8245 GB, free: 140.3 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.848e-05/1.729, allocations: 106.9 kB / 0.8246 GB, free: 140.3 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.313e-05/1.729, allocations: 79.5 kB / 0.8247 GB, free: 140.3 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005337/1.735, allocations: 5.223 MB / 0.8298 GB, free: 137.5 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001576/1.736, allocations: 0.6903 MB / 0.8304 GB, free: 137.4 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006674/1.737, allocations: 123.5 kB / 0.8306 GB, free: 137.4 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002076/1.739, allocations: 142.6 kB / 0.8307 GB, free: 137.4 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003182/1.739, allocations: 353.5 kB / 0.831 GB, free: 137.4 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001649/1.74, allocations: 149.3 kB / 0.8312 GB, free: 137.4 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.005597/1.745, allocations: 4.118 MB / 0.8352 GB, free: 136.5 MB / 0.4982 GB Notification: Performance of sort global known variables: time 8.51e-07/1.745, allocations: 0 / 0.8352 GB, free: 136.5 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.008173/1.753, allocations: 1.507 MB / 0.8367 GB, free: 136.4 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.0006662/1.754, allocations: 304.8 kB / 0.837 GB, free: 136.2 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.009205/1.763, allocations: 6.094 MB / 0.8429 GB, free: 134.2 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 3.9e-05/1.763, allocations: 11.47 kB / 0.8429 GB, free: 134.2 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.002166/1.766, allocations: 1.49 MB / 0.8444 GB, free: 133.7 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006688/1.772, allocations: 0.8955 MB / 0.8452 GB, free: 133.4 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03374/1.806, allocations: 20.18 MB / 0.865 GB, free: 121.7 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008954/1.815, allocations: 5.575 MB / 0.8704 GB, free: 119.9 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.008726/1.824, allocations: 2.782 MB / 0.8731 GB, free: 119.6 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001779/1.826, allocations: 406.5 kB / 0.8735 GB, free: 119.6 MB / 0.4982 GB Notification: Performance of SimCode: time 1.372e-06/1.826, allocations: 0 / 0.8735 GB, free: 119.6 MB / 0.4982 GB Notification: Performance of Templates: time 0.08548/1.911, allocations: 45.84 MB / 0.9183 GB, free: 84.53 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: