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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.0009258/0.0009259, allocations: 187.3 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.551/1.551, allocations: 194.3 MB / 202.4 MB, free: 8.473 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001612/0.001612, allocations: 111 kB / 247.4 MB, free: 6.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2114/0.2114, allocations: 39.94 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.303e-05/1.306e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09489/0.09491, allocations: 54.89 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4487/0.5436, allocations: 98.02 MB / 0.5334 GB, free: 2.25 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001966/0.5439, allocations: 74.84 kB / 0.5335 GB, free: 2.215 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6579/1.202, allocations: 155.4 MB / 0.6852 GB, free: 82.54 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.235e-06/1.202, allocations: 0 / 0.6852 GB, free: 82.54 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006245/1.202, allocations: 153.3 kB / 0.6854 GB, free: 82.54 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.02375/1.226, allocations: 7.742 MB / 0.6929 GB, free: 79.57 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/1.226, allocations: 11.41 kB / 0.693 GB, free: 79.57 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01886/1.245, allocations: 3.624 MB / 0.6965 GB, free: 79.02 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02247/1.268, allocations: 9.538 MB / 0.7058 GB, free: 78.06 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004919/1.268, allocations: 259.8 kB / 0.7061 GB, free: 78.06 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004378/1.273, allocations: 475.9 kB / 0.7065 GB, free: 78.06 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02111/1.294, allocations: 11.16 MB / 0.7174 GB, free: 78.02 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04257/1.336, allocations: 16.32 MB / 0.7334 GB, free: 73.98 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006435/1.337, allocations: 91.91 kB / 0.7334 GB, free: 73.98 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006151/1.343, allocations: 47.2 kB / 0.7335 GB, free: 73.98 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003499/1.347, allocations: 1.784 MB / 0.7352 GB, free: 73.96 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09698/1.444, allocations: 79.68 MB / 0.813 GB, free: 14.09 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004193/1.448, allocations: 2.975 MB / 0.8159 GB, free: 11.27 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001866/1.45, allocations: 1.411 MB / 0.8173 GB, free: 9.992 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/1.45, allocations: 40.41 kB / 0.8174 GB, free: 9.965 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/1.45, allocations: 60.7 kB / 0.8174 GB, free: 9.898 MB / 474.7 MB Notification: Performance of pre-optimization done (n=232): time 5.681e-06/1.45, allocations: 3.891 kB / 0.8174 GB, free: 9.898 MB / 474.7 MB Notification: Performance of matching and sorting (n=244): time 0.02764/1.478, allocations: 11.6 MB / 0.8288 GB, free: 15.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.731e-05/1.478, allocations: 154.5 kB / 0.8289 GB, free: 15.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01047/1.488, allocations: 5.031 MB / 0.8338 GB, free: 11.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005039/1.489, allocations: 25.7 kB / 0.8338 GB, free: 11.31 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005543/1.494, allocations: 5.679 MB / 0.8394 GB, free: 6.172 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001379/1.496, allocations: 0.9299 MB / 0.8403 GB, free: 5.344 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009649/1.497, allocations: 0 / 0.8403 GB, free: 5.344 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006161/1.498, allocations: 0.6858 MB / 0.841 GB, free: 4.758 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003628/1.501, allocations: 2.239 MB / 0.8431 GB, free: 2.754 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2966/1.798, allocations: 8.006 MB / 0.851 GB, free: 82.54 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007691/1.806, allocations: 4.177 MB / 0.855 GB, free: 82.51 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002457/1.806, allocations: 60.31 kB / 0.8551 GB, free: 82.51 MB / 490.7 MB Notification: Performance of matching and sorting (n=1182) (initialization): time 0.02072/1.827, allocations: 8.977 MB / 0.8639 GB, free: 82.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002239/1.827, allocations: 93.66 kB / 0.864 GB, free: 82.35 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003381/1.827, allocations: 208.6 kB / 0.8642 GB, free: 82.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004042/1.828, allocations: 303.3 kB / 0.8644 GB, free: 82.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008267/1.836, allocations: 2.231 MB / 0.8666 GB, free: 82.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003472/1.836, allocations: 410.6 kB / 0.867 GB, free: 82.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008397/1.845, allocations: 457 kB / 0.8675 GB, free: 82.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002048/1.847, allocations: 0.5534 MB / 0.868 GB, free: 82.06 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 948 * Number of states: 0 () * Number of discrete variables: 57 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1158): * Single equations (assignments): 1155 * 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 prepare postOptimizeDAE: time 0.002294/1.849, allocations: 0.6051 MB / 0.8686 GB, free: 81.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009787/1.85, allocations: 0.5353 MB / 0.8691 GB, free: 81.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003846/1.854, allocations: 2.402 MB / 0.8715 GB, free: 81.61 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.301e-05/1.854, allocations: 25.97 kB / 0.8715 GB, free: 81.61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/1.854, allocations: 3.875 kB / 0.8715 GB, free: 81.61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-05/1.854, allocations: 12.14 kB / 0.8715 GB, free: 81.61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03061/1.885, allocations: 23 MB / 0.894 GB, free: 79.18 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-05/1.885, allocations: 46.97 kB / 0.894 GB, free: 79.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001551/1.886, allocations: 491.5 kB / 0.8945 GB, free: 79.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-05/1.886, allocations: 68.59 kB / 0.8945 GB, free: 79.13 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001606/1.886, allocations: 76.12 kB / 0.8946 GB, free: 79.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.922e-05/1.887, allocations: 95.81 kB / 0.8947 GB, free: 79.11 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-05/1.887, allocations: 74.53 kB / 0.8948 GB, free: 79.09 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006327/1.893, allocations: 12.58 MB / 0.9071 GB, free: 67.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001324/1.894, allocations: 0.6174 MB / 0.9077 GB, free: 66.84 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005508/1.895, allocations: 76.23 kB / 0.9077 GB, free: 66.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002209/1.897, allocations: 159.2 kB / 0.9079 GB, free: 66.83 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003116/1.897, allocations: 320 kB / 0.9082 GB, free: 66.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001623/1.897, allocations: 132.8 kB / 0.9083 GB, free: 66.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004845/1.902, allocations: 3.379 MB / 0.9116 GB, free: 66.54 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.902, allocations: 0 / 0.9116 GB, free: 66.54 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00769/1.91, allocations: 1.263 MB / 0.9129 GB, free: 66.54 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 216 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (252): * Single equations (assignments): 249 * 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.0005447/1.911, allocations: 229.3 kB / 0.9131 GB, free: 66.39 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007648/1.918, allocations: 5.287 MB / 0.9182 GB, free: 65.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-05/1.918, allocations: 10.03 kB / 0.9182 GB, free: 65.83 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001593/1.92, allocations: 1.288 MB / 0.9195 GB, free: 65.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004241/1.924, allocations: 0.7044 MB / 0.9202 GB, free: 65.65 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02475/1.949, allocations: 13.55 MB / 0.9334 GB, free: 59.51 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007046/1.956, allocations: 5.702 MB / 0.939 GB, free: 57.72 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007212/1.963, allocations: 2.831 MB / 0.9418 GB, free: 57.46 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009112/1.964, allocations: 365.8 kB / 0.9421 GB, free: 57.45 MB / 490.7 MB Notification: Performance of SimCode: time 9.81e-07/1.964, allocations: 0 / 0.9421 GB, free: 57.45 MB / 490.7 MB Notification: Performance of Templates: time 0.0727/2.037, allocations: 38.39 MB / 0.9796 GB, free: 36.21 MB / 490.7 MB 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)