Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.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.PlanarLoopWithMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove") translateModel(ModelicaTest.MultiBody.PlanarLoopWithMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove") [: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.003351/0.003351, allocations: 174.3 kB / 7.45 MB, free: 2.188 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.274/1.274, 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.001714/0.001714, allocations: 107.9 kB / 217.7 MB, free: 8.176 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.1798/0.1798, allocations: 37.97 MB / 294.8 MB, free: 9.629 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.195e-06/8.225e-06, allocations: 0 / 349.5 MB, free: 37.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.102, allocations: 48.71 MB / 398.2 MB, free: 5.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3661/0.4681, allocations: 92.08 MB / 490.3 MB, free: 13.4 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.4685, allocations: 66.89 kB / 490.4 MB, free: 13.4 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.2576/0.7261, allocations: 89.18 MB / 0.566 GB, free: 2.695 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003967/0.7266, allocations: 87.75 kB / 0.566 GB, free: 2.613 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: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.01885/0.7454, allocations: 4.681 MB / 0.5706 GB, free: 13.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.7455, allocations: 8.031 kB / 0.5706 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01117/0.7567, allocations: 1.85 MB / 0.5724 GB, free: 12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01794/0.7747, allocations: 5.09 MB / 0.5774 GB, free: 6.887 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003886/0.7751, allocations: 140 kB / 0.5775 GB, free: 6.75 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002919/0.7781, allocations: 244 kB / 0.5778 GB, free: 6.512 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01558/0.7937, allocations: 6.963 MB / 0.5846 GB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02611/0.8199, allocations: 10.28 MB / 0.5946 GB, free: 4.234 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003159/0.8202, allocations: 55.55 kB / 0.5947 GB, free: 4.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002159/0.8224, allocations: 31.91 kB / 0.5947 GB, free: 4.148 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002218/0.8246, allocations: 1.217 MB / 0.5959 GB, free: 2.934 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2258/1.05, allocations: 50.01 MB / 0.6447 GB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004853/1.055, allocations: 4.404 MB / 0.649 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003496/1.059, allocations: 3.227 MB / 0.6522 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01382/1.073, allocations: 9.15 MB / 0.6611 GB, free: 98.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003244/1.076, allocations: 3.123 MB / 0.6641 GB, free: 98.19 MB / 426.7 MB Notification: Performance of pre-optimization done (n=209): time 5.992e-06/1.076, allocations: 3.891 kB / 0.6642 GB, free: 98.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=273): time 0.05828/1.134, allocations: 23.2 MB / 0.6868 GB, free: 92.83 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.64e-05/1.134, allocations: 153.4 kB / 0.687 GB, free: 92.67 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005559/1.14, allocations: 3.199 MB / 0.6901 GB, free: 91.54 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008055/1.141, allocations: 25.7 kB / 0.6901 GB, free: 91.51 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002565/1.143, allocations: 3.036 MB / 0.6931 GB, free: 89.49 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001368/1.145, allocations: 0.9755 MB / 0.694 GB, free: 88.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003444/1.145, allocations: 2.969 kB / 0.694 GB, free: 88.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000336/1.146, allocations: 0.5919 MB / 0.6946 GB, free: 88.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004056/1.15, allocations: 3.041 MB / 0.6976 GB, free: 87.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006653/1.156, allocations: 6.746 MB / 0.7042 GB, free: 81.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006798/1.163, allocations: 4.501 MB / 0.7086 GB, free: 79.85 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001111/1.163, allocations: 37.62 kB / 0.7086 GB, free: 79.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=877) (initialization): time 0.02733/1.191, allocations: 11.22 MB / 0.7195 GB, free: 74.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/1.191, allocations: 4 kB / 0.7195 GB, free: 74.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004034/1.191, allocations: 132.8 kB / 0.7197 GB, free: 74.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00803/1.199, allocations: 2.592 MB / 0.7222 GB, free: 72.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006196/1.205, allocations: 1.465 MB / 0.7236 GB, free: 71.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02435/1.23, allocations: 19.52 MB / 0.7427 GB, free: 53.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007312/1.237, allocations: 226.1 kB / 0.7429 GB, free: 53.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002234/1.239, allocations: 410.8 kB / 0.7433 GB, free: 52.93 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * Number of states: 0 () * Number of discrete variables: 42 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,rod3.color[3],rod3.color[2],rod3.color[1],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[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 (776): * Single equations (assignments): 768 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(3,88.9%) 13,(3,88.9%) 13} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.00308/1.243, allocations: 437.4 kB / 0.7437 GB, free: 52.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001278/1.244, allocations: 371 kB / 0.7441 GB, free: 52.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01441/1.258, allocations: 7.166 MB / 0.7511 GB, free: 46.38 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001056/1.258, allocations: 24 kB / 0.7511 GB, free: 46.35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-05/1.258, allocations: 16 kB / 0.7511 GB, free: 46.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-05/1.259, allocations: 11.53 kB / 0.7511 GB, free: 46.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02908/1.288, allocations: 12.76 MB / 0.7636 GB, free: 36.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.647e-05/1.288, allocations: 8.031 kB / 0.7636 GB, free: 36.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00239/1.29, allocations: 341.4 kB / 0.7639 GB, free: 35.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006465/1.297, allocations: 2.356 MB / 0.7662 GB, free: 33.97 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007545/1.297, allocations: 11.61 kB / 0.7662 GB, free: 33.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02321/1.321, allocations: 19.31 MB / 0.7851 GB, free: 16.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/1.321, allocations: 15.83 kB / 0.7851 GB, free: 16.41 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01477/1.335, allocations: 7.595 MB / 0.7925 GB, free: 9.883 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002773/1.338, allocations: 0.8958 MB / 0.7934 GB, free: 9.047 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001664/1.34, allocations: 4 kB / 0.7934 GB, free: 9.043 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00312/1.343, allocations: 100.1 kB / 0.7935 GB, free: 8.984 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007991/1.344, allocations: 133.5 kB / 0.7936 GB, free: 8.906 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005011/1.344, allocations: 76 kB / 0.7937 GB, free: 8.832 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.004805/1.349, allocations: 2.145 MB / 0.7958 GB, free: 6.859 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009717/1.359, allocations: 1.136 MB / 0.7969 GB, free: 5.734 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,combiTimeTable.nextTimeEvent) * Number of discrete states: 1 (combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 171 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(3,88.9%) 13,(3,88.9%) 13} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.001879/1.361, allocations: 303.2 kB / 0.7972 GB, free: 5.539 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.1793/1.54, allocations: 7.907 MB / 0.8049 GB, free: 116 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/1.54, allocations: 0 / 0.8049 GB, free: 116 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005303/1.546, allocations: 3.508 MB / 0.8083 GB, free: 115.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/1.548, allocations: 327.6 kB / 0.8087 GB, free: 115.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01945/1.567, allocations: 9.731 MB / 0.8182 GB, free: 113.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004808/1.572, allocations: 3.89 MB / 0.822 GB, free: 113.1 MB / 426.7 MB Notification: Performance of SimCode: time 9.82e-07/1.572, allocations: 3.375 kB / 0.822 GB, free: 113.1 MB / 426.7 MB Notification: Performance of Templates: time 0.1233/1.695, allocations: 60.31 MB / 0.8809 GB, free: 104.7 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1)