Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.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.Joints.FreeMotion2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.006459/0.006459, allocations: 173.9 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.728/1.728, allocations: 194.5 MB / 210.3 MB, free: 8.598 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.001979/0.001979, allocations: 112.7 kB / 255.6 MB, free: 11.21 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2157/0.2157, allocations: 40.02 MB / 340.8 MB, free: 11.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004519/0.0004519, allocations: 15.47 kB / 406.2 MB, free: 52.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1304, allocations: 54.88 MB / 461 MB, free: 3.426 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4588/0.5893, allocations: 102.9 MB / 0.5507 GB, free: 21.81 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.5895, allocations: 83.84 kB / 0.5508 GB, free: 21.81 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.298/0.8875, allocations: 118.4 MB / 0.6664 GB, free: 8.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.8876, allocations: 0 / 0.6664 GB, free: 8.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005592/0.8882, allocations: 116 kB / 0.6665 GB, free: 8.477 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: 2027 * Number of variables: 2027 Notification: Performance of Generate backend data structure: time 0.02866/0.9168, allocations: 6.429 MB / 0.6728 GB, free: 1.969 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.9169, allocations: 16.03 kB / 0.6728 GB, free: 1.953 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02869/0.9456, allocations: 6.985 MB / 0.6796 GB, free: 10.95 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02394/0.9696, allocations: 7.833 MB / 0.6873 GB, free: 3.027 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007818/0.9705, allocations: 439.5 kB / 0.6877 GB, free: 2.598 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004447/0.9749, allocations: 0.5817 MB / 0.6883 GB, free: 2.016 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04009/1.015, allocations: 13.93 MB / 0.7019 GB, free: 2.895 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004026/1.016, allocations: 91.14 kB / 0.702 GB, free: 2.805 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002293/1.018, allocations: 271.9 kB / 0.7022 GB, free: 2.539 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002142/1.02, allocations: 1.322 MB / 0.7035 GB, free: 1.215 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0267/1.047, allocations: 11.7 MB / 0.7149 GB, free: 5.496 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4384/1.485, allocations: 62.08 MB / 0.7755 GB, free: 54.69 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01331/1.498, allocations: 5.764 MB / 0.7812 GB, free: 54.01 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006651/1.499, allocations: 0.6898 MB / 0.7819 GB, free: 53.44 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.112e-05/1.499, allocations: 64.5 kB / 0.7819 GB, free: 53.4 MB / 490.7 MB Notification: Performance of pre-optimization done (n=254): time 5.691e-06/1.499, allocations: 0 / 0.7819 GB, free: 53.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=320): time 0.09515/1.594, allocations: 34.21 MB / 0.8153 GB, free: 47.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/1.595, allocations: 269.3 kB / 0.8156 GB, free: 46.85 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009544/1.604, allocations: 4.667 MB / 0.8201 GB, free: 45.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008777/1.605, allocations: 72.83 kB / 0.8202 GB, free: 45.22 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003138/1.608, allocations: 4.049 MB / 0.8242 GB, free: 42.5 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001672/1.61, allocations: 1.19 MB / 0.8253 GB, free: 41.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009803/1.611, allocations: 155.5 kB / 0.8255 GB, free: 41.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006371/1.612, allocations: 0.6332 MB / 0.8261 GB, free: 41.06 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005102/1.617, allocations: 3.324 MB / 0.8293 GB, free: 39.88 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008624/1.625, allocations: 7.551 MB / 0.8367 GB, free: 33.07 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00779/1.633, allocations: 4.927 MB / 0.8415 GB, free: 31.28 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001056/1.633, allocations: 42.91 kB / 0.8416 GB, free: 31.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.02624/1.66, allocations: 12.6 MB / 0.8539 GB, free: 25.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001603/1.66, allocations: 68 kB / 0.8539 GB, free: 25.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002391/1.66, allocations: 148 kB / 0.8541 GB, free: 25.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004929/1.665, allocations: 2.137 MB / 0.8562 GB, free: 24.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00618/1.671, allocations: 1.757 MB / 0.8579 GB, free: 22.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01611/1.687, allocations: 14.82 MB / 0.8724 GB, free: 9.352 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008025/1.695, allocations: 453.5 kB / 0.8728 GB, free: 8.973 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002063/1.697, allocations: 455.6 kB / 0.8732 GB, free: 8.547 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 673 * Number of states: 0 () * Number of discrete variables: 39 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (928): * Single equations (assignments): 923 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 24,(3,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007779/1.705, allocations: 2.819 MB / 0.876 GB, free: 6.062 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001592/1.707, allocations: 497.6 kB / 0.8764 GB, free: 5.57 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01437/1.721, allocations: 7.15 MB / 0.8834 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.921e-05/1.721, allocations: 35.95 kB / 0.8835 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.262e-05/1.721, allocations: 12 kB / 0.8835 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-05/1.721, allocations: 15.38 kB / 0.8835 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03897/1.76, allocations: 16.07 MB / 0.8992 GB, free: 2.691 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.529e-05/1.761, allocations: 4 kB / 0.8992 GB, free: 2.688 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002717/1.763, allocations: 0.5032 MB / 0.8997 GB, free: 2.273 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004827/1.768, allocations: 1.876 MB / 0.9015 GB, free: 0.9141 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005854/1.769, allocations: 63.66 kB / 0.9016 GB, free: 0.8555 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3177/2.086, allocations: 13.34 MB / 0.9146 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.36e-05/2.086, allocations: 13.03 kB / 0.9146 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02024/2.107, allocations: 12.18 MB / 0.9265 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004833/2.112, allocations: 1.05 MB / 0.9275 GB, free: 99.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001775/2.113, allocations: 68.03 kB / 0.9276 GB, free: 99.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0034/2.117, allocations: 211.5 kB / 0.9278 GB, free: 99.97 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006967/2.118, allocations: 213.6 kB / 0.928 GB, free: 99.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002664/2.118, allocations: 84.09 kB / 0.9281 GB, free: 99.96 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007075/2.125, allocations: 3.314 MB / 0.9313 GB, free: 99.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.61e-07/2.125, allocations: 0 / 0.9313 GB, free: 99.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01008/2.135, allocations: 1.493 MB / 0.9328 GB, free: 99.79 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * 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 (259): * Single equations (assignments): 254 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,46.9%) 17,(7,46.9%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001085/2.136, allocations: 220.7 kB / 0.933 GB, free: 99.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0152/2.151, allocations: 8.283 MB / 0.9411 GB, free: 99.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/2.151, allocations: 5.844 kB / 0.9411 GB, free: 99.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.007309/2.159, allocations: 3.924 MB / 0.9449 GB, free: 99.07 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004437/2.163, allocations: 0.6204 MB / 0.9455 GB, free: 99.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02915/2.192, allocations: 16.86 MB / 0.962 GB, free: 91.79 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007007/2.199, allocations: 4.515 MB / 0.9664 GB, free: 90.23 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.007453/2.207, allocations: 2.493 MB / 0.9688 GB, free: 90.04 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00162/2.209, allocations: 357.2 kB / 0.9692 GB, free: 90.02 MB / 0.4948 GB Notification: Performance of SimCode: time 7.42e-07/2.209, allocations: 4 kB / 0.9692 GB, free: 90.01 MB / 0.4948 GB Notification: Performance of Templates: time 0.1156/2.324, allocations: 60.69 MB / 1.028 GB, free: 59.45 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1)