Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.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.FreeBodies2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2") translateModel(ModelicaTest.MultiBody.Parts.FreeBodies2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001227/0.001227, allocations: 182.8 kB / 7.652 MB, free: 1.402 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.505/1.505, allocations: 194.3 MB / 202.4 MB, free: 8.48 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.001545/0.001545, allocations: 112.5 kB / 247.4 MB, free: 6.203 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.1989/0.1989, allocations: 39.94 MB / 332.2 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.41e-05/1.412e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1022, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.406/0.5083, allocations: 98.61 MB / 0.534 GB, free: 1.742 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002217/0.5085, allocations: 74.83 kB / 0.5341 GB, free: 1.703 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6297/1.138, allocations: 139.1 MB / 0.6699 GB, free: 79.81 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.264e-06/1.138, allocations: 0 / 0.6699 GB, free: 79.81 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0008634/1.139, allocations: 154.1 kB / 0.6701 GB, free: 79.81 MB / 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.04302/1.182, allocations: 8.682 MB / 0.6786 GB, free: 78.82 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/1.182, allocations: 9.688 kB / 0.6786 GB, free: 78.82 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03431/1.217, allocations: 7.751 MB / 0.6861 GB, free: 78.31 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02422/1.241, allocations: 10.94 MB / 0.6968 GB, free: 77.4 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004632/1.241, allocations: 241.5 kB / 0.697 GB, free: 77.4 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003524/1.245, allocations: 445.4 kB / 0.6975 GB, free: 77.4 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01725/1.262, allocations: 10.05 MB / 0.7073 GB, free: 77.36 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02959/1.292, allocations: 15.13 MB / 0.7221 GB, free: 73.29 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003964/1.292, allocations: 114 kB / 0.7222 GB, free: 73.27 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001758/1.294, allocations: 46 kB / 0.7222 GB, free: 73.27 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002332/1.296, allocations: 1.601 MB / 0.7238 GB, free: 73.26 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08765/1.384, allocations: 77.61 MB / 0.7996 GB, free: 20.32 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005369/1.389, allocations: 4.349 MB / 0.8038 GB, free: 17.39 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003317/1.393, allocations: 3.042 MB / 0.8068 GB, free: 14.58 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/1.393, allocations: 46.27 kB / 0.8068 GB, free: 14.55 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.002e-05/1.393, allocations: 68.5 kB / 0.8069 GB, free: 14.47 MB / 474.7 MB Notification: Performance of pre-optimization done (n=265): time 4.859e-06/1.393, allocations: 0 / 0.8069 GB, free: 14.47 MB / 474.7 MB Notification: Performance of matching and sorting (n=293): time 0.04786/1.441, allocations: 21.59 MB / 0.828 GB, free: 11.92 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/1.441, allocations: 239.6 kB / 0.8282 GB, free: 11.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009212/1.45, allocations: 5.141 MB / 0.8332 GB, free: 7.125 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009055/1.451, allocations: 25.7 kB / 0.8332 GB, free: 7.094 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003953/1.455, allocations: 5.298 MB / 0.8384 GB, free: 2.285 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002169/1.457, allocations: 1.172 MB / 0.8396 GB, free: 1.234 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005074/1.458, allocations: 4 kB / 0.8396 GB, free: 1.23 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006663/1.459, allocations: 0.7294 MB / 0.8403 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01911/1.478, allocations: 4.754 MB / 0.8449 GB, free: 0 / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01148/1.489, allocations: 9.575 MB / 0.8543 GB, free: 4.059 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3158/1.805, allocations: 5.833 MB / 0.86 GB, free: 96.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002103/1.805, allocations: 62.53 kB / 0.86 GB, free: 96.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.03828/1.844, allocations: 15 MB / 0.8747 GB, free: 95.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001292/1.844, allocations: 92.34 kB / 0.8748 GB, free: 95.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01654/1.86, allocations: 7.495 MB / 0.8821 GB, free: 95.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01471/1.875, allocations: 3.855 MB / 0.8858 GB, free: 95.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007718/1.883, allocations: 2.352 MB / 0.8881 GB, free: 95.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01207/1.895, allocations: 13.1 MB / 0.9009 GB, free: 87.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009525/1.905, allocations: 0.6828 MB / 0.9016 GB, free: 87.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002155/1.907, allocations: 0.6022 MB / 0.9022 GB, free: 87.84 MB / 0.4948 GB 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 (1225): * Single equations (assignments): 1200 * 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 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,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.00166/1.908, allocations: 0.6504 MB / 0.9028 GB, free: 87.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001091/1.909, allocations: 0.55 MB / 0.9034 GB, free: 87.52 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01297/1.922, allocations: 7.317 MB / 0.9105 GB, free: 87.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01176/1.934, allocations: 6.552 MB / 0.9169 GB, free: 86.93 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.419e-05/1.934, allocations: 12 kB / 0.9169 GB, free: 86.93 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.033e-05/1.934, allocations: 14.48 kB / 0.9169 GB, free: 86.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01775/1.952, allocations: 11 MB / 0.9277 GB, free: 86.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-05/1.952, allocations: 3.219 kB / 0.9277 GB, free: 86.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003256/1.955, allocations: 0.6084 MB / 0.9283 GB, free: 86.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008619/1.964, allocations: 3.072 MB / 0.9313 GB, free: 86.19 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006493/1.965, allocations: 58.48 kB / 0.9313 GB, free: 86.19 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0113/1.976, allocations: 13.76 MB / 0.9448 GB, free: 77.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002674/1.979, allocations: 5.782 MB / 0.9504 GB, free: 72.12 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0172/1.996, allocations: 11.51 MB / 0.9617 GB, free: 68.02 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001651/1.998, allocations: 0.5981 MB / 0.9622 GB, free: 67.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008901/1.999, allocations: 36.3 kB / 0.9623 GB, free: 67.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003035/2.002, allocations: 334 kB / 0.9626 GB, free: 67.58 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004892/2.002, allocations: 217.1 kB / 0.9628 GB, free: 67.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002325/2.002, allocations: 93.42 kB / 0.9629 GB, free: 67.54 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005149/2.008, allocations: 3.441 MB / 0.9662 GB, free: 66.28 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/2.008, allocations: 0 / 0.9662 GB, free: 66.28 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01/2.018, allocations: 1.887 MB / 0.9681 GB, free: 66.28 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($STATESET6.x[3],$STATESET6.x[2],$STATESET6.x[1],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],bodyShape.r_0[1],bodyShape.r_0[2],bodyShape.r_0[3],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.r_0[1],body.r_0[2],body.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.r_0[1],bodyBox.r_0[2],bodyBox.r_0[3],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.r_0[1],bodyCylinder.r_0[2],bodyCylinder.r_0[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_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 (239): * Single equations (assignments): 222 * 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%),(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 Backend phase and start with SimCode phase: time 0.0007953/2.018, allocations: 200.6 kB / 0.9683 GB, free: 66.16 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0168/2.035, allocations: 10.7 MB / 0.9787 GB, free: 56.88 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.116e-06/2.035, allocations: 4 kB / 0.9787 GB, free: 56.88 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.008452/2.044, allocations: 5.224 MB / 0.9838 GB, free: 52.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005277/2.049, allocations: 0.7 MB / 0.9845 GB, free: 51.64 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02855/2.078, allocations: 16.33 MB / 1 GB, free: 37.59 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006667/2.084, allocations: 5.403 MB / 1.006 GB, free: 33.64 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.007611/2.092, allocations: 2.992 MB / 1.009 GB, free: 31.74 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001382/2.093, allocations: 407.2 kB / 1.009 GB, free: 31.38 MB / 0.4948 GB Notification: Performance of SimCode: time 9.12e-07/2.093, allocations: 4 kB / 1.009 GB, free: 31.38 MB / 0.4948 GB Notification: Performance of Templates: time 0.39/2.483, allocations: 68.08 MB / 1.076 GB, free: 97.69 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies2.pipe 2>&1)