Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.CutForce2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2") translateModel(ModelicaTest.MultiBody.Sensors.CutForce2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.005733/0.005733, allocations: 101.2 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.001264/0.001264, allocations: 197.4 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.619/1.619, allocations: 205.1 MB / 222.5 MB, free: 4.402 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.396/0.396, allocations: 39.95 MB / 309.8 MB, free: 9.641 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.001743/0.001743, allocations: 63.91 kB / 435.8 MB, free: 2.457 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3536, allocations: 56.87 MB / 492.6 MB, free: 19.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01263/0.3663, allocations: 10.54 MB / 0.4914 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009116/0.3755, allocations: 2.998 MB / 0.4943 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003192/0.3788, allocations: 52.06 kB / 0.4944 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00508/0.3839, allocations: 2.016 MB / 0.4963 GB, free: 8.977 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004273/0.3882, allocations: 1.182 MB / 0.4975 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.3893, allocations: 293.6 kB / 0.4978 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004196/0.3935, allocations: 2.453 MB / 0.5002 GB, free: 6.805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003244/0.3967, allocations: 2.375 MB / 0.5025 GB, free: 5.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001779/0.3985, allocations: 0.953 MB / 0.5034 GB, free: 4.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001821/0.4004, allocations: 1.264 MB / 0.5047 GB, free: 4.141 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005337/0.4009, allocations: 212.6 kB / 0.5049 GB, free: 4.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001546/0.4025, allocations: 0.6967 MB / 0.5055 GB, free: 3.871 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001166/0.4036, allocations: 1.211 MB / 0.5067 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001499/0.4051, allocations: 1.429 MB / 0.5081 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006188/0.4113, allocations: 4.705 MB / 0.5127 GB, free: 14.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.697e-06/0.4114, allocations: 0 / 0.5127 GB, free: 14.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.611e-06/0.4114, allocations: 0 / 0.5127 GB, free: 14.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002835/0.4117, allocations: 9.062 kB / 0.5127 GB, free: 14.79 MB / 398.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.01037/0.4221, allocations: 3.076 MB / 0.5157 GB, free: 12.54 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.571e-05/0.4222, allocations: 13.45 kB / 0.5157 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005983/0.4282, allocations: 1.616 MB / 0.5173 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004064/0.4323, allocations: 1.402 MB / 0.5187 GB, free: 9.656 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/0.4324, allocations: 156.3 kB / 0.5188 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006507/0.4331, allocations: 199.8 kB / 0.519 GB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01245/0.4456, allocations: 6.781 MB / 0.5256 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.665e-05/0.4457, allocations: 11.88 kB / 0.5257 GB, free: 2.184 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002777/0.446, allocations: 91.89 kB / 0.5257 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002454/0.4484, allocations: 1.481 MB / 0.5272 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01194/0.4604, allocations: 5.818 MB / 0.5329 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03372/0.4941, allocations: 21.43 MB / 0.5538 GB, free: 4.75 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005206/0.4994, allocations: 2.257 MB / 0.556 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001408/0.5009, allocations: 0.7892 MB / 0.5568 GB, free: 1.566 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008623/0.5095, allocations: 3.734 MB / 0.5604 GB, free: 13.69 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.659e-05/0.5096, allocations: 43.06 kB / 0.5605 GB, free: 13.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=93): time 5.7e-06/0.5096, allocations: 0 / 0.5605 GB, free: 13.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=93): time 0.006384/0.516, allocations: 2.189 MB / 0.5626 GB, free: 11.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.752e-05/0.5161, allocations: 59.97 kB / 0.5627 GB, free: 11.37 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004581/0.5207, allocations: 2.024 MB / 0.5646 GB, free: 9.344 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.5209, allocations: 33.7 kB / 0.5647 GB, free: 9.305 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001933/0.5228, allocations: 1.964 MB / 0.5666 GB, free: 7.309 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006943/0.5235, allocations: 375.3 kB / 0.5669 GB, free: 6.938 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0016/0.5252, allocations: 0.6509 MB / 0.5676 GB, free: 6.277 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002213/0.5254, allocations: 361.9 kB / 0.5679 GB, free: 5.918 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00181/0.5272, allocations: 0.9627 MB / 0.5689 GB, free: 4.953 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003235/0.5305, allocations: 2.922 MB / 0.5717 GB, free: 1.059 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005225/0.5357, allocations: 4.244 MB / 0.5759 GB, free: 11.84 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.161e-05/0.5358, allocations: 20 kB / 0.5759 GB, free: 11.82 MB / 462.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.007089/0.5429, allocations: 3.788 MB / 0.5796 GB, free: 8.035 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.64e-05/0.543, allocations: 37.25 kB / 0.5796 GB, free: 8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000118/0.5432, allocations: 68 kB / 0.5797 GB, free: 7.934 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001196/0.5433, allocations: 95.94 kB / 0.5798 GB, free: 7.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002301/0.5456, allocations: 0.7096 MB / 0.5805 GB, free: 7.129 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001342/0.5457, allocations: 135.5 kB / 0.5806 GB, free: 6.996 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002589/0.5483, allocations: 451.3 kB / 0.581 GB, free: 6.551 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004332/0.5488, allocations: 200 kB / 0.5812 GB, free: 6.355 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.0029/0.5517, allocations: 1.427 MB / 0.5826 GB, free: 4.918 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004002/0.5521, allocations: 169.8 kB / 0.5828 GB, free: 4.75 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002292/0.5544, allocations: 1.197 MB / 0.5839 GB, free: 3.543 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-05/0.5545, allocations: 15.98 kB / 0.5839 GB, free: 3.527 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.5545, allocations: 0 / 0.5839 GB, free: 3.527 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.5545, allocations: 3.984 kB / 0.584 GB, free: 3.523 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/0.5657, allocations: 4.97 MB / 0.5888 GB, free: 14.37 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.241e-05/0.5658, allocations: 12 kB / 0.5888 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005904/0.5664, allocations: 131.8 kB / 0.5889 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.719e-05/0.5664, allocations: 15.94 kB / 0.589 GB, free: 14.21 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.531e-05/0.5665, allocations: 28.67 kB / 0.589 GB, free: 14.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.75e-05/0.5665, allocations: 19.92 kB / 0.589 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-05/0.5666, allocations: 15.94 kB / 0.589 GB, free: 14.15 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002173/0.5687, allocations: 1.51 MB / 0.5905 GB, free: 12.5 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007293/0.5695, allocations: 266.5 kB / 0.5907 GB, free: 12.21 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000473/0.57, allocations: 27.94 kB / 0.5908 GB, free: 12.19 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009262/0.5709, allocations: 39.88 kB / 0.5908 GB, free: 12.15 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.5711, allocations: 75.69 kB / 0.5909 GB, free: 12.07 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.55e-05/0.5712, allocations: 39.98 kB / 0.5909 GB, free: 12.04 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002723/0.5739, allocations: 1.32 MB / 0.5922 GB, free: 10.69 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.5739, allocations: 0 / 0.5922 GB, free: 10.69 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003783/0.5777, allocations: 0.7544 MB / 0.5929 GB, free: 9.934 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.0004492/0.5782, allocations: 154.9 kB / 0.5931 GB, free: 9.77 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004051/0.5822, allocations: 2.25 MB / 0.5953 GB, free: 7.531 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/0.5822, allocations: 1.812 kB / 0.5953 GB, free: 7.531 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008059/0.5831, allocations: 0.5361 MB / 0.5958 GB, free: 6.992 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002193/0.5853, allocations: 270.4 kB / 0.5961 GB, free: 6.73 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/0.598, allocations: 5.534 MB / 0.6015 GB, free: 1.051 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004038/0.6021, allocations: 2.401 MB / 0.6038 GB, free: 14.62 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002661/0.6048, allocations: 1.012 MB / 0.6048 GB, free: 13.61 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003729/0.6051, allocations: 139.4 kB / 0.6049 GB, free: 13.48 MB / 494.1 MB Notification: Performance of SimCode: time 1.012e-06/0.6052, allocations: 0 / 0.6049 GB, free: 13.48 MB / 494.1 MB Notification: Performance of Templates: time 0.03673/0.6419, allocations: 16.53 MB / 0.6211 GB, free: 12.94 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1)