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.002043/0.002043, allocations: 181.9 kB / 12.74 MB, free: 2.582 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.634/1.634, allocations: 194.3 MB / 207.5 MB, free: 3.465 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.001704/0.001704, allocations: 109.8 kB / 252.6 MB, free: 4.805 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.2178/0.2178, allocations: 39.93 MB / 337.5 MB, free: 496 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.166e-05/3.169e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1118, allocations: 54.85 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4664/0.5782, allocations: 102.8 MB / 0.5449 GB, free: 5.094 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/0.5787, allocations: 76.66 kB / 0.5449 GB, free: 5.055 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3134/0.8921, allocations: 118.5 MB / 0.6606 GB, free: 6.023 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.8922, allocations: 4 kB / 0.6607 GB, free: 6.02 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004979/0.8927, allocations: 116 kB / 0.6608 GB, free: 5.906 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: 2027 * Number of variables: 2027 Notification: Performance of Generate backend data structure: time 0.4188/1.312, allocations: 5.93 MB / 0.6666 GB, free: 89.32 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/1.312, allocations: 10.34 kB / 0.6666 GB, free: 89.32 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03207/1.344, allocations: 6.999 MB / 0.6734 GB, free: 88.93 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02659/1.37, allocations: 7.79 MB / 0.681 GB, free: 88.51 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001016/1.371, allocations: 443.6 kB / 0.6814 GB, free: 88.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004491/1.376, allocations: 0.5856 MB / 0.682 GB, free: 88.49 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04794/1.424, allocations: 13.83 MB / 0.6955 GB, free: 85.27 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008344/1.425, allocations: 82.73 kB / 0.6956 GB, free: 85.26 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004829/1.43, allocations: 276.8 kB / 0.6958 GB, free: 85.26 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003445/1.433, allocations: 1.32 MB / 0.6971 GB, free: 85.25 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0393/1.472, allocations: 11.52 MB / 0.7084 GB, free: 85.2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09027/1.563, allocations: 62.09 MB / 0.769 GB, free: 41.88 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01444/1.577, allocations: 5.718 MB / 0.7746 GB, free: 39.76 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005668/1.583, allocations: 3.28 MB / 0.7778 GB, free: 38.34 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008575/1.584, allocations: 0.6931 MB / 0.7785 GB, free: 37.75 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.111e-05/1.584, allocations: 60.31 kB / 0.7785 GB, free: 37.69 MB / 474.7 MB Notification: Performance of pre-optimization done (n=254): time 6.873e-06/1.584, allocations: 0 / 0.7785 GB, free: 37.69 MB / 474.7 MB Notification: Performance of matching and sorting (n=320): time 0.09264/1.677, allocations: 29.16 MB / 0.807 GB, free: 15.39 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/1.677, allocations: 273.3 kB / 0.8073 GB, free: 15.07 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008485/1.685, allocations: 4.624 MB / 0.8118 GB, free: 10.98 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001024/1.687, allocations: 73.64 kB / 0.8119 GB, free: 10.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002494/1.689, allocations: 4.044 MB / 0.8158 GB, free: 7.273 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002035/1.691, allocations: 1.188 MB / 0.817 GB, free: 6.219 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005472/1.692, allocations: 148 kB / 0.8171 GB, free: 6.074 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004023/1.692, allocations: 0.6339 MB / 0.8177 GB, free: 5.531 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004591/1.697, allocations: 3.254 MB / 0.8209 GB, free: 2.594 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01068/1.707, allocations: 7.619 MB / 0.8284 GB, free: 9.863 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009584/1.717, allocations: 4.913 MB / 0.8332 GB, free: 5.602 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001465/1.717, allocations: 44 kB / 0.8332 GB, free: 5.559 MB / 490.7 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.03028/1.747, allocations: 12.46 MB / 0.8454 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002634/1.748, allocations: 68 kB / 0.8454 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000403/1.748, allocations: 148.9 kB / 0.8456 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006261/1.755, allocations: 2.137 MB / 0.8477 GB, free: 8.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007429/1.762, allocations: 1.754 MB / 0.8494 GB, free: 6.422 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4424/2.204, allocations: 14.32 MB / 0.8634 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008907/2.213, allocations: 458 kB / 0.8638 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002701/2.216, allocations: 454.7 kB / 0.8642 GB, free: 104.1 MB / 0.4948 GB 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 () * 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.001987/2.218, allocations: 0.6712 MB / 0.8649 GB, free: 104 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001547/2.22, allocations: 0.4889 MB / 0.8654 GB, free: 104 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01552/2.235, allocations: 7.016 MB / 0.8722 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001558/2.235, allocations: 38.3 kB / 0.8722 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.379e-05/2.236, allocations: 10.34 kB / 0.8723 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001274/2.236, allocations: 20.94 kB / 0.8723 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03639/2.272, allocations: 16 MB / 0.8879 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-05/2.272, allocations: 6.531 kB / 0.8879 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002836/2.275, allocations: 0.5096 MB / 0.8884 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004509/2.28, allocations: 1.873 MB / 0.8902 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006497/2.28, allocations: 67.17 kB / 0.8903 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01699/2.297, allocations: 12.82 MB / 0.9028 GB, free: 98.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-05/2.297, allocations: 11 kB / 0.9028 GB, free: 98.42 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01911/2.316, allocations: 12.07 MB / 0.9146 GB, free: 92.98 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004349/2.321, allocations: 1.06 MB / 0.9156 GB, free: 92.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002109/2.323, allocations: 55.44 kB / 0.9157 GB, free: 92.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004255/2.327, allocations: 216.6 kB / 0.9159 GB, free: 92.39 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009268/2.328, allocations: 199.9 kB / 0.9161 GB, free: 92.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005025/2.329, allocations: 90.97 kB / 0.9162 GB, free: 92.34 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009202/2.338, allocations: 3.268 MB / 0.9194 GB, free: 91.21 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.804e-06/2.338, allocations: 0 / 0.9194 GB, free: 91.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01034/2.348, allocations: 1.495 MB / 0.9208 GB, free: 91.04 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 () * 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.0009072/2.349, allocations: 206.8 kB / 0.921 GB, free: 90.91 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01556/2.365, allocations: 8.168 MB / 0.929 GB, free: 88.16 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.528e-05/2.365, allocations: 7.344 kB / 0.929 GB, free: 88.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00806/2.373, allocations: 3.882 MB / 0.9328 GB, free: 86.76 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006297/2.379, allocations: 0.6319 MB / 0.9334 GB, free: 86.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03304/2.413, allocations: 12.22 MB / 0.9454 GB, free: 82.06 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009314/2.422, allocations: 4.528 MB / 0.9498 GB, free: 80.49 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00711/2.429, allocations: 2.495 MB / 0.9522 GB, free: 79.11 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001484/2.431, allocations: 348.1 kB / 0.9525 GB, free: 78.79 MB / 0.4948 GB Notification: Performance of SimCode: time 1.453e-06/2.431, allocations: 0 / 0.9525 GB, free: 78.79 MB / 0.4948 GB Notification: Performance of Templates: time 0.1083/2.539, allocations: 60.69 MB / 1.012 GB, free: 28.9 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)