Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.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.JointUSP2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008638/0.008637, allocations: 174.1 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.768/1.768, allocations: 194.5 MB / 210.3 MB, free: 7.543 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.001772/0.001772, allocations: 128.6 kB / 255.6 MB, free: 10.15 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.2075/0.2075, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.0003937, allocations: 17.06 kB / 406.2 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1191, allocations: 54.88 MB / 461 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.447/0.5662, allocations: 108.4 MB / 0.5561 GB, free: 21.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/0.5664, allocations: 86.84 kB / 0.5562 GB, free: 21.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3022/0.8686, allocations: 123.2 MB / 0.6765 GB, free: 14.01 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.8687, allocations: 0 / 0.6765 GB, free: 14.01 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003445/0.869, allocations: 104 kB / 0.6766 GB, free: 13.91 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1929 * Number of variables: 1929 Notification: Performance of Generate backend data structure: time 0.02346/0.8925, allocations: 6.033 MB / 0.6825 GB, free: 7.797 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.8926, allocations: 12.02 kB / 0.6825 GB, free: 7.785 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01991/0.9125, allocations: 4.719 MB / 0.6871 GB, free: 3.051 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01867/0.9312, allocations: 6.658 MB / 0.6936 GB, free: 12.33 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005511/0.9318, allocations: 452.6 kB / 0.694 GB, free: 11.88 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002781/0.9346, allocations: 0.5388 MB / 0.6945 GB, free: 11.34 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03423/0.9688, allocations: 14.19 MB / 0.7084 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000242/0.9691, allocations: 71.34 kB / 0.7085 GB, free: 11.95 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001362/0.9705, allocations: 263.9 kB / 0.7087 GB, free: 11.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002079/0.9726, allocations: 1.286 MB / 0.71 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2791/1.252, allocations: 11.89 MB / 0.7216 GB, free: 95.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0762/1.328, allocations: 59.22 MB / 0.7794 GB, free: 62.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01119/1.339, allocations: 4.67 MB / 0.784 GB, free: 61.73 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0175/1.357, allocations: 12.61 MB / 0.7963 GB, free: 56.91 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/1.357, allocations: 55.59 kB / 0.7964 GB, free: 56.86 MB / 490.7 MB Notification: Performance of pre-optimization done (n=191): time 6.362e-06/1.357, allocations: 2.938 kB / 0.7964 GB, free: 56.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=242): time 0.1251/1.482, allocations: 39.79 MB / 0.8352 GB, free: 45.51 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/1.482, allocations: 239.1 kB / 0.8354 GB, free: 45.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007701/1.49, allocations: 4.245 MB / 0.8396 GB, free: 43.81 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007127/1.491, allocations: 63.7 kB / 0.8396 GB, free: 43.75 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002613/1.493, allocations: 3.903 MB / 0.8435 GB, free: 40.78 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001279/1.495, allocations: 0.9128 MB / 0.8444 GB, free: 40.12 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004271/1.495, allocations: 141.1 kB / 0.8445 GB, free: 40.01 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003475/1.495, allocations: 0.61 MB / 0.8451 GB, free: 39.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004361/1.5, allocations: 3.252 MB / 0.8483 GB, free: 38.41 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00645/1.506, allocations: 7.502 MB / 0.8556 GB, free: 31.08 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006664/1.513, allocations: 4.8 MB / 0.8603 GB, free: 26.89 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001134/1.513, allocations: 47.75 kB / 0.8603 GB, free: 26.84 MB / 490.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.03004/1.543, allocations: 13.83 MB / 0.8738 GB, free: 15.58 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/1.543, allocations: 71.44 kB / 0.8739 GB, free: 15.51 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002191/1.543, allocations: 156.1 kB / 0.874 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01107/1.554, allocations: 3.815 MB / 0.8778 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005727/1.56, allocations: 1.604 MB / 0.8793 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02769/1.588, allocations: 18.79 MB / 0.8977 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008848/1.597, allocations: 489.5 kB / 0.8981 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002395/1.599, allocations: 431.8 kB / 0.8986 GB, free: 11.08 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (856): * Single equations (assignments): 852 * 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.008543/1.608, allocations: 2.663 MB / 0.9012 GB, free: 8.527 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001574/1.609, allocations: 430.5 kB / 0.9016 GB, free: 8.102 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3202/1.93, allocations: 8.139 MB / 0.9095 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.989e-05/1.93, allocations: 27.81 kB / 0.9095 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.406e-05/1.93, allocations: 12.31 kB / 0.9096 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.922e-05/1.93, allocations: 10.5 kB / 0.9096 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04141/1.971, allocations: 17.45 MB / 0.9266 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.668e-05/1.971, allocations: 0 / 0.9266 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002115/1.974, allocations: 386.4 kB / 0.927 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01102/1.985, allocations: 3.862 MB / 0.9307 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000632/1.985, allocations: 45.7 kB / 0.9308 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02175/2.007, allocations: 17.09 MB / 0.9475 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/2.007, allocations: 3.531 kB / 0.9475 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02266/2.03, allocations: 12.64 MB / 0.9598 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003684/2.034, allocations: 0.9398 MB / 0.9607 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001461/2.035, allocations: 39.23 kB / 0.9608 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003051/2.038, allocations: 213.1 kB / 0.961 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006938/2.039, allocations: 154.4 kB / 0.9611 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003121/2.039, allocations: 53.5 kB / 0.9612 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006585/2.046, allocations: 2.98 MB / 0.9641 GB, free: 99.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.4e-07/2.046, allocations: 9.078 kB / 0.9641 GB, free: 99.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.009342/2.055, allocations: 1.452 MB / 0.9655 GB, free: 99.64 MB / 0.4948 GB 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 () * Number of clocked 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.0009962/2.056, allocations: 206.6 kB / 0.9657 GB, free: 99.52 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01249/2.069, allocations: 7.87 MB / 0.9734 GB, free: 96.94 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/2.069, allocations: 2.812 kB / 0.9734 GB, free: 96.94 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004605/2.073, allocations: 2.956 MB / 0.9763 GB, free: 95.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003471/2.077, allocations: 498.3 kB / 0.9768 GB, free: 95.45 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03053/2.107, allocations: 14.85 MB / 0.9913 GB, free: 88.14 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009305/2.117, allocations: 4.211 MB / 0.9954 GB, free: 86.66 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006963/2.124, allocations: 2.175 MB / 0.9975 GB, free: 86.62 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/2.125, allocations: 281.5 kB / 0.9978 GB, free: 86.61 MB / 0.4948 GB Notification: Performance of SimCode: time 1.122e-06/2.125, allocations: 0 / 0.9978 GB, free: 86.61 MB / 0.4948 GB Notification: Performance of Templates: time 0.09405/2.219, allocations: 58.44 MB / 1.055 GB, free: 43.74 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1)