Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.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.Forces.Force,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force") [: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.003751/0.003751, allocations: 175.4 kB / 7.449 MB, free: 2.508 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.256/1.256, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.001889/0.001889, allocations: 115.8 kB / 217.7 MB, free: 8.152 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.2182/0.2182, allocations: 37.97 MB / 294.8 MB, free: 9.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.734e-06/7.824e-06, allocations: 1.125 kB / 349.5 MB, free: 37.13 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08378/0.0838, allocations: 48.72 MB / 398.2 MB, free: 5.68 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2759/0.3597, allocations: 93.87 MB / 492.1 MB, free: 13.31 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/0.36, allocations: 76.81 kB / 492.2 MB, free: 13.31 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.3225/0.6825, allocations: 124.3 MB / 0.602 GB, free: 14.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004731/0.683, allocations: 131.9 kB / 0.6021 GB, free: 14.56 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2316 * Number of variables: 2316 Notification: Performance of Generate backend data structure: time 0.02396/0.707, allocations: 6.496 MB / 0.6085 GB, free: 7.996 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/0.707, allocations: 8.031 kB / 0.6085 GB, free: 7.988 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03111/0.7382, allocations: 6.745 MB / 0.6151 GB, free: 1.223 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1668/0.905, allocations: 7.436 MB / 0.6223 GB, free: 107 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000412/0.9055, allocations: 211.1 kB / 0.6225 GB, free: 107 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003798/0.9093, allocations: 386.2 kB / 0.6229 GB, free: 107 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01846/0.9278, allocations: 9.432 MB / 0.6321 GB, free: 107 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02652/0.9544, allocations: 14.35 MB / 0.6461 GB, free: 103.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002904/0.9547, allocations: 89.67 kB / 0.6462 GB, free: 103.1 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00134/0.956, allocations: 42.66 kB / 0.6463 GB, free: 103.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001774/0.9578, allocations: 1.643 MB / 0.6479 GB, free: 103.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07613/1.034, allocations: 70.35 MB / 0.7166 GB, free: 58.78 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006622/1.041, allocations: 5.693 MB / 0.7221 GB, free: 56.19 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004255/1.045, allocations: 3.957 MB / 0.726 GB, free: 54.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01782/1.063, allocations: 10.56 MB / 0.7363 GB, free: 49.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/1.063, allocations: 67 kB / 0.7364 GB, free: 49.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=258): time 5.29e-06/1.063, allocations: 0 / 0.7364 GB, free: 49.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=300): time 0.05279/1.116, allocations: 26.31 MB / 0.7621 GB, free: 31.61 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.866e-05/1.116, allocations: 239.9 kB / 0.7623 GB, free: 31.33 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00793/1.124, allocations: 4.784 MB / 0.767 GB, free: 27.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007196/1.125, allocations: 25.7 kB / 0.767 GB, free: 27.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002418/1.127, allocations: 4.364 MB / 0.7712 GB, free: 23.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001456/1.128, allocations: 1.107 MB / 0.7723 GB, free: 22.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006898/1.129, allocations: 0 / 0.7723 GB, free: 22.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004113/1.13, allocations: 0.6904 MB / 0.773 GB, free: 21.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004603/1.134, allocations: 3.459 MB / 0.7764 GB, free: 18.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007285/1.141, allocations: 8.717 MB / 0.7849 GB, free: 7.793 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007764/1.149, allocations: 5.472 MB / 0.7902 GB, free: 3.098 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001667/1.149, allocations: 52 kB / 0.7903 GB, free: 3.047 MB / 426.7 MB Notification: Performance of matching and sorting (n=1184) (initialization): time 0.198/1.347, allocations: 12.32 MB / 0.8023 GB, free: 92.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/1.348, allocations: 4.188 kB / 0.8023 GB, free: 92.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002201/1.348, allocations: 189 kB / 0.8025 GB, free: 92.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003703/1.351, allocations: 1.611 MB / 0.8041 GB, free: 92.28 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007491/1.359, allocations: 2.121 MB / 0.8061 GB, free: 92.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01241/1.371, allocations: 10.14 MB / 0.816 GB, free: 89.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01053/1.382, allocations: 300.6 kB / 0.8163 GB, free: 89.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002858/1.385, allocations: 0.5361 MB / 0.8168 GB, free: 89.75 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 854 * Number of states: 0 () * Number of discrete variables: 60 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1114): * Single equations (assignments): 1109 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001983/1.387, allocations: 0.5739 MB / 0.8174 GB, free: 89.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00124/1.388, allocations: 0.503 MB / 0.8179 GB, free: 89.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01062/1.399, allocations: 6.365 MB / 0.8241 GB, free: 89.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.908e-05/1.399, allocations: 29.75 kB / 0.8241 GB, free: 89.49 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.869e-05/1.399, allocations: 6.719 kB / 0.8241 GB, free: 89.49 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.754e-05/1.399, allocations: 13.64 kB / 0.8242 GB, free: 89.49 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02301/1.422, allocations: 13.24 MB / 0.8371 GB, free: 88.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.076e-05/1.422, allocations: 3.938 kB / 0.8371 GB, free: 88.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002843/1.425, allocations: 498.2 kB / 0.8376 GB, free: 88.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003484/1.428, allocations: 1.298 MB / 0.8388 GB, free: 88.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000429/1.429, allocations: 9.469 kB / 0.8388 GB, free: 88.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01133/1.44, allocations: 9.482 MB / 0.8481 GB, free: 86.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/1.44, allocations: 6.406 kB / 0.8481 GB, free: 86.39 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01552/1.456, allocations: 10.74 MB / 0.8586 GB, free: 83.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003322/1.459, allocations: 1.012 MB / 0.8596 GB, free: 83.17 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001296/1.46, allocations: 11.3 kB / 0.8596 GB, free: 83.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00277/1.463, allocations: 107.7 kB / 0.8597 GB, free: 83.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003954/1.464, allocations: 131.1 kB / 0.8598 GB, free: 83.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002619/1.464, allocations: 73.5 kB / 0.8599 GB, free: 83.12 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.006129/1.47, allocations: 3.237 MB / 0.8631 GB, free: 81.99 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01246/1.483, allocations: 1.383 MB / 0.8644 GB, free: 81.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (245): * Single equations (assignments): 240 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008949/1.483, allocations: 156.4 kB / 0.8646 GB, free: 81.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01669/1.5, allocations: 8.462 MB / 0.8728 GB, free: 78.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/1.5, allocations: 0 / 0.8728 GB, free: 78.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005804/1.506, allocations: 3.213 MB / 0.876 GB, free: 77.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004098/1.51, allocations: 0.5029 MB / 0.8764 GB, free: 77.49 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03213/1.542, allocations: 12.83 MB / 0.889 GB, free: 70.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01042/1.553, allocations: 5.314 MB / 0.8942 GB, free: 66.72 MB / 426.7 MB Notification: Performance of SimCode: time 3.406e-06/1.553, allocations: 0 / 0.8942 GB, free: 66.72 MB / 426.7 MB Notification: Performance of Templates: time 0.3227/1.876, allocations: 62.01 MB / 0.9547 GB, free: 74.61 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1)