Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001748/0.001748, allocations: 187.4 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.484/1.484, allocations: 194.3 MB / 202.4 MB, free: 8.477 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.001877/0.001877, allocations: 108.3 kB / 247.4 MB, free: 6.227 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.2041/0.2041, allocations: 39.94 MB / 332.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.753e-05/1.755e-05, allocations: 0 / 393.3 MB, free: 75.55 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1182, allocations: 54.88 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.386/0.5043, allocations: 108.1 MB / 0.5432 GB, free: 8.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002221/0.5046, allocations: 76.91 kB / 0.5433 GB, free: 8.285 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8693/1.374, allocations: 139.4 MB / 0.6795 GB, free: 91.96 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.186e-06/1.374, allocations: 0.7031 kB / 0.6795 GB, free: 91.96 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0009651/1.375, allocations: 133.8 kB / 0.6796 GB, free: 91.96 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: 2163 * Number of variables: 2163 Notification: Performance of Generate backend data structure: time 0.03632/1.411, allocations: 6.633 MB / 0.6861 GB, free: 89.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.551e-05/1.411, allocations: 7.812 kB / 0.6861 GB, free: 89.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05748/1.469, allocations: 9.333 MB / 0.6952 GB, free: 89.05 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03403/1.503, allocations: 9.111 MB / 0.7041 GB, free: 88.15 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006529/1.504, allocations: 205.8 kB / 0.7043 GB, free: 88.15 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004456/1.508, allocations: 383.7 kB / 0.7047 GB, free: 88.14 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02858/1.537, allocations: 9.336 MB / 0.7138 GB, free: 88.11 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04338/1.58, allocations: 13.27 MB / 0.7267 GB, free: 84.94 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004677/1.581, allocations: 76.91 kB / 0.7268 GB, free: 84.93 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002548/1.583, allocations: 39.16 kB / 0.7268 GB, free: 84.93 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002788/1.586, allocations: 1.381 MB / 0.7282 GB, free: 84.92 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08699/1.673, allocations: 62.22 MB / 0.789 GB, free: 41.69 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005385/1.678, allocations: 4.355 MB / 0.7932 GB, free: 37.81 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003365/1.682, allocations: 3.024 MB / 0.7962 GB, free: 35.02 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002008/1.684, allocations: 2.376 MB / 0.7985 GB, free: 32.48 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.255e-05/1.684, allocations: 66.75 kB / 0.7985 GB, free: 32.41 MB / 474.7 MB Notification: Performance of pre-optimization done (n=251): time 4.969e-06/1.684, allocations: 0 / 0.7985 GB, free: 32.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=343): time 0.07203/1.756, allocations: 27.57 MB / 0.8255 GB, free: 9.492 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.738e-05/1.756, allocations: 243.6 kB / 0.8257 GB, free: 9.207 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007176/1.763, allocations: 4.369 MB / 0.83 GB, free: 5.387 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008037/1.764, allocations: 25.7 kB / 0.83 GB, free: 5.355 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002167/1.766, allocations: 4.507 MB / 0.8344 GB, free: 1.262 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001446/1.768, allocations: 1.215 MB / 0.8356 GB, free: 168 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004001/1.768, allocations: 0 / 0.8356 GB, free: 168 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009595/1.769, allocations: 0.7034 MB / 0.8363 GB, free: 15.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004892/1.774, allocations: 3.433 MB / 0.8396 GB, free: 12.58 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008707/1.783, allocations: 8.072 MB / 0.8475 GB, free: 2.656 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3048/2.088, allocations: 5.209 MB / 0.8526 GB, free: 94.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001716/2.088, allocations: 46.38 kB / 0.8526 GB, free: 94.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.03356/2.121, allocations: 13.66 MB / 0.866 GB, free: 94.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001421/2.122, allocations: 83.69 kB / 0.8661 GB, free: 94.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002248/2.122, allocations: 164.8 kB / 0.8662 GB, free: 94.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0113/2.133, allocations: 3.497 MB / 0.8696 GB, free: 94.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006655/2.14, allocations: 1.851 MB / 0.8714 GB, free: 94.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02225/2.162, allocations: 16.84 MB / 0.8879 GB, free: 93.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007278/2.169, allocations: 327.6 kB / 0.8882 GB, free: 93.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001936/2.171, allocations: 487.8 kB / 0.8887 GB, free: 93.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 748 * Number of states: 0 () * Number of discrete variables: 43 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.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],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (1001): * Single equations (assignments): 997 * 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 {(1,100.0%) 77} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003067/2.175, allocations: 0.5091 MB / 0.8891 GB, free: 92.92 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001451/2.176, allocations: 0.4998 MB / 0.8896 GB, free: 92.92 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0175/2.194, allocations: 8.525 MB / 0.898 GB, free: 92.49 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.106e-05/2.194, allocations: 32.5 kB / 0.898 GB, free: 92.49 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-05/2.194, allocations: 15.97 kB / 0.898 GB, free: 92.49 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.027e-05/2.194, allocations: 19.09 kB / 0.898 GB, free: 92.49 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03472/2.228, allocations: 17.29 MB / 0.9149 GB, free: 86.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.09e-05/2.229, allocations: 6.781 kB / 0.9149 GB, free: 86.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002345/2.231, allocations: 0.4916 MB / 0.9154 GB, free: 86.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01013/2.241, allocations: 3.056 MB / 0.9184 GB, free: 85.49 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007227/2.242, allocations: 19.27 kB / 0.9184 GB, free: 85.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02072/2.263, allocations: 14.48 MB / 0.9325 GB, free: 78.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.099e-05/2.263, allocations: 5.625 kB / 0.9326 GB, free: 78.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02331/2.286, allocations: 13.82 MB / 0.946 GB, free: 71.25 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003137/2.289, allocations: 1.06 MB / 0.9471 GB, free: 70.27 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001536/2.291, allocations: 8 kB / 0.9471 GB, free: 70.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00342/2.294, allocations: 151.5 kB / 0.9472 GB, free: 70.18 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006719/2.295, allocations: 223.3 kB / 0.9474 GB, free: 70.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003179/2.295, allocations: 89.09 kB / 0.9475 GB, free: 69.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005894/2.301, allocations: 2.984 MB / 0.9504 GB, free: 67.38 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.11e-07/2.301, allocations: 0 / 0.9504 GB, free: 67.38 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008681/2.31, allocations: 1.46 MB / 0.9519 GB, free: 65.94 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (259): * Single equations (assignments): 255 * 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 {(1,100.0%) 64} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000851/2.311, allocations: 196.4 kB / 0.9521 GB, free: 65.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01259/2.323, allocations: 8.447 MB / 0.9603 GB, free: 58.05 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/2.323, allocations: 4.625 kB / 0.9603 GB, free: 58.05 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004715/2.328, allocations: 3.359 MB / 0.9636 GB, free: 54.95 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004672/2.333, allocations: 0.5706 MB / 0.9641 GB, free: 54.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02959/2.362, allocations: 12.77 MB / 0.9766 GB, free: 43.12 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00905/2.371, allocations: 4.957 MB / 0.9815 GB, free: 39.46 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00769/2.379, allocations: 2.702 MB / 0.9841 GB, free: 37.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001219/2.38, allocations: 338.6 kB / 0.9844 GB, free: 37.54 MB / 490.7 MB Notification: Performance of SimCode: time 7.92e-07/2.38, allocations: 4 kB / 0.9844 GB, free: 37.54 MB / 490.7 MB Notification: Performance of Templates: time 0.3443/2.725, allocations: 63.08 MB / 1.046 GB, free: 95.22 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1)