Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.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.Parts.FreeBodiesEnforceStatesFalse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse") translateModel(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.003757/0.003757, allocations: 171.4 kB / 7.446 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.36/1.36, allocations: 170.6 MB / 178.4 MB, free: 15.38 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.001791/0.001791, allocations: 124.4 kB / 217.7 MB, free: 8.145 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.1819/0.1819, allocations: 37.97 MB / 294.8 MB, free: 9.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.326e-06/8.466e-06, allocations: 0 / 349.5 MB, free: 37.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1095, allocations: 48.71 MB / 398.2 MB, free: 5.688 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3619/0.4715, allocations: 91.85 MB / 490.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002466/0.4718, allocations: 70.66 kB / 490.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.4758/0.9476, allocations: 137.1 MB / 0.6126 GB, free: 3.742 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0009366/0.9486, allocations: 155.4 kB / 0.6127 GB, free: 3.594 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: 2525 * Number of variables: 2525 Notification: Performance of Generate backend data structure: time 0.4613/1.41, allocations: 8.266 MB / 0.6208 GB, free: 97.78 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/1.41, allocations: 10.31 kB / 0.6208 GB, free: 97.78 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04829/1.458, allocations: 7.13 MB / 0.6278 GB, free: 97.28 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04008/1.498, allocations: 10.97 MB / 0.6385 GB, free: 96.81 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007843/1.499, allocations: 244.9 kB / 0.6387 GB, free: 96.81 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004449/1.504, allocations: 463.3 kB / 0.6392 GB, free: 96.8 MB / 426.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02549/1.529, allocations: 10.46 MB / 0.6494 GB, free: 96.77 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03735/1.567, allocations: 15.53 MB / 0.6645 GB, free: 92.69 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006754/1.567, allocations: 107.8 kB / 0.6646 GB, free: 92.68 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00376/1.571, allocations: 45.91 kB / 0.6647 GB, free: 92.68 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002739/1.574, allocations: 1.719 MB / 0.6664 GB, free: 92.66 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1081/1.682, allocations: 79.88 MB / 0.7444 GB, free: 39.46 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006979/1.689, allocations: 4.657 MB / 0.7489 GB, free: 37.11 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005434/1.694, allocations: 3.68 MB / 0.7525 GB, free: 35.46 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0236/1.718, allocations: 10.95 MB / 0.7632 GB, free: 27.04 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.762e-05/1.718, allocations: 67.09 kB / 0.7633 GB, free: 26.97 MB / 426.8 MB Notification: Performance of pre-optimization done (n=259): time 7.193e-06/1.718, allocations: 0 / 0.7633 GB, free: 26.97 MB / 426.8 MB Notification: Performance of matching and sorting (n=287): time 0.06397/1.782, allocations: 22.2 MB / 0.7849 GB, free: 8.051 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.93e-05/1.782, allocations: 239.6 kB / 0.7852 GB, free: 7.77 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01864/1.801, allocations: 5.217 MB / 0.7903 GB, free: 3.18 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001317/1.802, allocations: 25.7 kB / 0.7903 GB, free: 3.148 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.2007/2.003, allocations: 4.752 MB / 0.7949 GB, free: 94.44 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002295/2.005, allocations: 1.152 MB / 0.7961 GB, free: 94.44 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/2.006, allocations: 0 / 0.7961 GB, free: 94.44 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0004666/2.007, allocations: 0.7262 MB / 0.7968 GB, free: 94.11 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005005/2.012, allocations: 3.801 MB / 0.8005 GB, free: 94.09 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007446/2.019, allocations: 9.681 MB / 0.8099 GB, free: 86.48 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009221/2.029, allocations: 6.145 MB / 0.8159 GB, free: 86.43 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001817/2.029, allocations: 62.97 kB / 0.816 GB, free: 86.43 MB / 426.8 MB Notification: Performance of matching and sorting (n=1295) (initialization): time 0.03061/2.06, allocations: 14.3 MB / 0.83 GB, free: 85.77 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/2.06, allocations: 3 kB / 0.83 GB, free: 85.77 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01666/2.076, allocations: 6.879 MB / 0.8367 GB, free: 85.55 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008637/2.085, allocations: 2.694 MB / 0.8393 GB, free: 85.47 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009701/2.095, allocations: 2.365 MB / 0.8416 GB, free: 85.27 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009096/2.104, allocations: 10.72 MB / 0.8521 GB, free: 77.77 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01119/2.115, allocations: 0.5179 MB / 0.8526 GB, free: 77.75 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003562/2.119, allocations: 0.6101 MB / 0.8532 GB, free: 77.75 MB / 426.8 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 (1228): * Single equations (assignments): 1203 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 11 * Torn equation systems: 3 * 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: 3 {1,1,1} * 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: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.004907/2.124, allocations: 0.6303 MB / 0.8538 GB, free: 77.44 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003042/2.127, allocations: 0.5541 MB / 0.8543 GB, free: 77.13 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02049/2.147, allocations: 7.533 MB / 0.8617 GB, free: 76.84 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01608/2.163, allocations: 6.723 MB / 0.8683 GB, free: 76.62 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.153e-05/2.163, allocations: 7.469 kB / 0.8683 GB, free: 76.62 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001237/2.163, allocations: 19.06 kB / 0.8683 GB, free: 76.62 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0235/2.187, allocations: 6.209 MB / 0.8744 GB, free: 75.25 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.136e-05/2.187, allocations: 0 / 0.8744 GB, free: 75.25 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004014/2.191, allocations: 0.5699 MB / 0.8749 GB, free: 75.22 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01075/2.202, allocations: 2.953 MB / 0.8778 GB, free: 74.61 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001195/2.203, allocations: 73.53 kB / 0.8779 GB, free: 74.59 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01561/2.219, allocations: 13.46 MB / 0.891 GB, free: 65.63 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003149/2.222, allocations: 5.646 MB / 0.8965 GB, free: 60.11 MB / 426.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02676/2.249, allocations: 11.78 MB / 0.908 GB, free: 55.47 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004896/2.254, allocations: 1.099 MB / 0.9091 GB, free: 54.45 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003414/2.257, allocations: 39.03 kB / 0.9091 GB, free: 54.41 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005599/2.263, allocations: 216.8 kB / 0.9093 GB, free: 54.29 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001174/2.264, allocations: 141.4 kB / 0.9095 GB, free: 54.21 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008991/2.265, allocations: 105.7 kB / 0.9096 GB, free: 54.13 MB / 426.8 MB Notification: Performance of sort global known variables: time 0.01074/2.276, allocations: 3.513 MB / 0.913 GB, free: 51.07 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.01455/2.29, allocations: 1.863 MB / 0.9148 GB, free: 49.22 MB / 426.8 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.001512/2.292, allocations: 200.3 kB / 0.915 GB, free: 49.02 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.02409/2.316, allocations: 10.53 MB / 0.9253 GB, free: 39.45 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/2.316, allocations: 384 / 0.9253 GB, free: 39.45 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01142/2.328, allocations: 5.093 MB / 0.9303 GB, free: 34.73 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00722/2.335, allocations: 0.6768 MB / 0.9309 GB, free: 34.16 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2418/2.577, allocations: 16.51 MB / 0.9471 GB, free: 76.14 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01262/2.589, allocations: 5.85 MB / 0.9528 GB, free: 75.26 MB / 426.8 MB Notification: Performance of SimCode: time 3.898e-06/2.589, allocations: 0 / 0.9528 GB, free: 75.26 MB / 426.8 MB Notification: Performance of Templates: time 0.1427/2.732, allocations: 73 MB / 1.024 GB, free: 69.4 MB / 426.8 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse.pipe 2>&1)