Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Bodies.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.InitializationConversion.Bodies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Bodies") translateModel(ModelicaTest.MultiBody.InitializationConversion.Bodies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Bodies") [: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.006382/0.006383, allocations: 174.8 kB / 7.451 MB, free: 2.504 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.279/1.279, 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.001801/0.001801, allocations: 119.8 kB / 217.7 MB, free: 8.148 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.171/0.171, allocations: 37.98 MB / 294.8 MB, free: 9.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.683e-06/6.823e-06, allocations: 1.562 kB / 349.5 MB, free: 37.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09811/0.09814, allocations: 48.71 MB / 398.2 MB, free: 5.684 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3496/0.4478, allocations: 87.85 MB / 486.1 MB, free: 13.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.4481, allocations: 71.3 kB / 486.1 MB, free: 13.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.3234/0.7716, allocations: 98.92 MB / 0.5713 GB, free: 12.24 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006217/0.7722, allocations: 86.81 kB / 0.5714 GB, free: 12.16 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1495 * Number of variables: 1495 Notification: Performance of Generate backend data structure: time 0.05451/0.8268, allocations: 5.92 MB / 0.5772 GB, free: 6.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/0.8269, allocations: 8.031 kB / 0.5772 GB, free: 6.172 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05064/0.8775, allocations: 6.747 MB / 0.5838 GB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07493/0.9525, allocations: 18.24 MB / 0.6016 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000513/0.9531, allocations: 132 kB / 0.6017 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003711/0.9568, allocations: 275.6 kB / 0.602 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02283/0.9797, allocations: 6.536 MB / 0.6084 GB, free: 6.375 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2751/1.255, allocations: 9.867 MB / 0.618 GB, free: 123.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005351/1.255, allocations: 80.17 kB / 0.6181 GB, free: 123.4 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002145/1.258, allocations: 37.44 kB / 0.6181 GB, free: 123.4 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001959/1.26, allocations: 1.137 MB / 0.6192 GB, free: 123.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06935/1.329, allocations: 51.26 MB / 0.6693 GB, free: 93.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005276/1.334, allocations: 3.613 MB / 0.6728 GB, free: 92.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003731/1.338, allocations: 2.508 MB / 0.6753 GB, free: 92.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0201/1.358, allocations: 9.233 MB / 0.6843 GB, free: 88.33 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.41e-05/1.358, allocations: 55.42 kB / 0.6843 GB, free: 88.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=182): time 8.856e-06/1.358, allocations: 0 / 0.6843 GB, free: 88.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=210): time 0.04884/1.407, allocations: 18.92 MB / 0.7028 GB, free: 79.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001041/1.407, allocations: 328.1 kB / 0.7031 GB, free: 79.41 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Parts.mo:1606:5-1607:60:writable] Warning: Parameter body3.r[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Parts.mo:1606:5-1607:60:writable] Warning: Parameter body3.r[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Parts.mo:1606:5-1607:60:writable] Warning: Parameter body3.r[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Parts.mo:1371:5-1372:59:writable] Warning: Parameter body2.r[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Parts.mo:1371:5-1372:59:writable] Warning: Parameter body2.r[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Parts.mo:1371:5-1372:59:writable] Warning: Parameter body2.r[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Parts.mo:1045:5-1046:59:writable] Warning: Parameter body1.r[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Parts.mo:1045:5-1046:59:writable] Warning: Parameter body1.r[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Parts.mo:1045:5-1046:59:writable] Warning: Parameter body1.r[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008277/1.416, allocations: 4.061 MB / 0.7071 GB, free: 77.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001035/1.417, allocations: 29.36 kB / 0.7071 GB, free: 77.94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002531/1.419, allocations: 3.121 MB / 0.7102 GB, free: 75.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001751/1.421, allocations: 0.8658 MB / 0.711 GB, free: 75.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003806/1.421, allocations: 0 / 0.711 GB, free: 75.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003736/1.422, allocations: 0.6263 MB / 0.7116 GB, free: 74.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003658/1.425, allocations: 2.943 MB / 0.7145 GB, free: 73.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006495/1.432, allocations: 7.32 MB / 0.7217 GB, free: 66.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008208/1.44, allocations: 4.749 MB / 0.7263 GB, free: 65.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002289/1.441, allocations: 48.44 kB / 0.7263 GB, free: 65.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=964) (initialization): time 0.03232/1.473, allocations: 11.99 MB / 0.738 GB, free: 61.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/1.473, allocations: 3.969 kB / 0.738 GB, free: 61.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01444/1.487, allocations: 5.885 MB / 0.7438 GB, free: 57.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0127/1.5, allocations: 3.145 MB / 0.7469 GB, free: 54.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006584/1.507, allocations: 1.699 MB / 0.7485 GB, free: 53.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009831/1.517, allocations: 10.9 MB / 0.7592 GB, free: 42.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01041/1.527, allocations: 480 kB / 0.7596 GB, free: 42.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002747/1.53, allocations: 466.9 kB / 0.7601 GB, free: 42.04 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 713 * Number of states: 0 () * Number of discrete variables: 36 (body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],body1.frameTranslation.color[3],body1.frameTranslation.color[2],body1.frameTranslation.color[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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 (888): * Single equations (assignments): 863 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 6 * 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%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * 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: 4 {3 1,3 1,3 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.003451/1.533, allocations: 0.5011 MB / 0.7606 GB, free: 41.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001799/1.535, allocations: 426.5 kB / 0.761 GB, free: 41.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/1.538, allocations: 0.5719 MB / 0.7615 GB, free: 40.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01467/1.552, allocations: 5.604 MB / 0.767 GB, free: 36.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.135e-05/1.552, allocations: 10.5 kB / 0.767 GB, free: 36.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.267e-05/1.552, allocations: 7.781 kB / 0.767 GB, free: 36.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02459/1.577, allocations: 9.131 MB / 0.7759 GB, free: 29.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.207e-05/1.577, allocations: 4 kB / 0.7759 GB, free: 29.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002473/1.58, allocations: 396.4 kB / 0.7763 GB, free: 28.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01309/1.593, allocations: 3.266 MB / 0.7795 GB, free: 26.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008996/1.594, allocations: 66.64 kB / 0.7796 GB, free: 26.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01451/1.608, allocations: 14.44 MB / 0.7937 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003738/1.612, allocations: 5.473 MB / 0.799 GB, free: 5.684 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2626/1.875, allocations: 10.33 MB / 0.8091 GB, free: 112.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003458/1.878, allocations: 0.8697 MB / 0.8099 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001356/1.88, allocations: 43.61 kB / 0.81 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003659/1.883, allocations: 191.3 kB / 0.8102 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003384/1.884, allocations: 112.5 kB / 0.8103 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002392/1.884, allocations: 77.17 kB / 0.8104 GB, free: 112.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.006382/1.89, allocations: 2.769 MB / 0.8131 GB, free: 112 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009725/1.9, allocations: 1.502 MB / 0.8145 GB, free: 112 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],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],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[3],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.body.frame_a.r_0[1],body1.body.frame_a.r_0[2],body1.body.frame_a.r_0[3],body1.body.w_a[1],body1.body.w_a[2],body1.body.w_a[3],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.body.frame_a.r_0[1],body2.body.frame_a.r_0[2],body2.body.frame_a.r_0[3],body2.body.w_a[1],body2.body.w_a[2],body2.body.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body3.v_0[1],body3.v_0[2],body3.v_0[3],body3.body.frame_a.r_0[1],body3.body.frame_a.r_0[2],body3.body.frame_a.r_0[3],body3.body.w_a[1],body3.body.w_a[2],body3.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 131 * 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: 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%),(4,100.0%),(3,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: 3 {(2,100.0%) 1,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008939/1.901, allocations: 195.5 kB / 0.8147 GB, free: 111.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01678/1.918, allocations: 8.802 MB / 0.8233 GB, free: 110.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/1.918, allocations: 3.281 kB / 0.8233 GB, free: 110.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008161/1.926, allocations: 4.451 MB / 0.8277 GB, free: 108.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0046/1.931, allocations: 0.5222 MB / 0.8282 GB, free: 108.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02697/1.958, allocations: 12.16 MB / 0.84 GB, free: 105.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007401/1.965, allocations: 4.102 MB / 0.844 GB, free: 105.1 MB / 426.7 MB Notification: Performance of SimCode: time 2.405e-06/1.965, allocations: 4 kB / 0.844 GB, free: 105.1 MB / 426.7 MB Notification: Performance of Templates: time 0.1197/2.085, allocations: 56.99 MB / 0.8997 GB, free: 86.47 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Bodies.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Bodies.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Bodies -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe 2>&1)