Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.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.AbsoluteSensor2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2") translateModel(ModelicaTest.MultiBody.Sensors.AbsoluteSensor2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.003202/0.003202, allocations: 184.5 kB / 7.457 MB, free: 2.512 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.11/1.11, allocations: 194.2 MB / 202.1 MB, free: 8.652 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.001892/0.001893, allocations: 121.4 kB / 247.1 MB, free: 6.387 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.1656/0.1656, allocations: 39.94 MB / 331.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.895e-06/8.216e-06, allocations: 0 / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1156, allocations: 54.87 MB / 447.6 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3036/0.4193, allocations: 98.44 MB / 0.5333 GB, free: 2.191 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.4195, allocations: 80.08 kB / 0.5334 GB, free: 2.148 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.2006/0.6201, allocations: 77.31 MB / 0.6089 GB, free: 12.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002205/0.6204, allocations: 75.94 kB / 0.6089 GB, free: 12.55 MB / 426.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.01239/0.6328, allocations: 3.535 MB / 0.6124 GB, free: 8.953 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.6329, allocations: 12.03 kB / 0.6124 GB, free: 8.941 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01429/0.6472, allocations: 2.736 MB / 0.6151 GB, free: 6.195 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007155/0.6544, allocations: 2.328 MB / 0.6173 GB, free: 3.816 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002835/0.6547, allocations: 140 kB / 0.6175 GB, free: 3.68 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002452/0.6572, allocations: 232 kB / 0.6177 GB, free: 3.453 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01338/0.6706, allocations: 6.799 MB / 0.6243 GB, free: 12.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.024/0.6946, allocations: 10.1 MB / 0.6342 GB, free: 1.578 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002281/0.6949, allocations: 47.56 kB / 0.6342 GB, free: 1.531 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001984/0.6969, allocations: 28 kB / 0.6343 GB, free: 1.504 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001623/0.6986, allocations: 1.198 MB / 0.6354 GB, free: 308 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2521/0.9507, allocations: 46.02 MB / 0.6804 GB, free: 148.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002532/0.9533, allocations: 2.776 MB / 0.6831 GB, free: 147.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.9544, allocations: 1.039 MB / 0.6841 GB, free: 147.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.71e-05/0.9545, allocations: 23.41 kB / 0.6841 GB, free: 147.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.9545, allocations: 54.48 kB / 0.6842 GB, free: 147.1 MB / 474.7 MB Notification: Performance of pre-optimization done (n=179): time 3.657e-06/0.9545, allocations: 0 / 0.6842 GB, free: 147.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=179): time 0.004112/0.9586, allocations: 2.488 MB / 0.6866 GB, free: 147.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.347e-05/0.9587, allocations: 173.2 kB / 0.6868 GB, free: 146.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003811/0.9625, allocations: 3.149 MB / 0.6899 GB, free: 146.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.826e-05/0.9626, allocations: 30.27 kB / 0.6899 GB, free: 146.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001432/0.964, allocations: 3.255 MB / 0.6931 GB, free: 144.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004867/0.9645, allocations: 0.6958 MB / 0.6937 GB, free: 144.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001862/0.9647, allocations: 0 / 0.6937 GB, free: 144.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000346/0.9651, allocations: 0.6601 MB / 0.6944 GB, free: 144.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002166/0.9672, allocations: 1.961 MB / 0.6963 GB, free: 144.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004581/0.9718, allocations: 6.49 MB / 0.7026 GB, free: 138.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004947/0.9768, allocations: 3.676 MB / 0.7062 GB, free: 138.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.912e-05/0.9769, allocations: 49 kB / 0.7063 GB, free: 138.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=925) (initialization): time 0.01213/0.989, allocations: 7.303 MB / 0.7134 GB, free: 137.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.9891, allocations: 7.188 kB / 0.7134 GB, free: 137.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002015/0.9893, allocations: 164.8 kB / 0.7136 GB, free: 137.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002264/0.9896, allocations: 238.2 kB / 0.7138 GB, free: 137.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004523/0.9941, allocations: 1.594 MB / 0.7154 GB, free: 137.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001966/0.9943, allocations: 322.4 kB / 0.7157 GB, free: 137.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005301/0.9996, allocations: 0.7994 MB / 0.7164 GB, free: 136.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009816/1.001, allocations: 440 kB / 0.7169 GB, free: 136.7 MB / 474.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.0009956/1.002, allocations: 488.2 kB / 0.7173 GB, free: 136.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006239/1.002, allocations: 304.1 kB / 0.7176 GB, free: 136.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002777/1.005, allocations: 1.935 MB / 0.7195 GB, free: 136 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.806e-05/1.005, allocations: 41.62 kB / 0.7196 GB, free: 136 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/1.005, allocations: 1.188 kB / 0.7196 GB, free: 136 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/1.005, allocations: 14.91 kB / 0.7196 GB, free: 136 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01019/1.015, allocations: 5.954 MB / 0.7254 GB, free: 134.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/1.015, allocations: 10.97 kB / 0.7254 GB, free: 134.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/1.017, allocations: 229.8 kB / 0.7256 GB, free: 134.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.992e-05/1.017, allocations: 14.88 kB / 0.7256 GB, free: 134.5 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.524e-05/1.017, allocations: 22.97 kB / 0.7256 GB, free: 134.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.351e-05/1.017, allocations: 19.09 kB / 0.7257 GB, free: 134.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.053e-05/1.017, allocations: 15.34 kB / 0.7257 GB, free: 134.5 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003491/1.02, allocations: 3.67 MB / 0.7293 GB, free: 132.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008505/1.021, allocations: 374 kB / 0.7296 GB, free: 131.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003588/1.021, allocations: 13.31 kB / 0.7296 GB, free: 131.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/1.022, allocations: 34.27 kB / 0.7297 GB, free: 131.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/1.023, allocations: 90.36 kB / 0.7298 GB, free: 131.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/1.023, allocations: 50.22 kB / 0.7298 GB, free: 131.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003305/1.026, allocations: 2.068 MB / 0.7318 GB, free: 131 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006045/1.032, allocations: 1.018 MB / 0.7328 GB, free: 130.6 MB / 474.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.0004268/1.033, allocations: 139.7 kB / 0.7329 GB, free: 130.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006721/1.039, allocations: 4.515 MB / 0.7374 GB, free: 126.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/1.039, allocations: 0 / 0.7374 GB, free: 126.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/1.041, allocations: 1.079 MB / 0.7384 GB, free: 125.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/1.042, allocations: 261.1 kB / 0.7387 GB, free: 125.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01933/1.062, allocations: 7.456 MB / 0.7459 GB, free: 118.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007169/1.069, allocations: 3.649 MB / 0.7495 GB, free: 115.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.423e-06/1.069, allocations: 0 / 0.7495 GB, free: 115.4 MB / 474.7 MB Notification: Performance of Templates: time 0.05997/1.129, allocations: 28.69 MB / 0.7775 GB, free: 95.57 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor2.pipe 2>&1)