Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00322/0.00322, allocations: 172.5 kB / 7.446 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.133/1.133, allocations: 170.6 MB / 178.4 MB, free: 15.38 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001697/0.001697, allocations: 124.3 kB / 217.7 MB, free: 8.141 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.138/0.138, allocations: 37.98 MB / 294.8 MB, free: 9.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.843e-06/6.873e-06, allocations: 1.375 kB / 349.5 MB, free: 37.08 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08298/0.08301, allocations: 48.72 MB / 398.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.295/0.378, allocations: 91.8 MB / 490 MB, free: 13.41 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.3783, allocations: 77.95 kB / 490.1 MB, free: 13.41 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1898/0.5681, allocations: 77.31 MB / 0.5541 GB, free: 14.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001547/0.5682, allocations: 79.22 kB / 0.5542 GB, free: 14.42 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1614 * Number of variables: 1614 Notification: Performance of Generate backend data structure: time 0.01187/0.5801, allocations: 3.533 MB / 0.5576 GB, free: 10.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.5802, allocations: 16.03 kB / 0.5576 GB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01455/0.5948, allocations: 2.736 MB / 0.5603 GB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007444/0.6022, allocations: 2.326 MB / 0.5626 GB, free: 5.695 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002625/0.6025, allocations: 136 kB / 0.5627 GB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001906/0.6044, allocations: 232 kB / 0.5629 GB, free: 5.336 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01471/0.6192, allocations: 6.799 MB / 0.5696 GB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02432/0.6435, allocations: 10.1 MB / 0.5794 GB, free: 3.461 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001426/0.6438, allocations: 47.56 kB / 0.5795 GB, free: 3.414 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001268/0.645, allocations: 35.91 kB / 0.5795 GB, free: 3.379 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001735/0.6468, allocations: 1.194 MB / 0.5807 GB, free: 2.176 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2195/0.8663, allocations: 46.03 MB / 0.6256 GB, free: 116.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003187/0.8696, allocations: 2.781 MB / 0.6283 GB, free: 115.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001266/0.8709, allocations: 1.037 MB / 0.6294 GB, free: 115.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.427e-05/0.871, allocations: 23.86 kB / 0.6294 GB, free: 115.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.871, allocations: 53.12 kB / 0.6294 GB, free: 115.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=179): time 4.619e-06/0.871, allocations: 0 / 0.6294 GB, free: 115.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=179): time 0.004586/0.8756, allocations: 2.483 MB / 0.6319 GB, free: 115.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.8757, allocations: 177 kB / 0.632 GB, free: 114.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004061/0.8797, allocations: 3.15 MB / 0.6351 GB, free: 114.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.8798, allocations: 25.7 kB / 0.6351 GB, free: 114.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001613/0.8815, allocations: 3.263 MB / 0.6383 GB, free: 112.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005794/0.8821, allocations: 0.6972 MB / 0.639 GB, free: 112.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.8823, allocations: 0 / 0.639 GB, free: 112.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003773/0.8826, allocations: 0.6545 MB / 0.6396 GB, free: 112.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002241/0.8849, allocations: 1.962 MB / 0.6415 GB, free: 112.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003878/0.8888, allocations: 6.486 MB / 0.6479 GB, free: 106.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004169/0.893, allocations: 3.689 MB / 0.6515 GB, free: 106.3 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.275e-05/0.893, allocations: 46.97 kB / 0.6515 GB, free: 106.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=925) (initialization): time 0.01055/0.9036, allocations: 7.3 MB / 0.6587 GB, free: 105.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.9037, allocations: 13.72 kB / 0.6587 GB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001724/0.9039, allocations: 162.6 kB / 0.6588 GB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001893/0.904, allocations: 236.5 kB / 0.6591 GB, free: 105.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004543/0.9086, allocations: 1.597 MB / 0.6606 GB, free: 105.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001712/0.9088, allocations: 320.9 kB / 0.6609 GB, free: 105.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005305/0.9141, allocations: 0.8051 MB / 0.6617 GB, free: 104.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008615/0.915, allocations: 441.3 kB / 0.6621 GB, free: 104.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 746 * Number of states: 0 () * Number of discrete variables: 18 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (877): * Single equations (assignments): 871 * Array equations: 6 * 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.0008676/0.9158, allocations: 482.6 kB / 0.6626 GB, free: 104.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005166/0.9164, allocations: 308.6 kB / 0.6629 GB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002605/0.919, allocations: 1.937 MB / 0.6648 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.627e-05/0.9191, allocations: 32.33 kB / 0.6648 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.9191, allocations: 0 / 0.6648 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.216e-05/0.9191, allocations: 10.47 kB / 0.6648 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009232/0.9283, allocations: 5.949 MB / 0.6706 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/0.9284, allocations: 10.62 kB / 0.6706 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.9294, allocations: 232 kB / 0.6709 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.76e-05/0.9295, allocations: 15.16 kB / 0.6709 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-05/0.9296, allocations: 18.02 kB / 0.6709 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.138e-05/0.9296, allocations: 19.31 kB / 0.6709 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.9296, allocations: 12.72 kB / 0.6709 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003198/0.9328, allocations: 3.671 MB / 0.6745 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006909/0.9335, allocations: 377.7 kB / 0.6749 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003832/0.9339, allocations: 10.84 kB / 0.6749 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.9349, allocations: 33.42 kB / 0.6749 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/0.9351, allocations: 93.58 kB / 0.675 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001242/0.9353, allocations: 49.41 kB / 0.675 GB, free: 100.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.00347/0.9387, allocations: 2.066 MB / 0.6771 GB, free: 99.53 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005394/0.9441, allocations: 1.016 MB / 0.678 GB, free: 99.33 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 125 * Array equations: 6 * 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.0003726/0.9445, allocations: 149 kB / 0.6782 GB, free: 99.22 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005872/0.9504, allocations: 4.523 MB / 0.6826 GB, free: 97.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.9504, allocations: 0 / 0.6826 GB, free: 97.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001254/0.9517, allocations: 1.073 MB / 0.6837 GB, free: 97.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/0.9534, allocations: 260.7 kB / 0.6839 GB, free: 97.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01509/0.9685, allocations: 7.463 MB / 0.6912 GB, free: 92.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004332/0.9729, allocations: 3.647 MB / 0.6948 GB, free: 89.75 MB / 426.7 MB Notification: Performance of SimCode: time 1.442e-06/0.9729, allocations: 0 / 0.6948 GB, free: 89.75 MB / 426.7 MB Notification: Performance of Templates: time 0.06316/1.036, allocations: 28.67 MB / 0.7228 GB, free: 73 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1)