Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.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.PlanarLoopWithMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove") translateModel(ModelicaTest.MultiBody.PlanarLoopWithMove,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.001482/0.001482, allocations: 197.4 kB / 7.468 MB, free: 1.539 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.297/1.297, allocations: 194.2 MB / 202.1 MB, free: 14.32 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001669/0.001669, allocations: 106.3 kB / 247.1 MB, free: 0.5195 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1854/0.1854, allocations: 39.94 MB / 331.9 MB, free: 11.58 MB / 290.8 MB Notification: Performance of FrontEnd - loaded program: time 9.468e-06/9.488e-06, allocations: 4 kB / 392.8 MB, free: 48.38 MB / 290.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1004, allocations: 54.86 MB / 447.6 MB, free: 9.441 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3189/0.4193, allocations: 98.41 MB / 0.5333 GB, free: 372 kB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.4196, allocations: 67.97 kB / 0.5333 GB, free: 304 kB / 370.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getDerTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableValue. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmin. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$combiTimeTable.getTableTimeTmax. Notification: Performance of FrontEnd: time 0.2535/0.6732, allocations: 89.41 MB / 0.6206 GB, free: 6.219 MB / 466.8 MB Notification: Performance of Transformations before backend: time 0.000316/0.6735, allocations: 87.98 kB / 0.6207 GB, free: 6.133 MB / 466.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1594 * Number of variables: 1594 Notification: Performance of Generate backend data structure: time 0.01614/0.6897, allocations: 4.727 MB / 0.6253 GB, free: 1.32 MB / 466.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.6897, allocations: 8.031 kB / 0.6253 GB, free: 1.312 MB / 466.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1646/0.8543, allocations: 1.844 MB / 0.6271 GB, free: 158.8 MB / 466.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0144/0.8688, allocations: 5.102 MB / 0.6321 GB, free: 158.4 MB / 466.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002273/0.8691, allocations: 142 kB / 0.6323 GB, free: 158.4 MB / 466.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001964/0.8711, allocations: 261.7 kB / 0.6325 GB, free: 158.4 MB / 466.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01042/0.8815, allocations: 6.967 MB / 0.6393 GB, free: 158.4 MB / 466.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01317/0.8947, allocations: 10.29 MB / 0.6494 GB, free: 155.7 MB / 466.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001326/0.8949, allocations: 56.47 kB / 0.6494 GB, free: 155.7 MB / 466.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004961/0.8954, allocations: 33.47 kB / 0.6494 GB, free: 155.7 MB / 466.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001093/0.8965, allocations: 1.226 MB / 0.6506 GB, free: 155.7 MB / 466.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0471/0.9436, allocations: 50.06 MB / 0.6995 GB, free: 122.9 MB / 466.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004396/0.948, allocations: 4.39 MB / 0.7038 GB, free: 120.8 MB / 466.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003305/0.9513, allocations: 3.231 MB / 0.707 GB, free: 119.5 MB / 466.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01349/0.9649, allocations: 9.255 MB / 0.716 GB, free: 114.6 MB / 466.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004157/0.9691, allocations: 3.131 MB / 0.7191 GB, free: 112.9 MB / 466.8 MB Notification: Performance of pre-optimization done (n=211): time 5.07e-06/0.9691, allocations: 0 / 0.7191 GB, free: 112.9 MB / 466.8 MB Notification: Performance of matching and sorting (n=278): time 0.05684/1.026, allocations: 23.84 MB / 0.7423 GB, free: 93.08 MB / 466.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/1.026, allocations: 158.1 kB / 0.7425 GB, free: 92.89 MB / 466.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003987/1.03, allocations: 3.206 MB / 0.7456 GB, free: 90.09 MB / 466.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005376/1.031, allocations: 33.64 kB / 0.7457 GB, free: 90.05 MB / 466.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001741/1.032, allocations: 3.031 MB / 0.7486 GB, free: 87.31 MB / 466.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009641/1.033, allocations: 0.9979 MB / 0.7496 GB, free: 86.41 MB / 466.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003037/1.034, allocations: 0 / 0.7496 GB, free: 86.41 MB / 466.8 MB Notification: Performance of setup shared object (initialization): time 0.000252/1.034, allocations: 0.5923 MB / 0.7502 GB, free: 85.89 MB / 466.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003324/1.037, allocations: 3.13 MB / 0.7532 GB, free: 83.08 MB / 466.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0044/1.042, allocations: 6.822 MB / 0.7599 GB, free: 74.85 MB / 466.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004874/1.047, allocations: 4.594 MB / 0.7644 GB, free: 70.9 MB / 466.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.972e-05/1.047, allocations: 36 kB / 0.7644 GB, free: 70.87 MB / 466.8 MB Notification: Performance of matching and sorting (n=885) (initialization): time 0.01871/1.065, allocations: 11.39 MB / 0.7755 GB, free: 61.2 MB / 466.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/1.065, allocations: 5 kB / 0.7755 GB, free: 61.2 MB / 466.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001564/1.066, allocations: 135.8 kB / 0.7757 GB, free: 61.07 MB / 466.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007251/1.073, allocations: 2.583 MB / 0.7782 GB, free: 58.92 MB / 466.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00625/1.079, allocations: 1.482 MB / 0.7796 GB, free: 57.44 MB / 466.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02361/1.103, allocations: 19.6 MB / 0.7988 GB, free: 37.42 MB / 466.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005773/1.109, allocations: 235.6 kB / 0.799 GB, free: 37.19 MB / 466.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001583/1.11, allocations: 407.9 kB / 0.7994 GB, free: 36.79 MB / 466.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,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 (782): * Single equations (assignments): 774 * 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,(2,100.0%) 14,(2,100.0%) 14} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.001223/1.111, allocations: 443 kB / 0.7998 GB, free: 36.35 MB / 466.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007479/1.112, allocations: 367.2 kB / 0.8002 GB, free: 35.99 MB / 466.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0126/1.125, allocations: 7.328 MB / 0.8073 GB, free: 28.65 MB / 466.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001037/1.125, allocations: 24 kB / 0.8073 GB, free: 28.62 MB / 466.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.432e-05/1.125, allocations: 8 kB / 0.8073 GB, free: 28.62 MB / 466.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.214e-05/1.125, allocations: 15.95 kB / 0.8074 GB, free: 28.6 MB / 466.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02415/1.149, allocations: 13.12 MB / 0.8202 GB, free: 15.48 MB / 466.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-05/1.149, allocations: 0 / 0.8202 GB, free: 15.48 MB / 466.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002237/1.152, allocations: 351.5 kB / 0.8205 GB, free: 15.14 MB / 466.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006174/1.158, allocations: 2.364 MB / 0.8228 GB, free: 12.77 MB / 466.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006519/1.158, allocations: 4 kB / 0.8228 GB, free: 12.76 MB / 466.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1964/1.355, allocations: 19.28 MB / 0.8417 GB, free: 138.1 MB / 466.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.75e-06/1.355, allocations: 6.562 kB / 0.8417 GB, free: 138.1 MB / 466.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01259/1.367, allocations: 7.765 MB / 0.8492 GB, free: 137.5 MB / 466.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002307/1.37, allocations: 0.9232 MB / 0.8501 GB, free: 137.4 MB / 466.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009189/1.371, allocations: 9.906 kB / 0.8502 GB, free: 137.4 MB / 466.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001992/1.373, allocations: 101.8 kB / 0.8502 GB, free: 137.4 MB / 466.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003868/1.373, allocations: 124 kB / 0.8504 GB, free: 137.4 MB / 466.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002476/1.373, allocations: 74.27 kB / 0.8504 GB, free: 137.4 MB / 466.8 MB Notification: Performance of sort global known variables: time 0.002765/1.376, allocations: 2.151 MB / 0.8525 GB, free: 137.3 MB / 466.8 MB Notification: Performance of remove unused functions: time 0.005524/1.382, allocations: 1.152 MB / 0.8537 GB, free: 137.3 MB / 466.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (184): * Single equations (assignments): 175 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009742/1.383, allocations: 338.4 kB / 0.854 GB, free: 137.2 MB / 466.8 MB Notification: Performance of simCode: created initialization part: time 0.01214/1.395, allocations: 8.071 MB / 0.8619 GB, free: 136.7 MB / 466.8 MB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.395, allocations: 3.375 kB / 0.8619 GB, free: 136.7 MB / 466.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005379/1.4, allocations: 3.596 MB / 0.8654 GB, free: 136.2 MB / 466.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/1.402, allocations: 334.8 kB / 0.8657 GB, free: 136.2 MB / 466.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01809/1.42, allocations: 9.894 MB / 0.8754 GB, free: 134.6 MB / 466.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004886/1.425, allocations: 3.898 MB / 0.8792 GB, free: 133.5 MB / 466.8 MB Notification: Performance of SimCode: time 9.72e-07/1.425, allocations: 0 / 0.8792 GB, free: 133.5 MB / 466.8 MB Notification: Performance of Templates: time 0.09353/1.519, allocations: 61.29 MB / 0.939 GB, free: 101.5 MB / 466.8 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.PlanarLoopWithMove.pipe 2>&1)