Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.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.Joints.FreeMotion2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01091/0.01091, allocations: 166.3 kB / 15.11 MB, free: 5.992 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.363/1.363, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.00173/0.00173, allocations: 118.5 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.3676/0.3676, allocations: 38.05 MB / 303.7 MB, free: 42.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000468/0.0004679, allocations: 23.98 kB / 362.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1406, allocations: 48.7 MB / 411.6 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4436/0.5843, allocations: 96.06 MB / 0.4957 GB, free: 8.012 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003578/0.5847, allocations: 74.66 kB / 0.4958 GB, free: 7.973 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.61/1.195, allocations: 118.1 MB / 0.6112 GB, free: 73.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.986e-06/1.195, allocations: 0 / 0.6112 GB, free: 73.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005173/1.195, allocations: 116.4 kB / 0.6113 GB, free: 73.27 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: 2023 * Number of variables: 2023 Notification: Performance of Generate backend data structure: time 0.02759/1.223, allocations: 6.426 MB / 0.6176 GB, free: 70.76 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.905e-05/1.223, allocations: 11.25 kB / 0.6176 GB, free: 70.76 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02988/1.253, allocations: 6.99 MB / 0.6244 GB, free: 70.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02567/1.279, allocations: 7.827 MB / 0.632 GB, free: 69.51 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009829/1.28, allocations: 436.2 kB / 0.6325 GB, free: 69.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004872/1.285, allocations: 0.58 MB / 0.633 GB, free: 69.49 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04406/1.329, allocations: 13.93 MB / 0.6466 GB, free: 66.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007609/1.33, allocations: 85.98 kB / 0.6467 GB, free: 66.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003897/1.333, allocations: 279.4 kB / 0.647 GB, free: 66.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002249/1.336, allocations: 1.312 MB / 0.6483 GB, free: 65.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02706/1.363, allocations: 11.7 MB / 0.6597 GB, free: 62.14 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08506/1.448, allocations: 62.03 MB / 0.7202 GB, free: 16.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0146/1.463, allocations: 5.757 MB / 0.7259 GB, free: 12.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007511/1.463, allocations: 0.69 MB / 0.7265 GB, free: 11.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.089e-05/1.464, allocations: 60.56 kB / 0.7266 GB, free: 11.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=254): time 6.051e-06/1.464, allocations: 7.797 kB / 0.7266 GB, free: 11.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=320): time 0.4143/1.878, allocations: 34.21 MB / 0.76 GB, free: 83.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001413/1.878, allocations: 271 kB / 0.7603 GB, free: 83.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01087/1.889, allocations: 4.665 MB / 0.7648 GB, free: 83.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00141/1.89, allocations: 76.58 kB / 0.7649 GB, free: 83.22 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005139/1.896, allocations: 4.046 MB / 0.7689 GB, free: 81.56 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002249/1.898, allocations: 1.19 MB / 0.77 GB, free: 80.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008874/1.899, allocations: 157.1 kB / 0.7702 GB, free: 80.91 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004432/1.899, allocations: 0.63 MB / 0.7708 GB, free: 80.59 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005401/1.905, allocations: 3.32 MB / 0.774 GB, free: 80.58 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008088/1.913, allocations: 7.546 MB / 0.7814 GB, free: 75.19 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008411/1.921, allocations: 4.933 MB / 0.7862 GB, free: 75.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000156/1.921, allocations: 42.25 kB / 0.7863 GB, free: 75.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.03747/1.959, allocations: 12.6 MB / 0.7986 GB, free: 72.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004908/1.959, allocations: 72.05 kB / 0.7986 GB, free: 72.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006829/1.96, allocations: 150 kB / 0.7988 GB, free: 72.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007495/1.968, allocations: 2.146 MB / 0.8009 GB, free: 72.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007523/1.975, allocations: 1.752 MB / 0.8026 GB, free: 72.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01912/1.994, allocations: 14.81 MB / 0.817 GB, free: 64.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008599/2.003, allocations: 459.7 kB / 0.8175 GB, free: 64.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002287/2.005, allocations: 458.8 kB / 0.8179 GB, free: 64.2 MB / 442.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.009729/2.015, allocations: 2.804 MB / 0.8207 GB, free: 62.88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002627/2.018, allocations: 0.4934 MB / 0.8211 GB, free: 62.61 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01577/2.034, allocations: 7.086 MB / 0.8281 GB, free: 59.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.709e-05/2.034, allocations: 31.5 kB / 0.8281 GB, free: 59.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.201e-05/2.034, allocations: 14.48 kB / 0.8281 GB, free: 59.88 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-05/2.034, allocations: 13.27 kB / 0.8281 GB, free: 59.88 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03945/2.073, allocations: 16.06 MB / 0.8438 GB, free: 53.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.995e-05/2.073, allocations: 11.28 kB / 0.8438 GB, free: 53.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002951/2.076, allocations: 0.4994 MB / 0.8443 GB, free: 53.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004955/2.081, allocations: 1.88 MB / 0.8461 GB, free: 53.16 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007143/2.082, allocations: 67.48 kB / 0.8462 GB, free: 53.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01709/2.099, allocations: 13.31 MB / 0.8592 GB, free: 46.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/2.099, allocations: 13.88 kB / 0.8592 GB, free: 46.38 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01979/2.119, allocations: 12.18 MB / 0.8711 GB, free: 38.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004365/2.123, allocations: 1.059 MB / 0.8721 GB, free: 37.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002151/2.126, allocations: 56 kB / 0.8722 GB, free: 37.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003947/2.13, allocations: 213.4 kB / 0.8724 GB, free: 36.92 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001176/2.131, allocations: 208.1 kB / 0.8726 GB, free: 36.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006406/2.131, allocations: 87.05 kB / 0.8727 GB, free: 36.7 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008566/2.14, allocations: 3.318 MB / 0.8759 GB, free: 33.99 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.9e-07/2.14, allocations: 0 / 0.8759 GB, free: 33.99 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01095/2.151, allocations: 1.491 MB / 0.8774 GB, free: 32.5 MB / 442.7 MB 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.001256/2.152, allocations: 216.5 kB / 0.8776 GB, free: 32.29 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01568/2.168, allocations: 8.285 MB / 0.8857 GB, free: 24.98 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.659e-05/2.168, allocations: 4.125 kB / 0.8857 GB, free: 24.97 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007905/2.176, allocations: 3.937 MB / 0.8895 GB, free: 21.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005932/2.182, allocations: 0.6236 MB / 0.8901 GB, free: 21.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03893/2.221, allocations: 16.82 MB / 0.9065 GB, free: 5.715 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01055/2.232, allocations: 4.52 MB / 0.911 GB, free: 2.344 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009086/2.241, allocations: 2.488 MB / 0.9134 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002228/2.243, allocations: 358.3 kB / 0.9137 GB, free: 424 kB / 442.7 MB Notification: Performance of SimCode: time 1.583e-06/2.243, allocations: 0 / 0.9137 GB, free: 424 kB / 442.7 MB Notification: Performance of Templates: time 0.4114/2.654, allocations: 60.84 MB / 0.9731 GB, free: 80.82 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1)