Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.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.Joints.PrismaticInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit") [: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.003636/0.003636, allocations: 183.8 kB / 7.452 MB, free: 2.516 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.521/1.521, allocations: 170.6 MB / 178.4 MB, free: 15.41 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.001931/0.001931, allocations: 113.1 kB / 217.7 MB, free: 8.172 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.1765/0.1765, allocations: 37.98 MB / 294.8 MB, free: 9.625 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.437e-06/9.467e-06, allocations: 1.625 kB / 349.5 MB, free: 37.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1056, allocations: 48.71 MB / 398.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3943/0.4999, allocations: 89.69 MB / 487.9 MB, free: 13.29 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/0.5003, allocations: 72.73 kB / 488 MB, free: 13.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.09075/0.591, allocations: 31.73 MB / 0.5075 GB, free: 3.633 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001167/0.5912, allocations: 33.62 kB / 0.5076 GB, free: 3.629 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.005326/0.5965, allocations: 1.63 MB / 0.5091 GB, free: 2.555 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.5966, allocations: 8.344 kB / 0.5091 GB, free: 2.555 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002029/0.5986, allocations: 323 kB / 0.5095 GB, free: 2.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008665/0.6073, allocations: 2.953 MB / 0.5123 GB, free: 1.324 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.6075, allocations: 49.25 kB / 0.5124 GB, free: 1.32 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006046/0.6081, allocations: 80.84 kB / 0.5125 GB, free: 1.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004302/0.6124, allocations: 1.799 MB / 0.5142 GB, free: 1.137 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005597/0.618, allocations: 2.507 MB / 0.5167 GB, free: 164 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/0.6181, allocations: 18.69 kB / 0.5167 GB, free: 152 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002561/0.6184, allocations: 6.125 kB / 0.5167 GB, free: 152 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006826/0.6191, allocations: 287 kB / 0.517 GB, free: 88 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01577/0.6349, allocations: 11.89 MB / 0.5286 GB, free: 5.781 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006048/0.6355, allocations: 422.2 kB / 0.529 GB, free: 5.477 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004781/0.636, allocations: 366.9 kB / 0.5293 GB, free: 5.242 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0034/0.6394, allocations: 1.959 MB / 0.5312 GB, free: 3.465 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.903e-05/0.6395, allocations: 45.88 kB / 0.5313 GB, free: 3.414 MB / 346.7 MB Notification: Performance of pre-optimization done (n=44): time 6.221e-06/0.6395, allocations: 0 / 0.5313 GB, free: 3.414 MB / 346.7 MB Notification: Performance of matching and sorting (n=50): time 0.008361/0.6479, allocations: 2.741 MB / 0.534 GB, free: 0.9219 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.94e-05/0.648, allocations: 81.55 kB / 0.534 GB, free: 0.8242 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/0.6498, allocations: 0.9376 MB / 0.535 GB, free: 15.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.698e-05/0.6498, allocations: 25.7 kB / 0.535 GB, free: 15.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006139/0.6505, allocations: 0.8221 MB / 0.5358 GB, free: 15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.6507, allocations: 189.4 kB / 0.536 GB, free: 14.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-05/0.6507, allocations: 0 / 0.536 GB, free: 14.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002405/0.651, allocations: 418.7 kB / 0.5364 GB, free: 14.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005804/0.6516, allocations: 359.9 kB / 0.5367 GB, free: 14.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/0.6528, allocations: 1.171 MB / 0.5379 GB, free: 12.46 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.6538, allocations: 0.6298 MB / 0.5385 GB, free: 11.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.133e-05/0.6539, allocations: 11.94 kB / 0.5385 GB, free: 11.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.002854/0.6567, allocations: 1.425 MB / 0.5399 GB, free: 10.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.6568, allocations: 8 kB / 0.5399 GB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.222e-05/0.6568, allocations: 28 kB / 0.5399 GB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002306/0.6571, allocations: 96.89 kB / 0.54 GB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.6582, allocations: 347.4 kB / 0.5403 GB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001936/0.6602, allocations: 1.614 MB / 0.5419 GB, free: 8.188 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.6615, allocations: 39.91 kB / 0.5419 GB, free: 8.148 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002188/0.6618, allocations: 79.98 kB / 0.542 GB, free: 8.07 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002866/0.6621, allocations: 190.9 kB / 0.5422 GB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002827/0.6623, allocations: 102.7 kB / 0.5423 GB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.6636, allocations: 0.612 MB / 0.5429 GB, free: 7.148 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.6636, allocations: 8 kB / 0.5429 GB, free: 7.141 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.6636, allocations: 4 kB / 0.5429 GB, free: 7.137 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.6636, allocations: 3.984 kB / 0.5429 GB, free: 7.133 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003776/0.6674, allocations: 1.778 MB / 0.5447 GB, free: 5.266 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.6674, allocations: 4 kB / 0.5447 GB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004404/0.6679, allocations: 91.8 kB / 0.5447 GB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002339/0.6681, allocations: 64.81 kB / 0.5448 GB, free: 5.105 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.199e-05/0.6682, allocations: 4 kB / 0.5448 GB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00172/0.6699, allocations: 1.634 MB / 0.5464 GB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.648e-06/0.67, allocations: 12.03 kB / 0.5464 GB, free: 3.348 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001591/0.6716, allocations: 1.14 MB / 0.5475 GB, free: 2.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004719/0.672, allocations: 211.7 kB / 0.5477 GB, free: 1.844 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/0.6723, allocations: 12.06 kB / 0.5477 GB, free: 1.832 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004735/0.6727, allocations: 16.05 kB / 0.5478 GB, free: 1.816 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.447e-05/0.6728, allocations: 27.97 kB / 0.5478 GB, free: 1.789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.457e-05/0.6729, allocations: 19.91 kB / 0.5478 GB, free: 1.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.001357/0.6742, allocations: 0.6559 MB / 0.5484 GB, free: 1.105 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001783/0.676, allocations: 248 kB / 0.5487 GB, free: 0.8633 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003054/0.6763, allocations: 128.3 kB / 0.5488 GB, free: 0.7266 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.678, allocations: 0.9447 MB / 0.5497 GB, free: 15.78 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.678, allocations: 0 / 0.5497 GB, free: 15.78 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005047/0.6785, allocations: 350.4 kB / 0.5501 GB, free: 15.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008852/0.6794, allocations: 140.2 kB / 0.5502 GB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004729/0.6842, allocations: 2.097 MB / 0.5522 GB, free: 13.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001737/0.6859, allocations: 1.527 MB / 0.5537 GB, free: 11.55 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.6859, allocations: 0 / 0.5537 GB, free: 11.55 MB / 378.7 MB Notification: Performance of Templates: time 0.02105/0.707, allocations: 8.878 MB / 0.5624 GB, free: 2.781 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1)