Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.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.BodyShape,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape") translateModel(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007452/0.007452, allocations: 166.5 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.487/1.487, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001717/0.001718, allocations: 110.6 kB / 226.2 MB, free: 10.11 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.3282/0.3282, allocations: 38.05 MB / 303.7 MB, free: 42.5 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004303/0.0004303, allocations: 16 kB / 362.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1294, allocations: 48.71 MB / 411.6 MB, free: 4.809 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3733/0.5028, allocations: 92.82 MB / 0.4926 GB, free: 11.22 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.5031, allocations: 82.75 kB / 0.4927 GB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2067/0.7099, allocations: 81.87 MB / 0.5726 GB, free: 13.94 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.7099, allocations: 4 kB / 0.5726 GB, free: 13.94 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002496/0.7102, allocations: 80 kB / 0.5727 GB, free: 13.86 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: 1491 * Number of variables: 1491 Notification: Performance of Generate backend data structure: time 0.01724/0.7274, allocations: 4.174 MB / 0.5768 GB, free: 9.617 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.7275, allocations: 8.031 kB / 0.5768 GB, free: 9.609 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01139/0.7389, allocations: 2.326 MB / 0.579 GB, free: 7.273 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01368/0.7526, allocations: 5.219 MB / 0.5841 GB, free: 1.988 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000339/0.753, allocations: 316.3 kB / 0.5844 GB, free: 1.676 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00233/0.7554, allocations: 415.8 kB / 0.5848 GB, free: 1.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2702/1.026, allocations: 10.4 MB / 0.595 GB, free: 77.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002279/1.026, allocations: 64.03 kB / 0.595 GB, free: 77.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009199/1.027, allocations: 207.9 kB / 0.5952 GB, free: 77.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001441/1.028, allocations: 0.9935 MB / 0.5962 GB, free: 77.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01714/1.045, allocations: 8.44 MB / 0.6045 GB, free: 77.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05378/1.099, allocations: 48.3 MB / 0.6516 GB, free: 45.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009121/1.108, allocations: 3.58 MB / 0.6551 GB, free: 44.03 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01138/1.12, allocations: 6.986 MB / 0.6619 GB, free: 40.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/1.12, allocations: 42.69 kB / 0.662 GB, free: 40.15 MB / 426.7 MB Notification: Performance of pre-optimization done (n=139): time 4.819e-06/1.12, allocations: 0 / 0.662 GB, free: 40.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=155): time 0.02954/1.149, allocations: 14.09 MB / 0.6757 GB, free: 34.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009901/1.15, allocations: 1.605 MB / 0.6773 GB, free: 32.87 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00459/1.155, allocations: 3.48 MB / 0.6807 GB, free: 31.66 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003072/1.155, allocations: 47.86 kB / 0.6807 GB, free: 31.62 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001594/1.157, allocations: 3.139 MB / 0.6838 GB, free: 29.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006136/1.158, allocations: 0.6344 MB / 0.6844 GB, free: 28.76 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000212/1.158, allocations: 118.6 kB / 0.6845 GB, free: 28.67 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002433/1.158, allocations: 0.5586 MB / 0.6851 GB, free: 28.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002427/1.161, allocations: 1.994 MB / 0.687 GB, free: 27.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003926/1.164, allocations: 5.781 MB / 0.6927 GB, free: 21.74 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003915/1.168, allocations: 3.319 MB / 0.6959 GB, free: 20.38 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.896e-05/1.168, allocations: 43.47 kB / 0.696 GB, free: 20.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.01313/1.182, allocations: 8.227 MB / 0.704 GB, free: 17.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.307e-05/1.182, allocations: 64.06 kB / 0.7041 GB, free: 17.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003888/1.186, allocations: 2.45 MB / 0.7065 GB, free: 16.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002589/1.188, allocations: 1.054 MB / 0.7075 GB, free: 16.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004071/1.192, allocations: 1.401 MB / 0.7089 GB, free: 16.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00341/1.196, allocations: 4.357 MB / 0.7131 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004735/1.2, allocations: 395.4 kB / 0.7135 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000625/1.201, allocations: 376.2 kB / 0.7138 GB, free: 12.85 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 616 * Number of states: 0 () * Number of discrete variables: 36 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (750): * Single equations (assignments): 741 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003914/1.205, allocations: 2.066 MB / 0.7159 GB, free: 11.86 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005422/1.206, allocations: 351.1 kB / 0.7162 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005124/1.211, allocations: 2.937 MB / 0.7191 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003911/1.215, allocations: 2.468 MB / 0.7215 GB, free: 8.207 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/1.215, allocations: 4 kB / 0.7215 GB, free: 8.203 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/1.215, allocations: 6.75 kB / 0.7215 GB, free: 8.203 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01398/1.229, allocations: 9.225 MB / 0.7305 GB, free: 0.8008 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.918e-06/1.229, allocations: 4 kB / 0.7305 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001055/1.23, allocations: 250.2 kB / 0.7307 GB, free: 0.6016 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003018/1.233, allocations: 1.04 MB / 0.7317 GB, free: 0 / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002775/1.233, allocations: 52.67 kB / 0.7318 GB, free: 0 / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005419/1.239, allocations: 4.932 MB / 0.7366 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001107/1.24, allocations: 1.468 MB / 0.738 GB, free: 9.879 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008855/1.249, allocations: 5.598 MB / 0.7435 GB, free: 4.926 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/1.25, allocations: 397.2 kB / 0.7439 GB, free: 4.527 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003526/1.25, allocations: 35.45 kB / 0.7439 GB, free: 4.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/1.251, allocations: 134.9 kB / 0.7441 GB, free: 4.414 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002538/1.252, allocations: 101.4 kB / 0.7442 GB, free: 4.352 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/1.252, allocations: 51.56 kB / 0.7442 GB, free: 4.305 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003701/1.256, allocations: 2.401 MB / 0.7465 GB, free: 2.348 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.503e-06/1.256, allocations: 7.938 kB / 0.7466 GB, free: 2.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005124/1.261, allocations: 1.01 MB / 0.7475 GB, free: 1.34 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 117 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004582/1.261, allocations: 161 kB / 0.7477 GB, free: 1.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2141/1.475, allocations: 5.314 MB / 0.7529 GB, free: 87.43 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.426e-06/1.475, allocations: 1.188 kB / 0.7529 GB, free: 87.43 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004149/1.479, allocations: 2.114 MB / 0.755 GB, free: 86.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002827/1.482, allocations: 418.8 kB / 0.7554 GB, free: 86.97 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01693/1.499, allocations: 11.01 MB / 0.7661 GB, free: 82.66 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003382/1.503, allocations: 3.295 MB / 0.7693 GB, free: 81.88 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004733/1.507, allocations: 1.886 MB / 0.7712 GB, free: 81.76 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006647/1.508, allocations: 246 kB / 0.7714 GB, free: 81.75 MB / 442.7 MB Notification: Performance of SimCode: time 1.303e-06/1.508, allocations: 0 / 0.7714 GB, free: 81.75 MB / 442.7 MB Notification: Performance of Templates: time 0.06789/1.576, allocations: 32.59 MB / 0.8032 GB, free: 80.02 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1)