Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00672/0.00672, allocations: 174.2 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.792/1.792, allocations: 194.5 MB / 210.3 MB, free: 7.625 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.001736/0.001736, allocations: 116.5 kB / 255.6 MB, free: 10.23 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.2136/0.2136, allocations: 40 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004105/0.0004106, allocations: 11.38 kB / 406.2 MB, free: 51.84 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1213, allocations: 54.88 MB / 461 MB, free: 3.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4536/0.575, allocations: 102.1 MB / 0.5499 GB, free: 21.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/0.5752, allocations: 74.62 kB / 0.55 GB, free: 21.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2448/0.8201, allocations: 98.85 MB / 0.6465 GB, free: 12.83 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.8201, allocations: 0 / 0.6465 GB, free: 12.83 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003796/0.8205, allocations: 92 kB / 0.6466 GB, free: 12.74 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: 1692 * Number of variables: 1692 Notification: Performance of Generate backend data structure: time 0.02095/0.8415, allocations: 5.454 MB / 0.6519 GB, free: 7.211 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.8415, allocations: 8.031 kB / 0.652 GB, free: 7.203 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01938/0.8609, allocations: 4.611 MB / 0.6565 GB, free: 2.578 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01666/0.8776, allocations: 6.092 MB / 0.6624 GB, free: 12.42 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003633/0.878, allocations: 349 kB / 0.6627 GB, free: 12.08 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002224/0.8803, allocations: 467.8 kB / 0.6632 GB, free: 11.62 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02969/0.91, allocations: 12.7 MB / 0.6756 GB, free: 13.83 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002197/0.9102, allocations: 71.31 kB / 0.6757 GB, free: 13.76 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009116/0.9111, allocations: 223.9 kB / 0.6759 GB, free: 13.54 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00183/0.913, allocations: 1.269 MB / 0.6771 GB, free: 12.25 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02396/0.937, allocations: 10.94 MB / 0.6878 GB, free: 1.297 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3394/1.276, allocations: 55.75 MB / 0.7422 GB, free: 75.74 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01552/1.292, allocations: 5.949 MB / 0.748 GB, free: 75.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01947/1.311, allocations: 13.08 MB / 0.7608 GB, free: 72.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/1.312, allocations: 52.31 kB / 0.7609 GB, free: 72.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=193): time 4.939e-06/1.312, allocations: 0 / 0.7609 GB, free: 72.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=254): time 0.0937/1.405, allocations: 36.14 MB / 0.7962 GB, free: 67.59 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.926e-05/1.405, allocations: 207.3 kB / 0.7964 GB, free: 67.37 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006047/1.411, allocations: 3.896 MB / 0.8002 GB, free: 66.03 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006041/1.412, allocations: 64.92 kB / 0.8002 GB, free: 65.97 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002288/1.414, allocations: 3.43 MB / 0.8036 GB, free: 63.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001218/1.416, allocations: 0.9447 MB / 0.8045 GB, free: 62.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003448/1.416, allocations: 135.7 kB / 0.8046 GB, free: 62.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002997/1.416, allocations: 0.5915 MB / 0.8052 GB, free: 62.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004115/1.42, allocations: 3.071 MB / 0.8082 GB, free: 61.28 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006887/1.427, allocations: 6.967 MB / 0.815 GB, free: 55.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006737/1.434, allocations: 4.525 MB / 0.8194 GB, free: 53.42 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.815e-05/1.434, allocations: 37.22 kB / 0.8195 GB, free: 53.42 MB / 490.7 MB Notification: Performance of matching and sorting (n=884) (initialization): time 0.03808/1.472, allocations: 12.56 MB / 0.8317 GB, free: 47.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001564/1.472, allocations: 64 kB / 0.8318 GB, free: 47.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003025/1.473, allocations: 136 kB / 0.8319 GB, free: 47.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01365/1.486, allocations: 3.216 MB / 0.8351 GB, free: 44.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008454/1.495, allocations: 1.549 MB / 0.8366 GB, free: 43.58 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03018/1.525, allocations: 15.55 MB / 0.8518 GB, free: 30.33 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009891/1.535, allocations: 472 kB / 0.8522 GB, free: 29.96 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002319/1.538, allocations: 403 kB / 0.8526 GB, free: 29.57 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 33 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (806): * Single equations (assignments): 802 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(8,54.7%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008773/1.546, allocations: 2.347 MB / 0.8549 GB, free: 27.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001412/1.548, allocations: 406.8 kB / 0.8553 GB, free: 27.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02087/1.569, allocations: 7.418 MB / 0.8625 GB, free: 21.37 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.208e-05/1.569, allocations: 27.94 kB / 0.8625 GB, free: 21.34 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-05/1.569, allocations: 12 kB / 0.8625 GB, free: 21.33 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-05/1.569, allocations: 11.11 kB / 0.8626 GB, free: 21.33 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04133/1.61, allocations: 15.02 MB / 0.8772 GB, free: 9.355 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.188e-05/1.61, allocations: 4 kB / 0.8772 GB, free: 9.352 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002829/1.613, allocations: 387.1 kB / 0.8776 GB, free: 8.977 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01167/1.625, allocations: 2.881 MB / 0.8804 GB, free: 6.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007876/1.626, allocations: 40 kB / 0.8805 GB, free: 6.051 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02997/1.656, allocations: 13.85 MB / 0.894 GB, free: 8.062 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/1.656, allocations: 3.75 kB / 0.894 GB, free: 8.062 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03261/1.688, allocations: 11.4 MB / 0.9051 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004782/1.693, allocations: 0.9135 MB / 0.906 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001615/1.695, allocations: 36 kB / 0.906 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003896/1.699, allocations: 205.2 kB / 0.9062 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007668/1.7, allocations: 153.8 kB / 0.9064 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003283/1.7, allocations: 56 kB / 0.9064 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007988/1.708, allocations: 2.739 MB / 0.9091 GB, free: 8.441 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.61e-07/1.708, allocations: 0 / 0.9091 GB, free: 8.441 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01437/1.722, allocations: 1.31 MB / 0.9104 GB, free: 7.137 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.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 (189): * Single equations (assignments): 185 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00115/1.724, allocations: 187.1 kB / 0.9106 GB, free: 6.957 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.3233/2.047, allocations: 7.772 MB / 0.9182 GB, free: 134 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/2.047, allocations: 3.625 kB / 0.9182 GB, free: 134 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005774/2.053, allocations: 3.071 MB / 0.9212 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003444/2.056, allocations: 459 kB / 0.9216 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0245/2.081, allocations: 13.55 MB / 0.9348 GB, free: 129.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004563/2.085, allocations: 3.782 MB / 0.9385 GB, free: 128.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005219/2.091, allocations: 2.168 MB / 0.9406 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009465/2.092, allocations: 284.5 kB / 0.9409 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.282e-06/2.092, allocations: 0 / 0.9409 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.08603/2.178, allocations: 53.69 MB / 0.9933 GB, free: 124.5 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1)