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.006006/0.006006, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.001395/0.001395, allocations: 197.7 kB / 16.68 MB, free: 5.961 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.461/1.461, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.3267/0.3267, allocations: 37.99 MB / 307.9 MB, free: 10.06 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.002242/0.002242, allocations: 68.52 kB / 433 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4498/0.4521, allocations: 56.46 MB / 489.4 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01232/0.4645, allocations: 10.55 MB / 500 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009716/0.4742, allocations: 3.002 MB / 0.4912 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002813/0.4771, allocations: 56.44 kB / 0.4913 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004795/0.482, allocations: 2.005 MB / 0.4932 GB, free: 9.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004336/0.4863, allocations: 1.181 MB / 0.4944 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.4876, allocations: 294.5 kB / 0.4946 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005164/0.4928, allocations: 2.441 MB / 0.497 GB, free: 8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004327/0.4971, allocations: 2.386 MB / 0.4994 GB, free: 6.945 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001797/0.4989, allocations: 0.942 MB / 0.5003 GB, free: 6.414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001611/0.5006, allocations: 1.265 MB / 0.5015 GB, free: 5.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005129/0.5011, allocations: 216.7 kB / 0.5017 GB, free: 5.641 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001558/0.5026, allocations: 0.7043 MB / 0.5024 GB, free: 5.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001334/0.504, allocations: 1.215 MB / 0.5036 GB, free: 4.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001384/0.5054, allocations: 1.427 MB / 0.505 GB, free: 3.578 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005652/0.5111, allocations: 4.709 MB / 0.5096 GB, free: 296 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.5111, allocations: 1.625 kB / 0.5096 GB, free: 296 kB / 382.1 MB Notification: Performance of FrontEnd: time 4.107e-06/0.5111, allocations: 0 / 0.5096 GB, free: 296 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000216/0.5113, allocations: 0 / 0.5096 GB, free: 296 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.00931/0.5206, allocations: 3.08 MB / 0.5126 GB, free: 14.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.917e-05/0.5207, allocations: 13.48 kB / 0.5126 GB, free: 14.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006209/0.527, allocations: 1.608 MB / 0.5142 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004064/0.531, allocations: 1.41 MB / 0.5156 GB, free: 12.22 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/0.5312, allocations: 153 kB / 0.5157 GB, free: 12.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005584/0.5318, allocations: 204.4 kB / 0.5159 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01164/0.5434, allocations: 6.786 MB / 0.5225 GB, free: 5.379 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-05/0.5436, allocations: 11.88 kB / 0.5225 GB, free: 5.367 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000289/0.5439, allocations: 95.89 kB / 0.5226 GB, free: 5.273 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002431/0.5463, allocations: 1.47 MB / 0.5241 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01064/0.557, allocations: 5.814 MB / 0.5297 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03361/0.5906, allocations: 21.44 MB / 0.5507 GB, free: 7.938 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005076/0.5957, allocations: 2.245 MB / 0.5529 GB, free: 5.566 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00119/0.597, allocations: 0.7814 MB / 0.5536 GB, free: 4.781 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007691/0.6047, allocations: 3.742 MB / 0.5573 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.585e-05/0.6048, allocations: 43.12 kB / 0.5573 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of pre-optimization done (n=93): time 4.298e-06/0.6048, allocations: 0 / 0.5573 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of matching and sorting (n=93): time 0.005769/0.6105, allocations: 2.193 MB / 0.5595 GB, free: 14.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.878e-05/0.6107, allocations: 59.97 kB / 0.5595 GB, free: 14.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003478/0.6141, allocations: 2.028 MB / 0.5615 GB, free: 12.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.095e-05/0.6142, allocations: 33.7 kB / 0.5615 GB, free: 12.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001862/0.6161, allocations: 1.96 MB / 0.5635 GB, free: 10.51 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005169/0.6166, allocations: 367.3 kB / 0.5638 GB, free: 10.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009478/0.6176, allocations: 0.6626 MB / 0.5645 GB, free: 9.477 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.6178, allocations: 361.9 kB / 0.5648 GB, free: 9.117 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/0.6194, allocations: 0.9627 MB / 0.5657 GB, free: 8.152 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003025/0.6224, allocations: 2.926 MB / 0.5686 GB, free: 4.254 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004837/0.6272, allocations: 4.24 MB / 0.5727 GB, free: 15.05 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.21e-05/0.6273, allocations: 20 kB / 0.5728 GB, free: 15.03 MB / 462.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.006464/0.6338, allocations: 3.784 MB / 0.5765 GB, free: 11.24 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.591e-05/0.6338, allocations: 40.03 kB / 0.5765 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.994e-05/0.6339, allocations: 68 kB / 0.5766 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.838e-05/0.634, allocations: 95.94 kB / 0.5766 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002012/0.636, allocations: 0.7096 MB / 0.5773 GB, free: 10.33 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001204/0.6361, allocations: 135.5 kB / 0.5775 GB, free: 10.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002381/0.6385, allocations: 443.2 kB / 0.5779 GB, free: 9.758 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003162/0.6389, allocations: 204 kB / 0.5781 GB, free: 9.559 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.003137/0.642, allocations: 1.427 MB / 0.5795 GB, free: 8.117 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003608/0.6424, allocations: 165.8 kB / 0.5796 GB, free: 7.953 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/0.6444, allocations: 1.193 MB / 0.5808 GB, free: 6.75 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.188e-05/0.6444, allocations: 12 kB / 0.5808 GB, free: 6.738 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6444, allocations: 0 / 0.5808 GB, free: 6.738 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.6444, allocations: 3.984 kB / 0.5808 GB, free: 6.734 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008668/0.6531, allocations: 4.982 MB / 0.5857 GB, free: 1.566 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/0.6532, allocations: 12 kB / 0.5857 GB, free: 1.555 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005406/0.6537, allocations: 135.7 kB / 0.5858 GB, free: 1.422 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.708e-05/0.6537, allocations: 15.94 kB / 0.5858 GB, free: 1.406 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.922e-05/0.6538, allocations: 24 kB / 0.5859 GB, free: 1.383 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.862e-05/0.6538, allocations: 19.92 kB / 0.5859 GB, free: 1.363 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.089e-05/0.6539, allocations: 12.38 kB / 0.5859 GB, free: 1.352 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/0.6558, allocations: 1.506 MB / 0.5874 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005783/0.6564, allocations: 270.4 kB / 0.5876 GB, free: 15.42 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/0.6566, allocations: 27.94 kB / 0.5877 GB, free: 15.39 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006202/0.6572, allocations: 31.97 kB / 0.5877 GB, free: 15.36 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.6574, allocations: 79.69 kB / 0.5878 GB, free: 15.28 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.041e-05/0.6574, allocations: 43.98 kB / 0.5878 GB, free: 15.24 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001885/0.6593, allocations: 1.324 MB / 0.5891 GB, free: 13.89 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6593, allocations: 3.938 kB / 0.5891 GB, free: 13.89 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003176/0.6625, allocations: 0.7543 MB / 0.5898 GB, free: 13.13 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.0003731/0.6629, allocations: 154.9 kB / 0.59 GB, free: 12.96 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003962/0.6669, allocations: 2.247 MB / 0.5922 GB, free: 10.74 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/0.6669, allocations: 0 / 0.5922 GB, free: 10.74 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007878/0.6677, allocations: 0.5454 MB / 0.5927 GB, free: 10.19 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001565/0.6693, allocations: 271.1 kB / 0.593 GB, free: 9.93 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/0.6802, allocations: 5.527 MB / 0.5984 GB, free: 4.258 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002498/0.6828, allocations: 2.401 MB / 0.6007 GB, free: 1.832 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002321/0.6851, allocations: 1.016 MB / 0.6017 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003359/0.6855, allocations: 131.4 kB / 0.6018 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6855, allocations: 4 kB / 0.6018 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of Templates: time 0.03359/0.7191, allocations: 16.25 MB / 0.6177 GB, free: 436 kB / 494.1 MB 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)