Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.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.Joints.PrismaticInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.002888/0.002888, allocations: 186.5 kB / 7.46 MB, free: 2.5 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.171/1.171, allocations: 194.2 MB / 202.1 MB, free: 8.664 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.001629/0.001629, allocations: 122.8 kB / 247.1 MB, free: 6.348 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.1774/0.1774, allocations: 39.94 MB / 331.9 MB, free: 4.887 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.137e-06/9.167e-06, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1133, allocations: 54.88 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3491/0.4624, allocations: 96.4 MB / 0.5313 GB, free: 4.266 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.4626, allocations: 78.22 kB / 0.5314 GB, free: 4.227 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.08371/0.5464, allocations: 31.73 MB / 0.5624 GB, free: 9.117 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.018e-05/0.5465, allocations: 32 kB / 0.5624 GB, free: 9.086 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.003788/0.5503, allocations: 1.627 MB / 0.564 GB, free: 7.508 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.229e-05/0.5504, allocations: 8.031 kB / 0.564 GB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001354/0.5517, allocations: 324.9 kB / 0.5643 GB, free: 7.195 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007422/0.5592, allocations: 2.951 MB / 0.5672 GB, free: 4.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.749e-05/0.5593, allocations: 51.91 kB / 0.5672 GB, free: 4.629 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.5595, allocations: 80 kB / 0.5673 GB, free: 4.551 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002634/0.5621, allocations: 1.794 MB / 0.5691 GB, free: 3.348 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003018/0.5651, allocations: 2.515 MB / 0.5715 GB, free: 1.234 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.741e-05/0.5652, allocations: 15.84 kB / 0.5715 GB, free: 1.219 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/0.5653, allocations: 4 kB / 0.5715 GB, free: 1.215 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004704/0.5658, allocations: 286.6 kB / 0.5718 GB, free: 0.9727 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01237/0.5782, allocations: 11.9 MB / 0.5834 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005554/0.5788, allocations: 418.7 kB / 0.5838 GB, free: 6.031 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004609/0.5792, allocations: 365.1 kB / 0.5842 GB, free: 5.672 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002634/0.5819, allocations: 1.974 MB / 0.5861 GB, free: 3.559 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.5819, allocations: 38.5 kB / 0.5861 GB, free: 3.512 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 2.535e-06/0.5819, allocations: 0 / 0.5861 GB, free: 3.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=50): time 0.007304/0.5892, allocations: 2.729 MB / 0.5888 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.5893, allocations: 85.55 kB / 0.5889 GB, free: 0.582 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.5905, allocations: 0.9299 MB / 0.5898 GB, free: 15.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.5906, allocations: 25.7 kB / 0.5898 GB, free: 15.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004269/0.591, allocations: 0.8259 MB / 0.5906 GB, free: 14.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00013/0.5911, allocations: 197.4 kB / 0.5908 GB, free: 14.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.5912, allocations: 3.938 kB / 0.5908 GB, free: 14.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.5914, allocations: 422.7 kB / 0.5912 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004474/0.5918, allocations: 351.9 kB / 0.5916 GB, free: 13.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009386/0.5928, allocations: 1.167 MB / 0.5927 GB, free: 12.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007304/0.5935, allocations: 0.63 MB / 0.5933 GB, free: 11.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.5935, allocations: 8 kB / 0.5933 GB, free: 11.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.001945/0.5955, allocations: 1.432 MB / 0.5947 GB, free: 10.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.5955, allocations: 4 kB / 0.5947 GB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.902e-05/0.5955, allocations: 32 kB / 0.5948 GB, free: 10.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002033/0.5958, allocations: 88.83 kB / 0.5948 GB, free: 10.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001064/0.5968, allocations: 351.3 kB / 0.5952 GB, free: 9.668 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.5982, allocations: 1.607 MB / 0.5967 GB, free: 7.949 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007954/0.5991, allocations: 39.92 kB / 0.5968 GB, free: 7.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-05/0.5992, allocations: 87.97 kB / 0.5969 GB, free: 7.824 MB / 410.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.0002083/0.5994, allocations: 186.9 kB / 0.597 GB, free: 7.633 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.5995, allocations: 106.8 kB / 0.5971 GB, free: 7.527 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009818/0.6005, allocations: 0.6119 MB / 0.5977 GB, free: 6.906 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.6005, allocations: 11.94 kB / 0.5978 GB, free: 6.895 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.6005, allocations: 0 / 0.5978 GB, free: 6.895 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.83e-06/0.6005, allocations: 0 / 0.5978 GB, free: 6.895 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002663/0.6032, allocations: 1.784 MB / 0.5995 GB, free: 5.012 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.6032, allocations: 4 kB / 0.5995 GB, free: 5.008 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003861/0.6036, allocations: 88.33 kB / 0.5996 GB, free: 4.922 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001722/0.6038, allocations: 64.75 kB / 0.5997 GB, free: 4.855 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.516e-05/0.6038, allocations: 8 kB / 0.5997 GB, free: 4.848 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001371/0.6052, allocations: 1.626 MB / 0.6012 GB, free: 3.105 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.6052, allocations: 11.88 kB / 0.6013 GB, free: 3.094 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0012/0.6064, allocations: 1.144 MB / 0.6024 GB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002702/0.6067, allocations: 211.8 kB / 0.6026 GB, free: 1.586 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.6068, allocations: 11.89 kB / 0.6026 GB, free: 1.574 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003633/0.6072, allocations: 16.05 kB / 0.6026 GB, free: 1.559 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.938e-05/0.6073, allocations: 27.97 kB / 0.6026 GB, free: 1.531 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/0.6073, allocations: 24 kB / 0.6027 GB, free: 1.508 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0007856/0.6081, allocations: 0.652 MB / 0.6033 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001333/0.6094, allocations: 252 kB / 0.6035 GB, free: 0.6016 MB / 410.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.0002578/0.6097, allocations: 128.5 kB / 0.6037 GB, free: 476 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.611, allocations: 0.9444 MB / 0.6046 GB, free: 15.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.611, allocations: 0 / 0.6046 GB, free: 15.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004417/0.6115, allocations: 357.2 kB / 0.6049 GB, free: 15.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006867/0.6122, allocations: 137.7 kB / 0.605 GB, free: 15.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003566/0.6158, allocations: 2.086 MB / 0.6071 GB, free: 12.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001266/0.617, allocations: 1.531 MB / 0.6086 GB, free: 11.27 MB / 426.7 MB Notification: Performance of SimCode: time 4.81e-07/0.617, allocations: 0 / 0.6086 GB, free: 11.27 MB / 426.7 MB Notification: Performance of Templates: time 0.01935/0.6364, allocations: 8.872 MB / 0.6172 GB, free: 2.445 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1)