Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies.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.InitializationConversion.Bodies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies") translateModel(ModelicaTest.MultiBody.InitializationConversion.Bodies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.00322/0.00322, allocations: 185.7 kB / 7.458 MB, free: 2.512 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.185/1.185, allocations: 194.2 MB / 202.1 MB, free: 8.676 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.00174/0.00174, allocations: 119.1 kB / 247.1 MB, free: 6.375 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.1534/0.1534, allocations: 39.93 MB / 331.9 MB, free: 4.91 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.001e-06/6.021e-06, allocations: 0 / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08046/0.08048, allocations: 54.87 MB / 447.6 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.265/0.3456, allocations: 94.54 MB / 0.5295 GB, free: 6.004 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001588/0.3458, allocations: 76.02 kB / 0.5296 GB, free: 5.965 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.2669/0.6127, allocations: 99.11 MB / 0.6263 GB, free: 10.78 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004403/0.6132, allocations: 88 kB / 0.6264 GB, free: 10.69 MB / 442.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.03376/0.647, allocations: 5.927 MB / 0.6322 GB, free: 4.695 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.647, allocations: 8.031 kB / 0.6322 GB, free: 4.688 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03047/0.6775, allocations: 6.802 MB / 0.6389 GB, free: 13.87 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04811/0.7257, allocations: 18.28 MB / 0.6567 GB, free: 11.48 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003252/0.726, allocations: 132 kB / 0.6568 GB, free: 11.35 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002545/0.7286, allocations: 267.7 kB / 0.6571 GB, free: 11.09 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01414/0.7427, allocations: 6.54 MB / 0.6635 GB, free: 4.539 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1933/0.9361, allocations: 9.859 MB / 0.6731 GB, free: 154.6 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001941/0.9363, allocations: 83.22 kB / 0.6732 GB, free: 154.6 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005082/0.9369, allocations: 41.47 kB / 0.6732 GB, free: 154.6 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00154/0.9384, allocations: 1.139 MB / 0.6743 GB, free: 154.5 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05069/0.9891, allocations: 51.32 MB / 0.7245 GB, free: 124.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004204/0.9934, allocations: 3.602 MB / 0.728 GB, free: 123.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00258/0.996, allocations: 2.516 MB / 0.7304 GB, free: 123.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01316/1.009, allocations: 9.284 MB / 0.7395 GB, free: 119 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/1.009, allocations: 58.89 kB / 0.7396 GB, free: 118.9 MB / 474.7 MB Notification: Performance of pre-optimization done (n=182): time 6.031e-06/1.009, allocations: 0 / 0.7396 GB, free: 118.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=210): time 0.03772/1.047, allocations: 18.92 MB / 0.758 GB, free: 110.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.41e-05/1.047, allocations: 340.5 kB / 0.7584 GB, free: 110 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006074/1.053, allocations: 4.032 MB / 0.7623 GB, free: 108.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005123/1.054, allocations: 25.7 kB / 0.7623 GB, free: 108.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001651/1.055, allocations: 3.122 MB / 0.7654 GB, free: 106.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001086/1.056, allocations: 0.872 MB / 0.7662 GB, free: 105.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002955/1.057, allocations: 0 / 0.7662 GB, free: 105.7 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000309/1.057, allocations: 0.6139 MB / 0.7668 GB, free: 105.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003941/1.061, allocations: 3.004 MB / 0.7698 GB, free: 104.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005295/1.066, allocations: 7.383 MB / 0.777 GB, free: 97.28 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006137/1.072, allocations: 4.812 MB / 0.7817 GB, free: 95.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.722e-05/1.073, allocations: 44 kB / 0.7817 GB, free: 95.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=964) (initialization): time 0.04338/1.116, allocations: 13.72 MB / 0.7951 GB, free: 84.82 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/1.116, allocations: 8 kB / 0.7951 GB, free: 84.81 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03246/1.149, allocations: 7.682 MB / 0.8026 GB, free: 79.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03586/1.184, allocations: 5.17 MB / 0.8077 GB, free: 75.79 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006106/1.191, allocations: 1.693 MB / 0.8093 GB, free: 74.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01867/1.209, allocations: 14.22 MB / 0.8232 GB, free: 59.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00912/1.218, allocations: 487 kB / 0.8237 GB, free: 59.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002237/1.221, allocations: 471.9 kB / 0.8241 GB, free: 58.79 MB / 474.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): 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%),(4,100.0%),(3,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.002244/1.223, allocations: 0.493 MB / 0.8246 GB, free: 58.29 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001391/1.224, allocations: 426.5 kB / 0.825 GB, free: 57.87 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001606/1.226, allocations: 0.5687 MB / 0.8256 GB, free: 57.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01377/1.24, allocations: 5.607 MB / 0.831 GB, free: 51.65 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.4e-05/1.24, allocations: 14.5 kB / 0.831 GB, free: 51.64 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.589e-05/1.24, allocations: 7.969 kB / 0.8311 GB, free: 51.63 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01923/1.259, allocations: 9.135 MB / 0.84 GB, free: 42.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.748e-05/1.259, allocations: 0 / 0.84 GB, free: 42.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002401/1.262, allocations: 391.5 kB / 0.8403 GB, free: 42.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01236/1.274, allocations: 3.262 MB / 0.8435 GB, free: 38.74 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006805/1.275, allocations: 71.91 kB / 0.8436 GB, free: 38.67 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01378/1.289, allocations: 14.44 MB / 0.8577 GB, free: 23.47 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003711/1.292, allocations: 5.47 MB / 0.863 GB, free: 17.51 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02139/1.314, allocations: 10.32 MB / 0.8731 GB, free: 7.035 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001959/1.316, allocations: 0.5028 MB / 0.8736 GB, free: 6.512 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001047/1.317, allocations: 47.97 kB / 0.8737 GB, free: 6.465 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002993/1.32, allocations: 187.7 kB / 0.8738 GB, free: 6.281 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003097/1.32, allocations: 119.6 kB / 0.874 GB, free: 6.164 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002075/1.32, allocations: 75.75 kB / 0.874 GB, free: 6.094 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.004344/1.325, allocations: 2.765 MB / 0.8767 GB, free: 3.336 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008808/1.334, allocations: 1.535 MB / 0.8782 GB, free: 1.809 MB / 474.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.0007139/1.334, allocations: 198 kB / 0.8784 GB, free: 1.617 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.2269/1.561, allocations: 8.927 MB / 0.8871 GB, free: 140.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/1.561, allocations: 0 / 0.8871 GB, free: 140.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008293/1.57, allocations: 4.434 MB / 0.8915 GB, free: 139 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003811/1.574, allocations: 0.5313 MB / 0.892 GB, free: 139 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02309/1.597, allocations: 12.16 MB / 0.9039 GB, free: 136 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005492/1.602, allocations: 4.098 MB / 0.9079 GB, free: 135.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.522e-06/1.602, allocations: 0 / 0.9079 GB, free: 135.1 MB / 474.7 MB Notification: Performance of Templates: time 0.1127/1.715, allocations: 63.24 MB / 0.9696 GB, free: 112.5 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.InitializationConversion.Bodies.pipe 2>&1)