Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.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.JointUSP2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001289/0.001289, allocations: 163 kB / 7.635 MB, free: 1.445 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.506/1.506, allocations: 170.7 MB / 178.7 MB, free: 7.043 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.001634/0.001634, allocations: 107.6 kB / 218 MB, free: 15.34 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.2164/0.2164, allocations: 37.97 MB / 295.1 MB, free: 2.094 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.443e-05/1.445e-05, allocations: 4 kB / 350 MB, free: 32.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.329, allocations: 48.69 MB / 398.7 MB, free: 6.047 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1592/0.4882, allocations: 100.9 MB / 499.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/0.4885, allocations: 79.89 kB / 499.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5362/1.025, allocations: 120.7 MB / 0.6058 GB, free: 91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.343e-06/1.025, allocations: 0 / 0.6058 GB, free: 91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003464/1.025, allocations: 108.5 kB / 0.6059 GB, free: 91 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1928 * Number of variables: 1928 Notification: Performance of Generate backend data structure: time 0.01985/1.045, allocations: 5.637 MB / 0.6114 GB, free: 87.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/1.045, allocations: 7.812 kB / 0.6114 GB, free: 87.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02035/1.065, allocations: 4.725 MB / 0.616 GB, free: 84.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.018/1.083, allocations: 6.611 MB / 0.6225 GB, free: 77.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004581/1.084, allocations: 260.8 kB / 0.6227 GB, free: 77.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003211/1.087, allocations: 327.9 kB / 0.6231 GB, free: 77.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01593/1.103, allocations: 8.451 MB / 0.6313 GB, free: 68.94 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02328/1.126, allocations: 12.05 MB / 0.6431 GB, free: 55.77 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002653/1.127, allocations: 71.34 kB / 0.6432 GB, free: 55.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009852/1.128, allocations: 35.98 kB / 0.6432 GB, free: 55.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001475/1.129, allocations: 1.285 MB / 0.6444 GB, free: 54.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05965/1.189, allocations: 57.53 MB / 0.7006 GB, free: 11.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005466/1.194, allocations: 3.918 MB / 0.7045 GB, free: 7.305 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003382/1.198, allocations: 2.627 MB / 0.707 GB, free: 4.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2914/1.489, allocations: 11.72 MB / 0.7185 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/1.489, allocations: 59.16 kB / 0.7185 GB, free: 100.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=191): time 5.931e-06/1.489, allocations: 0 / 0.7185 GB, free: 100.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=242): time 0.07786/1.567, allocations: 33.53 MB / 0.7513 GB, free: 94.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.563e-05/1.567, allocations: 228.8 kB / 0.7515 GB, free: 94.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006048/1.573, allocations: 3.652 MB / 0.7551 GB, free: 92.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007643/1.574, allocations: 28.23 kB / 0.7551 GB, free: 92.74 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002253/1.577, allocations: 3.96 MB / 0.7589 GB, free: 89.78 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001065/1.578, allocations: 0.8938 MB / 0.7598 GB, free: 89.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003111/1.578, allocations: 0 / 0.7598 GB, free: 89.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003374/1.578, allocations: 0.6201 MB / 0.7604 GB, free: 88.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00393/1.582, allocations: 3.057 MB / 0.7634 GB, free: 87.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00638/1.589, allocations: 7.43 MB / 0.7707 GB, free: 80.44 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006065/1.595, allocations: 4.657 MB / 0.7752 GB, free: 78.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.882e-05/1.595, allocations: 49.03 kB / 0.7753 GB, free: 78.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=965) (initialization): time 0.02488/1.62, allocations: 12.82 MB / 0.7878 GB, free: 71.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/1.62, allocations: 72 kB / 0.7878 GB, free: 71.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001707/1.62, allocations: 160.2 kB / 0.788 GB, free: 71.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01098/1.631, allocations: 3.775 MB / 0.7917 GB, free: 68.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005895/1.637, allocations: 1.655 MB / 0.7933 GB, free: 67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02106/1.658, allocations: 16.52 MB / 0.8094 GB, free: 52.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006888/1.665, allocations: 350.2 kB / 0.8098 GB, free: 52.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002063/1.667, allocations: 446.6 kB / 0.8102 GB, free: 52.24 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 713 * Number of states: 0 () * Number of discrete variables: 34 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (882): * Single equations (assignments): 878 * 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 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002269/1.669, allocations: 498.5 kB / 0.8107 GB, free: 51.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009951/1.67, allocations: 402.8 kB / 0.8111 GB, free: 51.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01608/1.686, allocations: 7.879 MB / 0.8188 GB, free: 45.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-05/1.687, allocations: 31.25 kB / 0.8188 GB, free: 45.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.289e-05/1.687, allocations: 12 kB / 0.8188 GB, free: 45.35 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001096/1.687, allocations: 10.64 kB / 0.8188 GB, free: 45.35 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03112/1.718, allocations: 16.23 MB / 0.8347 GB, free: 29.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-05/1.718, allocations: 8 kB / 0.8347 GB, free: 29.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002051/1.72, allocations: 381.8 kB / 0.835 GB, free: 29.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01048/1.73, allocations: 3.823 MB / 0.8388 GB, free: 25.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004861/1.731, allocations: 14.86 kB / 0.8388 GB, free: 25.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01786/1.749, allocations: 15.01 MB / 0.8534 GB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/1.749, allocations: 0 / 0.8534 GB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02107/1.77, allocations: 12.35 MB / 0.8655 GB, free: 14.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002934/1.773, allocations: 0.8979 MB / 0.8664 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001033/1.774, allocations: 0 / 0.8664 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002677/1.777, allocations: 183.7 kB / 0.8665 GB, free: 12.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005749/1.777, allocations: 146.2 kB / 0.8667 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002136/1.778, allocations: 61.23 kB / 0.8667 GB, free: 12.71 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.2662/2.044, allocations: 2.435 MB / 0.8691 GB, free: 104.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.21e-07/2.044, allocations: 0 / 0.8691 GB, free: 104.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009079/2.053, allocations: 1.268 MB / 0.8704 GB, free: 104.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 163 * 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 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007951/2.054, allocations: 182.7 kB / 0.8705 GB, free: 104.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0135/2.067, allocations: 7.404 MB / 0.8778 GB, free: 104.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/2.067, allocations: 1.375 kB / 0.8778 GB, free: 104.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00436/2.072, allocations: 2.844 MB / 0.8805 GB, free: 104.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/2.074, allocations: 403.9 kB / 0.8809 GB, free: 104.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02145/2.096, allocations: 10.47 MB / 0.8911 GB, free: 102.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004358/2.1, allocations: 4.205 MB / 0.8953 GB, free: 101.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005433/2.106, allocations: 2.213 MB / 0.8974 GB, free: 101.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007956/2.106, allocations: 271.5 kB / 0.8977 GB, free: 101.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.403e-06/2.106, allocations: 0 / 0.8977 GB, free: 101.4 MB / 442.7 MB Notification: Performance of Templates: time 0.08618/2.193, allocations: 53.52 MB / 0.9499 GB, free: 79.88 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1)