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.001116/0.001116, allocations: 181.9 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.772/1.772, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.001584/0.001584, allocations: 109 kB / 252.6 MB, free: 4.844 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.247/0.247, allocations: 39.94 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.345e-05/3.347e-05, allocations: 7.984 kB / 400.3 MB, free: 69.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1245, allocations: 54.86 MB / 455.1 MB, free: 15 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4841/0.6087, allocations: 108.8 MB / 0.5507 GB, free: 15.13 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002208/0.6089, allocations: 80.7 kB / 0.5508 GB, free: 15.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7097/1.319, allocations: 142.3 MB / 0.6897 GB, free: 94.53 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.206e-06/1.319, allocations: 0 / 0.6897 GB, free: 94.53 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003824/1.319, allocations: 128.1 kB / 0.6899 GB, free: 94.53 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.02381/1.343, allocations: 6.639 MB / 0.6963 GB, free: 92.04 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/1.343, allocations: 9.75 kB / 0.6964 GB, free: 92.04 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03516/1.378, allocations: 9.333 MB / 0.7055 GB, free: 91.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02647/1.405, allocations: 9.118 MB / 0.7144 GB, free: 90.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007472/1.406, allocations: 480.7 kB / 0.7148 GB, free: 90.68 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004577/1.41, allocations: 0.6342 MB / 0.7155 GB, free: 90.68 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04047/1.451, allocations: 15.53 MB / 0.7306 GB, free: 87.38 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003405/1.451, allocations: 79.47 kB / 0.7307 GB, free: 87.38 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001712/1.453, allocations: 298 kB / 0.731 GB, free: 87.38 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002015/1.455, allocations: 1.383 MB / 0.7323 GB, free: 87.21 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03169/1.486, allocations: 12.71 MB / 0.7447 GB, free: 83.32 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08282/1.569, allocations: 64.35 MB / 0.8076 GB, free: 26.28 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01646/1.586, allocations: 6.234 MB / 0.8137 GB, free: 21.08 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003701/1.59, allocations: 3.119 MB / 0.8167 GB, free: 18.18 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01597/1.606, allocations: 11.18 MB / 0.8276 GB, free: 6.633 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.45e-05/1.606, allocations: 64.5 kB / 0.8277 GB, free: 6.562 MB / 474.7 MB Notification: Performance of pre-optimization done (n=245): time 5.35e-06/1.606, allocations: 0 / 0.8277 GB, free: 6.562 MB / 474.7 MB Notification: Performance of matching and sorting (n=337): time 0.4487/2.054, allocations: 29.61 MB / 0.8566 GB, free: 100.1 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/2.055, allocations: 238.7 kB / 0.8568 GB, free: 99.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01203/2.067, allocations: 4.929 MB / 0.8617 GB, free: 99.37 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001054/2.068, allocations: 75.55 kB / 0.8617 GB, free: 99.34 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00424/2.072, allocations: 4.462 MB / 0.8661 GB, free: 97.52 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002014/2.074, allocations: 1.238 MB / 0.8673 GB, free: 96.89 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006374/2.075, allocations: 166.3 kB / 0.8674 GB, free: 96.89 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004125/2.075, allocations: 0.6515 MB / 0.8681 GB, free: 96.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005714/2.081, allocations: 3.529 MB / 0.8715 GB, free: 96.54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008144/2.089, allocations: 8.046 MB / 0.8794 GB, free: 90.76 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009028/2.098, allocations: 5.29 MB / 0.8846 GB, free: 90.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002026/2.098, allocations: 45.16 kB / 0.8846 GB, free: 90.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.03515/2.133, allocations: 14.57 MB / 0.8988 GB, free: 88.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003232/2.134, allocations: 71.09 kB / 0.8989 GB, free: 88.24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004606/2.134, allocations: 161.1 kB / 0.899 GB, free: 88.24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01181/2.146, allocations: 3.562 MB / 0.9025 GB, free: 87.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007056/2.153, allocations: 1.794 MB / 0.9043 GB, free: 87.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02421/2.177, allocations: 17.92 MB / 0.9218 GB, free: 79.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00783/2.185, allocations: 483.9 kB / 0.9222 GB, free: 79.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001993/2.187, allocations: 467.8 kB / 0.9227 GB, free: 79.16 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 721 * 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 (969): * Single equations (assignments): 965 * 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.001552/2.189, allocations: 0.7184 MB / 0.9234 GB, free: 78.58 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001383/2.19, allocations: 0.5234 MB / 0.9239 GB, free: 78.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01781/2.208, allocations: 8.816 MB / 0.9325 GB, free: 75.21 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-05/2.208, allocations: 31.94 kB / 0.9325 GB, free: 75.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-05/2.208, allocations: 16.94 kB / 0.9326 GB, free: 75.21 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-05/2.208, allocations: 12.47 kB / 0.9326 GB, free: 75.21 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03965/2.248, allocations: 18.6 MB / 0.9507 GB, free: 68.13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.016e-05/2.248, allocations: 15.59 kB / 0.9507 GB, free: 68.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002358/2.25, allocations: 491.6 kB / 0.9512 GB, free: 67.73 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01015/2.261, allocations: 3.098 MB / 0.9542 GB, free: 65.68 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007878/2.261, allocations: 66.11 kB / 0.9543 GB, free: 65.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01992/2.281, allocations: 15.58 MB / 0.9695 GB, free: 52.27 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/2.281, allocations: 11.94 kB / 0.9695 GB, free: 52.26 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02384/2.305, allocations: 14.03 MB / 0.9832 GB, free: 39.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003683/2.309, allocations: 1.09 MB / 0.9843 GB, free: 38.89 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001119/2.31, allocations: 56 kB / 0.9843 GB, free: 38.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002538/2.313, allocations: 204 kB / 0.9845 GB, free: 38.71 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006417/2.313, allocations: 228.5 kB / 0.9848 GB, free: 38.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002394/2.314, allocations: 87.38 kB / 0.9848 GB, free: 38.48 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005562/2.319, allocations: 3.484 MB / 0.9882 GB, free: 35.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/2.319, allocations: 0 / 0.9882 GB, free: 35.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009407/2.329, allocations: 1.674 MB / 0.9899 GB, free: 33.77 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 (253): * Single equations (assignments): 249 * 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.0008825/2.329, allocations: 238.7 kB / 0.9901 GB, free: 33.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01415/2.344, allocations: 8.783 MB / 0.9987 GB, free: 25.44 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.509e-05/2.344, allocations: 0.875 kB / 0.9987 GB, free: 25.44 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004785/2.348, allocations: 3.441 MB / 1.002 GB, free: 22.27 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005364/2.354, allocations: 0.6834 MB / 1.003 GB, free: 21.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02481/2.379, allocations: 12.88 MB / 1.015 GB, free: 8.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006843/2.386, allocations: 4.955 MB / 1.02 GB, free: 3.973 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008383/2.394, allocations: 2.597 MB / 1.023 GB, free: 1.414 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001332/2.395, allocations: 347.4 kB / 1.023 GB, free: 1.074 MB / 490.7 MB Notification: Performance of SimCode: time 1.523e-06/2.395, allocations: 0 / 1.023 GB, free: 1.074 MB / 490.7 MB Notification: Performance of Templates: time 0.4011/2.796, allocations: 68.61 MB / 1.09 GB, free: 95.49 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)