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.001056/0.001056, allocations: 182.4 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.606/1.606, allocations: 194.3 MB / 207.5 MB, free: 3.453 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.001732/0.001732, allocations: 113.6 kB / 252.6 MB, free: 4.762 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.2416/0.2416, allocations: 39.94 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.112e-05/4.114e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.138, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4893/0.6273, allocations: 108.3 MB / 0.5503 GB, free: 15.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002367/0.6276, allocations: 77.27 kB / 0.5504 GB, free: 15.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6663/1.294, allocations: 123.3 MB / 0.6707 GB, free: 96.42 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.337e-06/1.294, allocations: 0 / 0.6707 GB, free: 96.42 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005001/1.295, allocations: 105.2 kB / 0.6708 GB, free: 96.42 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: 1929 * Number of variables: 1929 Notification: Performance of Generate backend data structure: time 0.02832/1.323, allocations: 5.644 MB / 0.6764 GB, free: 94.52 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.507e-05/1.323, allocations: 9.719 kB / 0.6764 GB, free: 94.52 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02209/1.345, allocations: 4.724 MB / 0.681 GB, free: 94.16 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01971/1.365, allocations: 6.622 MB / 0.6874 GB, free: 93.46 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005483/1.365, allocations: 438.4 kB / 0.6879 GB, free: 93.42 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003103/1.369, allocations: 0.5449 MB / 0.6884 GB, free: 93.41 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03557/1.404, allocations: 14.06 MB / 0.7021 GB, free: 90.37 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003245/1.405, allocations: 73.28 kB / 0.7022 GB, free: 90.37 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001777/1.406, allocations: 268.8 kB / 0.7024 GB, free: 90.36 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001673/1.408, allocations: 1.289 MB / 0.7037 GB, free: 90.35 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02381/1.432, allocations: 11.65 MB / 0.7151 GB, free: 90.32 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07252/1.504, allocations: 59.24 MB / 0.7729 GB, free: 48.55 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01144/1.516, allocations: 4.638 MB / 0.7775 GB, free: 46.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003462/1.519, allocations: 2.706 MB / 0.7801 GB, free: 45.57 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01743/1.537, allocations: 12.59 MB / 0.7924 GB, free: 34.21 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.527e-05/1.537, allocations: 62.91 kB / 0.7925 GB, free: 34.14 MB / 474.7 MB Notification: Performance of pre-optimization done (n=191): time 6.292e-06/1.537, allocations: 0 / 0.7925 GB, free: 34.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=242): time 0.08999/1.627, allocations: 32.81 MB / 0.8245 GB, free: 7.82 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.394e-05/1.627, allocations: 235.4 kB / 0.8247 GB, free: 7.547 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007399/1.635, allocations: 4.175 MB / 0.8288 GB, free: 3.66 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009815/1.636, allocations: 61.7 kB / 0.8289 GB, free: 3.594 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002471/1.638, allocations: 3.905 MB / 0.8327 GB, free: 15.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001756/1.64, allocations: 0.9167 MB / 0.8336 GB, free: 14.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004378/1.64, allocations: 143.9 kB / 0.8337 GB, free: 14.64 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004841/1.641, allocations: 0.6078 MB / 0.8343 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005013/1.646, allocations: 3.15 MB / 0.8374 GB, free: 10.87 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007995/1.654, allocations: 7.415 MB / 0.8446 GB, free: 1.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3591/2.013, allocations: 4.733 MB / 0.8493 GB, free: 99.63 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001143/2.013, allocations: 43.38 kB / 0.8493 GB, free: 99.63 MB / 490.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.03293/2.046, allocations: 13.65 MB / 0.8626 GB, free: 99.26 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.574e-05/2.046, allocations: 70.12 kB / 0.8627 GB, free: 99.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001837/2.046, allocations: 151.4 kB / 0.8628 GB, free: 99.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01074/2.057, allocations: 3.801 MB / 0.8665 GB, free: 99.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005592/2.063, allocations: 1.608 MB / 0.8681 GB, free: 99.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02457/2.087, allocations: 18.01 MB / 0.8857 GB, free: 97.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007433/2.095, allocations: 493.5 kB / 0.8862 GB, free: 97.64 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001657/2.097, allocations: 430.9 kB / 0.8866 GB, free: 97.64 MB / 490.7 MB 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 () * 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.001361/2.098, allocations: 0.6443 MB / 0.8872 GB, free: 97.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001107/2.099, allocations: 434.1 kB / 0.8876 GB, free: 97.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01665/2.116, allocations: 8.076 MB / 0.8955 GB, free: 94.86 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-05/2.116, allocations: 25.25 kB / 0.8955 GB, free: 94.86 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.45e-05/2.116, allocations: 11.47 kB / 0.8956 GB, free: 94.86 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-05/2.116, allocations: 16.5 kB / 0.8956 GB, free: 94.86 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0341/2.15, allocations: 17.39 MB / 0.9125 GB, free: 88.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.134e-05/2.15, allocations: 3.875 kB / 0.9126 GB, free: 88.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002142/2.152, allocations: 389.9 kB / 0.9129 GB, free: 88.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01106/2.163, allocations: 3.844 MB / 0.9167 GB, free: 88.09 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007003/2.164, allocations: 43.22 kB / 0.9167 GB, free: 88.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02161/2.186, allocations: 16.45 MB / 0.9328 GB, free: 80.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/2.186, allocations: 0 / 0.9328 GB, free: 80.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02177/2.208, allocations: 12.55 MB / 0.945 GB, free: 70.51 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003364/2.211, allocations: 0.9376 MB / 0.946 GB, free: 69.64 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001103/2.212, allocations: 36 kB / 0.946 GB, free: 69.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00262/2.215, allocations: 210.3 kB / 0.9462 GB, free: 69.48 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006104/2.215, allocations: 153.1 kB / 0.9463 GB, free: 69.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002114/2.216, allocations: 64.31 kB / 0.9464 GB, free: 69.33 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004784/2.221, allocations: 2.902 MB / 0.9492 GB, free: 66.76 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.91e-07/2.221, allocations: 0 / 0.9492 GB, free: 66.76 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008994/2.23, allocations: 1.459 MB / 0.9507 GB, free: 65.33 MB / 490.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.0009584/2.231, allocations: 217.4 kB / 0.9509 GB, free: 65.14 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01312/2.244, allocations: 7.73 MB / 0.9584 GB, free: 58.11 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/2.244, allocations: 0 / 0.9584 GB, free: 58.11 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004184/2.248, allocations: 2.914 MB / 0.9613 GB, free: 55.45 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003335/2.251, allocations: 487.1 kB / 0.9617 GB, free: 55.04 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01991/2.271, allocations: 10.61 MB / 0.9721 GB, free: 45.66 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005433/2.277, allocations: 4.203 MB / 0.9762 GB, free: 42.52 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005498/2.282, allocations: 2.179 MB / 0.9783 GB, free: 40.62 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009353/2.283, allocations: 279.4 kB / 0.9786 GB, free: 40.34 MB / 490.7 MB Notification: Performance of SimCode: time 1.653e-06/2.283, allocations: 0 / 0.9786 GB, free: 40.34 MB / 490.7 MB Notification: Performance of Templates: time 0.4112/2.694, allocations: 58.42 MB / 1.036 GB, free: 104.4 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)