Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006857/0.006857, allocations: 165 kB / 15.11 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.524/1.524, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.001642/0.001642, allocations: 109.6 kB / 226.2 MB, free: 10.11 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.3349/0.3349, allocations: 38.05 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005456/0.0005458, allocations: 12 kB / 362.9 MB, free: 5.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1256, allocations: 48.7 MB / 411.6 MB, free: 4.824 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3438/0.4695, allocations: 102 MB / 0.5016 GB, free: 2.125 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.4698, allocations: 79.91 kB / 0.5016 GB, free: 2.086 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5512/1.021, allocations: 142.2 MB / 0.6405 GB, free: 73.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.434e-06/1.021, allocations: 0 / 0.6405 GB, free: 73.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003852/1.021, allocations: 133 kB / 0.6406 GB, free: 73.37 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2162 * Number of variables: 2162 Notification: Performance of Generate backend data structure: time 0.0209/1.042, allocations: 7.296 MB / 0.6478 GB, free: 70.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/1.042, allocations: 7.188 kB / 0.6478 GB, free: 70.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03407/1.076, allocations: 9.321 MB / 0.6569 GB, free: 70.08 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02112/1.098, allocations: 9.156 MB / 0.6658 GB, free: 67.22 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003968/1.098, allocations: 486.8 kB / 0.6663 GB, free: 67.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00269/1.101, allocations: 0.6275 MB / 0.6669 GB, free: 66.84 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03186/1.133, allocations: 15.64 MB / 0.6822 GB, free: 58.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004008/1.133, allocations: 80.23 kB / 0.6822 GB, free: 58.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002193/1.135, allocations: 298.5 kB / 0.6825 GB, free: 58.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002101/1.137, allocations: 1.383 MB / 0.6839 GB, free: 58.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02733/1.165, allocations: 12.89 MB / 0.6965 GB, free: 48.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2987/1.463, allocations: 64.35 MB / 0.7593 GB, free: 46.96 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01537/1.479, allocations: 6.266 MB / 0.7654 GB, free: 46.29 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01616/1.495, allocations: 11.18 MB / 0.7763 GB, free: 43.54 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/1.495, allocations: 67.7 kB / 0.7764 GB, free: 43.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=245): time 4.328e-06/1.495, allocations: 0 / 0.7764 GB, free: 43.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=337): time 0.1237/1.619, allocations: 37.35 MB / 0.8129 GB, free: 38.87 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/1.619, allocations: 241 kB / 0.8131 GB, free: 38.61 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008475/1.628, allocations: 4.99 MB / 0.818 GB, free: 37.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001088/1.629, allocations: 76.33 kB / 0.818 GB, free: 37.66 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003651/1.632, allocations: 4.46 MB / 0.8224 GB, free: 34.24 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001778/1.634, allocations: 1.232 MB / 0.8236 GB, free: 33.33 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006403/1.635, allocations: 159.9 kB / 0.8238 GB, free: 33.21 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005549/1.635, allocations: 0.653 MB / 0.8244 GB, free: 32.75 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005146/1.641, allocations: 3.602 MB / 0.8279 GB, free: 31.42 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007139/1.648, allocations: 8.116 MB / 0.8358 GB, free: 24.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007516/1.655, allocations: 5.306 MB / 0.841 GB, free: 21.91 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000193/1.655, allocations: 46.22 kB / 0.8411 GB, free: 21.91 MB / 442.7 MB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.03364/1.689, allocations: 14.71 MB / 0.8554 GB, free: 17.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002095/1.689, allocations: 74.09 kB / 0.8555 GB, free: 17.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002776/1.69, allocations: 156.7 kB / 0.8557 GB, free: 17.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01187/1.702, allocations: 3.572 MB / 0.8591 GB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006178/1.708, allocations: 1.804 MB / 0.8609 GB, free: 14.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03075/1.739, allocations: 18.68 MB / 0.8791 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007337/1.746, allocations: 477.6 kB / 0.8796 GB, free: 13.76 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002083/1.748, allocations: 467.8 kB / 0.88 GB, free: 13.31 MB / 458.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 () * Number of clocked 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.008213/1.756, allocations: 3.127 MB / 0.8831 GB, free: 10.56 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001643/1.758, allocations: 0.5267 MB / 0.8836 GB, free: 10.03 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02129/1.779, allocations: 8.887 MB / 0.8923 GB, free: 3.062 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.466e-05/1.779, allocations: 35.19 kB / 0.8923 GB, free: 3.031 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-05/1.779, allocations: 16 kB / 0.8923 GB, free: 3.016 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.657e-05/1.779, allocations: 16.92 kB / 0.8924 GB, free: 3.016 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04637/1.826, allocations: 18.67 MB / 0.9106 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.361e-05/1.826, allocations: 8 kB / 0.9106 GB, free: 500 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002793/1.829, allocations: 487.3 kB / 0.9111 GB, free: 12 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.012/1.841, allocations: 3.119 MB / 0.9141 GB, free: 12.89 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009581/1.842, allocations: 63.98 kB / 0.9142 GB, free: 12.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2615/2.103, allocations: 16.31 MB / 0.9301 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.46e-05/2.103, allocations: 11.41 kB / 0.9301 GB, free: 118.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02846/2.132, allocations: 14.15 MB / 0.9439 GB, free: 117.1 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004293/2.136, allocations: 1.095 MB / 0.945 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001496/2.138, allocations: 60.89 kB / 0.9451 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003476/2.141, allocations: 210.4 kB / 0.9453 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000625/2.142, allocations: 217.4 kB / 0.9455 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002501/2.142, allocations: 93.14 kB / 0.9456 GB, free: 117 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007265/2.149, allocations: 3.529 MB / 0.949 GB, free: 116.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.81e-07/2.149, allocations: 2.5 kB / 0.949 GB, free: 116.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008923/2.158, allocations: 1.672 MB / 0.9506 GB, free: 116.8 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 () * Number of clocked 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.0008414/2.159, allocations: 249.5 kB / 0.9509 GB, free: 116.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01412/2.173, allocations: 8.907 MB / 0.9596 GB, free: 116.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/2.173, allocations: 1.312 kB / 0.9596 GB, free: 116.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005973/2.179, allocations: 3.482 MB / 0.963 GB, free: 115.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004631/2.184, allocations: 0.6932 MB / 0.9637 GB, free: 115.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0307/2.215, allocations: 17.9 MB / 0.9811 GB, free: 106.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00795/2.223, allocations: 4.962 MB / 0.986 GB, free: 104.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006764/2.23, allocations: 2.599 MB / 0.9885 GB, free: 104.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00122/2.231, allocations: 345.7 kB / 0.9888 GB, free: 104.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.913e-06/2.231, allocations: 0 / 0.9888 GB, free: 104.9 MB / 490.7 MB Notification: Performance of Templates: time 0.1067/2.337, allocations: 68.66 MB / 1.056 GB, free: 71.97 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1)