Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.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.Prismatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic") [: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.004232/0.004232, allocations: 179.3 kB / 7.449 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.3/1.3, allocations: 170.6 MB / 178.4 MB, free: 15.37 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.001664/0.001664, allocations: 123.8 kB / 217.7 MB, free: 8.137 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.1435/0.1435, allocations: 37.97 MB / 294.8 MB, free: 9.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.053e-06/7.084e-06, allocations: 1.594 kB / 349.5 MB, free: 37.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08145/0.08147, allocations: 48.71 MB / 398.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2594/0.3409, allocations: 87.95 MB / 486.2 MB, free: 13.27 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.3412, allocations: 75.81 kB / 486.2 MB, free: 13.27 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.2255/0.5667, allocations: 82.07 MB / 0.555 GB, free: 12.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003177/0.5671, allocations: 68 kB / 0.555 GB, free: 12.7 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: 1554 * Number of variables: 1554 Notification: Performance of Generate backend data structure: time 0.01435/0.5815, allocations: 3.462 MB / 0.5584 GB, free: 9.191 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.5815, allocations: 12.03 kB / 0.5584 GB, free: 9.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02426/0.6058, allocations: 2.798 MB / 0.5612 GB, free: 6.367 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01815/0.624, allocations: 4.226 MB / 0.5653 GB, free: 2.117 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003909/0.6244, allocations: 132 kB / 0.5654 GB, free: 1.988 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003007/0.6275, allocations: 223.9 kB / 0.5656 GB, free: 1.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0195/0.647, allocations: 7.204 MB / 0.5727 GB, free: 10.56 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02677/0.6738, allocations: 9.36 MB / 0.5818 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001734/0.6741, allocations: 27.72 kB / 0.5818 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001046/0.6751, allocations: 12 kB / 0.5818 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002385/0.6775, allocations: 1.233 MB / 0.5831 GB, free: 15.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06638/0.7439, allocations: 30 MB / 0.6123 GB, free: 1.066 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1644/0.9084, allocations: 1.546 MB / 0.6139 GB, free: 142.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002097/0.9105, allocations: 1.062 MB / 0.6149 GB, free: 142.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01397/0.9245, allocations: 6.461 MB / 0.6212 GB, free: 139.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.705e-05/0.9246, allocations: 46.12 kB / 0.6212 GB, free: 139.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=154): time 7.253e-06/0.9246, allocations: 0 / 0.6212 GB, free: 139.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=160): time 0.02054/0.9452, allocations: 6.985 MB / 0.6281 GB, free: 138.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.9453, allocations: 63.84 kB / 0.6281 GB, free: 138.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00481/0.9501, allocations: 2.486 MB / 0.6306 GB, free: 137.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001748/0.9503, allocations: 25.7 kB / 0.6306 GB, free: 137.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001637/0.9519, allocations: 2.816 MB / 0.6333 GB, free: 136.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006108/0.9526, allocations: 0.6046 MB / 0.6339 GB, free: 135.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002619/0.9528, allocations: 0 / 0.6339 GB, free: 135.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004224/0.9533, allocations: 0.5882 MB / 0.6345 GB, free: 135.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003132/0.9564, allocations: 1.555 MB / 0.636 GB, free: 135.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004366/0.9608, allocations: 4.68 MB / 0.6406 GB, free: 131.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005161/0.966, allocations: 2.789 MB / 0.6433 GB, free: 131.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-05/0.9661, allocations: 37.69 kB / 0.6433 GB, free: 131.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=700) (initialization): time 0.01441/0.9805, allocations: 5.604 MB / 0.6488 GB, free: 131 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.9806, allocations: 7.172 kB / 0.6488 GB, free: 131 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002279/0.9808, allocations: 115.3 kB / 0.6489 GB, free: 131 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005561/0.9814, allocations: 210.4 kB / 0.6491 GB, free: 131 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005898/0.9873, allocations: 1.159 MB / 0.6503 GB, free: 130.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001607/0.989, allocations: 1.598 MB / 0.6518 GB, free: 129.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0057/0.9947, allocations: 126.2 kB / 0.6519 GB, free: 129.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009552/0.9957, allocations: 318.9 kB / 0.6523 GB, free: 129.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 509 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 (648): * Single equations (assignments): 641 * 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: 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.001214/0.9969, allocations: 380.4 kB / 0.6526 GB, free: 129.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006063/0.9975, allocations: 252.4 kB / 0.6529 GB, free: 129.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.9985, allocations: 315.5 kB / 0.6532 GB, free: 129.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.438e-05/0.9986, allocations: 11.3 kB / 0.6532 GB, free: 129.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/0.9987, allocations: 6 kB / 0.6532 GB, free: 129.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.9987, allocations: 3.938 kB / 0.6532 GB, free: 129.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01587/1.015, allocations: 5.223 MB / 0.6583 GB, free: 128.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/1.015, allocations: 3.688 kB / 0.6583 GB, free: 128.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/1.016, allocations: 183.6 kB / 0.6585 GB, free: 128.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002074/1.016, allocations: 52.34 kB / 0.6585 GB, free: 128.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001706/1.016, allocations: 14.25 kB / 0.6585 GB, free: 128.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001285/1.018, allocations: 1.396 MB / 0.6599 GB, free: 127.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/1.018, allocations: 7.094 kB / 0.6599 GB, free: 127.5 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006559/1.024, allocations: 3.707 MB / 0.6635 GB, free: 126.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001574/1.026, allocations: 491.4 kB / 0.664 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007784/1.027, allocations: 3.562 kB / 0.664 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/1.028, allocations: 17.97 kB / 0.664 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000214/1.029, allocations: 71.06 kB / 0.6641 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000161/1.029, allocations: 53.78 kB / 0.6641 GB, free: 126.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.004615/1.033, allocations: 1.634 MB / 0.6657 GB, free: 125.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007403/1.041, allocations: 0.7089 MB / 0.6664 GB, free: 125.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (111): * Single equations (assignments): 104 * 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: 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 Backend phase and start with SimCode phase: time 0.0005858/1.041, allocations: 137.5 kB / 0.6665 GB, free: 125.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007828/1.049, allocations: 3.703 MB / 0.6702 GB, free: 124.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/1.049, allocations: 0 / 0.6702 GB, free: 124.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002136/1.051, allocations: 1.062 MB / 0.6712 GB, free: 123.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/1.053, allocations: 197.4 kB / 0.6714 GB, free: 123.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02165/1.075, allocations: 6.718 MB / 0.6779 GB, free: 121.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007129/1.082, allocations: 3.485 MB / 0.6813 GB, free: 120.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.703e-06/1.082, allocations: 0 / 0.6813 GB, free: 120.4 MB / 426.7 MB Notification: Performance of Templates: time 0.05894/1.141, allocations: 24.31 MB / 0.7051 GB, free: 106.9 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1)