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.001044/0.001044, allocations: 170.3 kB / 12.72 MB, free: 2.594 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.27/1.27, allocations: 170.6 MB / 183.8 MB, free: 11.48 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.001602/0.001602, allocations: 105.3 kB / 223.2 MB, free: 4.109 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.2161/0.2161, allocations: 37.99 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.747e-05/2.75e-05, allocations: 4 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08646/0.0865, allocations: 48.7 MB / 405.7 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3723/0.4588, allocations: 101.9 MB / 0.4957 GB, free: 13.53 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.4591, allocations: 80.45 kB / 0.4958 GB, free: 13.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5912/1.05, allocations: 142.3 MB / 0.6348 GB, free: 73.49 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.603e-06/1.05, allocations: 2.531 kB / 0.6348 GB, free: 73.49 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004891/1.051, allocations: 129.9 kB / 0.6349 GB, free: 73.49 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.02014/1.071, allocations: 6.644 MB / 0.6414 GB, free: 71.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/1.071, allocations: 7.875 kB / 0.6414 GB, free: 71.01 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03277/1.104, allocations: 9.327 MB / 0.6505 GB, free: 70.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02328/1.127, allocations: 9.125 MB / 0.6594 GB, free: 69.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004086/1.128, allocations: 479.3 kB / 0.6599 GB, free: 69.65 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002587/1.13, allocations: 0.633 MB / 0.6605 GB, free: 69.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03031/1.16, allocations: 15.52 MB / 0.6756 GB, free: 66.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002536/1.161, allocations: 84.23 kB / 0.6757 GB, free: 66.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001013/1.162, allocations: 297.3 kB / 0.676 GB, free: 66.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001718/1.163, allocations: 1.385 MB / 0.6774 GB, free: 66.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02539/1.189, allocations: 12.72 MB / 0.6898 GB, free: 64.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07207/1.261, allocations: 64.35 MB / 0.7526 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01609/1.277, allocations: 6.23 MB / 0.7587 GB, free: 6.102 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003929/1.281, allocations: 3.113 MB / 0.7617 GB, free: 3.223 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02115/1.302, allocations: 11.23 MB / 0.7727 GB, free: 9.465 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.741e-05/1.302, allocations: 56.56 kB / 0.7728 GB, free: 9.402 MB / 442.7 MB Notification: Performance of pre-optimization done (n=245): time 6.963e-06/1.302, allocations: 4 kB / 0.7728 GB, free: 9.398 MB / 442.7 MB Notification: Performance of matching and sorting (n=337): time 0.3468/1.649, allocations: 29.62 MB / 0.8017 GB, free: 80.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.789e-05/1.649, allocations: 237.6 kB / 0.8019 GB, free: 80.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007953/1.657, allocations: 4.935 MB / 0.8067 GB, free: 79.83 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008644/1.658, allocations: 81.66 kB / 0.8068 GB, free: 79.8 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002476/1.661, allocations: 4.464 MB / 0.8112 GB, free: 77.85 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001253/1.662, allocations: 1.235 MB / 0.8124 GB, free: 77.12 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004051/1.662, allocations: 162.6 kB / 0.8125 GB, free: 77.12 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003478/1.663, allocations: 0.6504 MB / 0.8132 GB, free: 76.8 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004365/1.667, allocations: 3.527 MB / 0.8166 GB, free: 76.78 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005903/1.673, allocations: 8.043 MB / 0.8245 GB, free: 70.99 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006497/1.68, allocations: 5.277 MB / 0.8296 GB, free: 70.93 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.308e-05/1.68, allocations: 45.53 kB / 0.8297 GB, free: 70.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.02781/1.708, allocations: 14.57 MB / 0.8439 GB, free: 68.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/1.708, allocations: 77.62 kB / 0.844 GB, free: 68.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001662/1.708, allocations: 157.4 kB / 0.8441 GB, free: 68.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01111/1.719, allocations: 3.556 MB / 0.8476 GB, free: 67.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0064/1.725, allocations: 1.791 MB / 0.8494 GB, free: 67.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02307/1.749, allocations: 17.91 MB / 0.8668 GB, free: 59.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007153/1.756, allocations: 490.1 kB / 0.8673 GB, free: 59.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001307/1.757, allocations: 472.6 kB / 0.8678 GB, free: 59.25 MB / 442.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.001369/1.758, allocations: 0.7038 MB / 0.8685 GB, free: 58.68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001343/1.76, allocations: 0.5308 MB / 0.869 GB, free: 58.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01748/1.777, allocations: 8.804 MB / 0.8776 GB, free: 55.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-05/1.777, allocations: 36.09 kB / 0.8776 GB, free: 55.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.047e-05/1.777, allocations: 18.75 kB / 0.8776 GB, free: 55.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.072e-05/1.777, allocations: 19 kB / 0.8776 GB, free: 55.31 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03791/1.815, allocations: 18.61 MB / 0.8958 GB, free: 40.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.041e-05/1.815, allocations: 4 kB / 0.8958 GB, free: 40.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002265/1.818, allocations: 494.1 kB / 0.8963 GB, free: 40.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01019/1.828, allocations: 3.092 MB / 0.8993 GB, free: 38.21 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006/1.829, allocations: 68.22 kB / 0.8994 GB, free: 38.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01942/1.848, allocations: 15.57 MB / 0.9146 GB, free: 24.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/1.848, allocations: 10.16 kB / 0.9146 GB, free: 24.79 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0229/1.871, allocations: 14.04 MB / 0.9283 GB, free: 12.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003309/1.874, allocations: 1.095 MB / 0.9294 GB, free: 11.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001365/1.876, allocations: 63.98 kB / 0.9294 GB, free: 11.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002816/1.878, allocations: 204.9 kB / 0.9296 GB, free: 11.06 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006246/1.879, allocations: 222.2 kB / 0.9298 GB, free: 10.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002455/1.879, allocations: 89.25 kB / 0.9299 GB, free: 10.76 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00555/1.885, allocations: 3.484 MB / 0.9333 GB, free: 7.305 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.61e-07/1.885, allocations: 0 / 0.9333 GB, free: 7.305 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009455/1.894, allocations: 1.68 MB / 0.935 GB, free: 5.641 MB / 442.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.0008721/1.895, allocations: 242.8 kB / 0.9352 GB, free: 5.41 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01371/1.909, allocations: 8.784 MB / 0.9438 GB, free: 12.62 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.719e-05/1.909, allocations: 4 kB / 0.9438 GB, free: 12.61 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2465/2.156, allocations: 3.428 MB / 0.9471 GB, free: 88.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004447/2.16, allocations: 0.6855 MB / 0.9478 GB, free: 88.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02938/2.189, allocations: 12.86 MB / 0.9604 GB, free: 86.41 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00607/2.196, allocations: 4.964 MB / 0.9652 GB, free: 85.55 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006459/2.202, allocations: 2.597 MB / 0.9677 GB, free: 85.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001159/2.203, allocations: 347.5 kB / 0.9681 GB, free: 85.49 MB / 458.7 MB Notification: Performance of SimCode: time 1.202e-06/2.203, allocations: 0 / 0.9681 GB, free: 85.49 MB / 458.7 MB Notification: Performance of Templates: time 0.1091/2.312, allocations: 68.61 MB / 1.035 GB, free: 68.19 MB / 458.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)