Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.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.Parts.FreeBodiesEnforceStatesFalse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse") translateModel(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse") [: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.003227/0.003227, allocations: 181.4 kB / 7.455 MB, free: 2.508 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.199/1.199, allocations: 194.2 MB / 202.1 MB, free: 8.645 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.001839/0.001839, allocations: 116.1 kB / 247.1 MB, free: 6.387 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.1614/0.1614, allocations: 39.94 MB / 331.9 MB, free: 4.938 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.324e-06/7.344e-06, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08852/0.08855, allocations: 54.88 MB / 447.6 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2729/0.3615, allocations: 98.54 MB / 0.5334 GB, free: 1.945 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002016/0.3617, allocations: 73.66 kB / 0.5335 GB, free: 1.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.3443/0.706, allocations: 137.3 MB / 0.6675 GB, free: 304 kB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004587/0.7065, allocations: 156 kB / 0.6677 GB, free: 148 kB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2525 * Number of variables: 2525 Notification: Performance of Generate backend data structure: time 0.1749/0.8814, allocations: 8.278 MB / 0.6758 GB, free: 133.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.8815, allocations: 7.406 kB / 0.6758 GB, free: 133.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02874/0.9102, allocations: 7.188 MB / 0.6828 GB, free: 133 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02879/0.9391, allocations: 10.99 MB / 0.6935 GB, free: 132 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003521/0.9395, allocations: 243.2 kB / 0.6938 GB, free: 132 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002813/0.9423, allocations: 476.5 kB / 0.6942 GB, free: 132 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01691/0.9592, allocations: 10.46 MB / 0.7044 GB, free: 132 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02516/0.9844, allocations: 15.53 MB / 0.7196 GB, free: 127.9 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004485/0.9849, allocations: 104.4 kB / 0.7197 GB, free: 127.9 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0019/0.9868, allocations: 42.81 kB / 0.7197 GB, free: 127.9 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00241/0.9892, allocations: 1.724 MB / 0.7214 GB, free: 127.9 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09077/1.08, allocations: 79.89 MB / 0.7994 GB, free: 71.11 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005988/1.086, allocations: 4.658 MB / 0.804 GB, free: 66.69 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004168/1.09, allocations: 3.686 MB / 0.8076 GB, free: 63.29 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0211/1.111, allocations: 10.97 MB / 0.8183 GB, free: 53.96 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.255e-05/1.111, allocations: 64.5 kB / 0.8184 GB, free: 53.89 MB / 474.7 MB Notification: Performance of pre-optimization done (n=259): time 5.631e-06/1.111, allocations: 0 / 0.8184 GB, free: 53.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=287): time 0.05349/1.165, allocations: 22.2 MB / 0.84 GB, free: 34.94 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/1.165, allocations: 235.6 kB / 0.8403 GB, free: 34.66 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01047/1.176, allocations: 5.221 MB / 0.8454 GB, free: 30.07 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006916/1.176, allocations: 25.7 kB / 0.8454 GB, free: 30.04 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002579/1.179, allocations: 4.758 MB / 0.85 GB, free: 25.76 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001514/1.18, allocations: 1.155 MB / 0.8512 GB, free: 24.73 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001023/1.181, allocations: 0 / 0.8512 GB, free: 24.73 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007803/1.182, allocations: 0.7163 MB / 0.8519 GB, free: 24.12 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005499/1.188, allocations: 3.834 MB / 0.8556 GB, free: 20.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008075/1.196, allocations: 9.703 MB / 0.8651 GB, free: 8.625 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009204/1.205, allocations: 6.185 MB / 0.8711 GB, free: 2.98 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003157/1.205, allocations: 60 kB / 0.8712 GB, free: 2.922 MB / 474.7 MB Notification: Performance of matching and sorting (n=1295) (initialization): time 0.2119/1.417, allocations: 15.01 MB / 0.8858 GB, free: 116.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/1.417, allocations: 8.094 kB / 0.8859 GB, free: 116.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01976/1.437, allocations: 7.55 MB / 0.8932 GB, free: 116.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01615/1.453, allocations: 3.449 MB / 0.8966 GB, free: 116.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008893/1.462, allocations: 2.311 MB / 0.8989 GB, free: 116 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01395/1.476, allocations: 12.67 MB / 0.9112 GB, free: 108.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01083/1.487, allocations: 0.5204 MB / 0.9117 GB, free: 108.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002714/1.49, allocations: 0.6075 MB / 0.9123 GB, free: 108.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 957 * Number of states: 0 () * Number of discrete variables: 75 (spring6.color[3],spring6.color[2],spring6.color[1],spring6.massColor[3],spring6.massColor[2],spring6.massColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],spring5.color[3],spring5.color[2],spring5.color[1],spring5.massColor[3],spring5.massColor[2],spring5.massColor[1],spring4.color[3],spring4.color[2],spring4.color[1],spring4.massColor[3],spring4.massColor[2],spring4.massColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[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],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (1219): * Single equations (assignments): 1194 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004173/1.494, allocations: 0.6367 MB / 0.913 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00226/1.496, allocations: 0.5519 MB / 0.9135 GB, free: 108.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01783/1.514, allocations: 7.537 MB / 0.9208 GB, free: 108 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01427/1.529, allocations: 6.726 MB / 0.9274 GB, free: 107.8 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.835e-05/1.529, allocations: 6.938 kB / 0.9274 GB, free: 107.8 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.04e-05/1.529, allocations: 10.83 kB / 0.9274 GB, free: 107.8 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0145/1.543, allocations: 6.201 MB / 0.9335 GB, free: 107.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-05/1.543, allocations: 4.953 kB / 0.9335 GB, free: 107.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003626/1.547, allocations: 0.561 MB / 0.934 GB, free: 107.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009707/1.557, allocations: 2.959 MB / 0.9369 GB, free: 107.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007992/1.557, allocations: 72.47 kB / 0.937 GB, free: 107.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01334/1.571, allocations: 13.46 MB / 0.9501 GB, free: 100.1 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002817/1.574, allocations: 5.643 MB / 0.9557 GB, free: 94.89 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02042/1.594, allocations: 11.78 MB / 0.9672 GB, free: 92.95 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002119/1.596, allocations: 0.6013 MB / 0.9678 GB, free: 92.51 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002238/1.598, allocations: 40.78 kB / 0.9678 GB, free: 92.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004737/1.603, allocations: 214.4 kB / 0.968 GB, free: 92.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006313/1.604, allocations: 147.2 kB / 0.9681 GB, free: 92.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004801/1.604, allocations: 97.48 kB / 0.9682 GB, free: 92.46 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.007202/1.612, allocations: 3.511 MB / 0.9717 GB, free: 91.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01089/1.623, allocations: 1.879 MB / 0.9735 GB, free: 90.01 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.frame_a.r_0[1],bodyShape.body.frame_a.r_0[2],bodyShape.body.frame_a.r_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.frame_a.r_0[1],bodyBox.body.frame_a.r_0[2],bodyBox.body.frame_a.r_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.frame_a.r_0[1],bodyCylinder.body.frame_a.r_0[2],bodyCylinder.body.frame_a.r_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (233): * Single equations (assignments): 216 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001096/1.624, allocations: 212.1 kB / 0.9737 GB, free: 89.84 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01848/1.642, allocations: 10.95 MB / 0.9844 GB, free: 79.89 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.642, allocations: 0 / 0.9844 GB, free: 79.89 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009571/1.652, allocations: 5.095 MB / 0.9894 GB, free: 75.23 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006116/1.658, allocations: 0.6729 MB / 0.99 GB, free: 74.67 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04021/1.698, allocations: 16.46 MB / 1.006 GB, free: 60.51 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01398/1.712, allocations: 5.828 MB / 1.012 GB, free: 56.16 MB / 474.7 MB Notification: Performance of SimCode: time 1.923e-06/1.712, allocations: 0 / 1.012 GB, free: 56.16 MB / 474.7 MB Notification: Performance of Templates: time 0.3413/2.054, allocations: 76.4 MB / 1.086 GB, free: 105.8 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.pipe 2>&1)