Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.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.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001556/0.001556, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.405/1.405, allocations: 170.7 MB / 178.7 MB, free: 15.64 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.001644/0.001644, allocations: 115.4 kB / 218 MB, free: 8.406 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.2027/0.2027, allocations: 37.97 MB / 295.1 MB, free: 9.492 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.858e-05/1.861e-05, allocations: 3.625 kB / 350 MB, free: 37 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1173, allocations: 48.72 MB / 398.7 MB, free: 5.332 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4264/0.5438, allocations: 94.52 MB / 493.2 MB, free: 17.81 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.5441, allocations: 70.89 kB / 493.3 MB, free: 17.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2387/0.7828, allocations: 96.91 MB / 0.5764 GB, free: 12.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.7828, allocations: 3.938 kB / 0.5764 GB, free: 12.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001827/0.783, allocations: 92 kB / 0.5765 GB, free: 12.79 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1690 * Number of variables: 1690 Notification: Performance of Generate backend data structure: time 0.01623/0.7992, allocations: 5.122 MB / 0.5815 GB, free: 7.598 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.7993, allocations: 8.031 kB / 0.5815 GB, free: 7.59 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01913/0.8184, allocations: 4.611 MB / 0.586 GB, free: 2.965 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01684/0.8353, allocations: 6.041 MB / 0.5919 GB, free: 12.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002643/0.8356, allocations: 148 kB / 0.592 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002342/0.838, allocations: 279.9 kB / 0.5923 GB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01548/0.8535, allocations: 7.41 MB / 0.5995 GB, free: 5.023 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02625/0.8798, allocations: 10.84 MB / 0.6101 GB, free: 9.098 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004951/0.8803, allocations: 75.27 kB / 0.6102 GB, free: 9.023 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002847/0.8832, allocations: 36 kB / 0.6102 GB, free: 8.988 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002266/0.8855, allocations: 1.257 MB / 0.6115 GB, free: 7.727 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3387/1.224, allocations: 54.21 MB / 0.6644 GB, free: 56.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005112/1.229, allocations: 4.37 MB / 0.6687 GB, free: 55.53 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003195/1.233, allocations: 2.928 MB / 0.6715 GB, free: 55.49 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01609/1.249, allocations: 12.17 MB / 0.6834 GB, free: 50.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/1.249, allocations: 60.78 kB / 0.6835 GB, free: 50.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=193): time 4.498e-06/1.249, allocations: 0 / 0.6835 GB, free: 50.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=254): time 0.05895/1.308, allocations: 28.83 MB / 0.7116 GB, free: 41.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/1.308, allocations: 205.7 kB / 0.7118 GB, free: 40.92 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005067/1.313, allocations: 3.296 MB / 0.715 GB, free: 39.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006104/1.314, allocations: 25.7 kB / 0.7151 GB, free: 39.67 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00194/1.316, allocations: 3.49 MB / 0.7185 GB, free: 37.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001207/1.317, allocations: 0.9232 MB / 0.7194 GB, free: 36.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003387/1.317, allocations: 0 / 0.7194 GB, free: 36.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003578/1.318, allocations: 0.6029 MB / 0.72 GB, free: 36.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003857/1.321, allocations: 2.906 MB / 0.7228 GB, free: 35.01 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005455/1.327, allocations: 6.93 MB / 0.7296 GB, free: 28.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005973/1.333, allocations: 4.414 MB / 0.7339 GB, free: 26.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.128e-05/1.333, allocations: 44 kB / 0.7339 GB, free: 26.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=914) (initialization): time 0.02438/1.357, allocations: 11.62 MB / 0.7453 GB, free: 16.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/1.358, allocations: 74.53 kB / 0.7453 GB, free: 16.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000151/1.358, allocations: 144 kB / 0.7455 GB, free: 16.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00825/1.366, allocations: 3.168 MB / 0.7486 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005748/1.372, allocations: 1.604 MB / 0.7501 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01788/1.39, allocations: 13.82 MB / 0.7636 GB, free: 1.234 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006914/1.397, allocations: 345.9 kB / 0.764 GB, free: 0.9844 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001651/1.398, allocations: 425.5 kB / 0.7644 GB, free: 0.582 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 654 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (836): * Single equations (assignments): 832 * 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 {(11,36.4%) 44} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001242/1.4, allocations: 462 kB / 0.7648 GB, free: 132 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009746/1.401, allocations: 376.5 kB / 0.7652 GB, free: 15.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01465/1.415, allocations: 7.15 MB / 0.7721 GB, free: 10.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.732e-05/1.415, allocations: 33.59 kB / 0.7722 GB, free: 10.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.636e-05/1.415, allocations: 12 kB / 0.7722 GB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.777e-05/1.415, allocations: 10.92 kB / 0.7722 GB, free: 10.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2891/1.704, allocations: 13.91 MB / 0.7858 GB, free: 94.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.002e-05/1.705, allocations: 1.375 kB / 0.7858 GB, free: 94.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002157/1.707, allocations: 383.9 kB / 0.7861 GB, free: 94.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008922/1.716, allocations: 2.849 MB / 0.7889 GB, free: 94.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005174/1.716, allocations: 11.45 kB / 0.7889 GB, free: 94.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01854/1.735, allocations: 12.33 MB / 0.801 GB, free: 93.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/1.735, allocations: 1.5 kB / 0.801 GB, free: 93.55 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01694/1.752, allocations: 11.1 MB / 0.8118 GB, free: 92.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002178/1.754, allocations: 0.8732 MB / 0.8127 GB, free: 92.85 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007114/1.755, allocations: 3.875 kB / 0.8127 GB, free: 92.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001995/1.757, allocations: 170.7 kB / 0.8128 GB, free: 92.85 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004886/1.757, allocations: 154.6 kB / 0.813 GB, free: 92.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001787/1.757, allocations: 60.19 kB / 0.813 GB, free: 92.85 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003323/1.761, allocations: 2.202 MB / 0.8152 GB, free: 92.67 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.1e-07/1.761, allocations: 0 / 0.8152 GB, free: 92.67 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005953/1.767, allocations: 1.132 MB / 0.8163 GB, free: 92.67 MB / 442.7 MB 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 () * 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.0005008/1.767, allocations: 153.1 kB / 0.8164 GB, free: 92.59 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01071/1.778, allocations: 7.439 MB / 0.8237 GB, free: 92.11 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/1.778, allocations: 3.156 kB / 0.8237 GB, free: 92.11 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004218/1.782, allocations: 2.959 MB / 0.8266 GB, free: 90.94 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003017/1.785, allocations: 373.6 kB / 0.827 GB, free: 90.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01778/1.803, allocations: 9.634 MB / 0.8364 GB, free: 87.39 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003539/1.807, allocations: 3.763 MB / 0.84 GB, free: 86.04 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005261/1.812, allocations: 2.216 MB / 0.8422 GB, free: 85.99 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008633/1.813, allocations: 266.8 kB / 0.8425 GB, free: 85.98 MB / 442.7 MB Notification: Performance of SimCode: time 9.11e-07/1.813, allocations: 0 / 0.8425 GB, free: 85.98 MB / 442.7 MB Notification: Performance of Templates: time 0.07671/1.89, allocations: 48.42 MB / 0.8897 GB, free: 59.21 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1)