Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001509/0.001509, allocations: 169.4 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.311/1.311, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001543/0.001543, allocations: 91.53 kB / 223.2 MB, free: 4.055 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.1596/0.1596, allocations: 38 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.878e-05/2.882e-05, allocations: 4 kB / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08293/0.08298, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.344/0.427, allocations: 104.1 MB / 0.4978 GB, free: 12.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.4273, allocations: 72.5 kB / 0.4979 GB, free: 12.63 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6515/1.079, allocations: 171.9 MB / 0.6658 GB, free: 75.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.434e-06/1.079, allocations: 0 / 0.6658 GB, free: 75.96 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003515/1.079, allocations: 146 kB / 0.6659 GB, free: 75.96 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: 2779 * Number of variables: 2779 Notification: Performance of Generate backend data structure: time 0.02419/1.103, allocations: 7.704 MB / 0.6734 GB, free: 73.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/1.104, allocations: 7.75 kB / 0.6735 GB, free: 73.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0291/1.133, allocations: 6.949 MB / 0.6802 GB, free: 72.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0233/1.156, allocations: 9.84 MB / 0.6899 GB, free: 71.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006134/1.157, allocations: 0.569 MB / 0.6904 GB, free: 71.42 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004072/1.161, allocations: 0.7521 MB / 0.6911 GB, free: 71.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0402/1.201, allocations: 20.54 MB / 0.7112 GB, free: 60.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002479/1.201, allocations: 94.66 kB / 0.7113 GB, free: 60.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001293/1.203, allocations: 359.1 kB / 0.7116 GB, free: 60.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002103/1.205, allocations: 1.961 MB / 0.7135 GB, free: 58.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03385/1.239, allocations: 17.91 MB / 0.731 GB, free: 41.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3615/1.6, allocations: 82.17 MB / 0.8113 GB, free: 48.95 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01693/1.617, allocations: 7.31 MB / 0.8184 GB, free: 47.69 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004615/1.622, allocations: 3.925 MB / 0.8222 GB, free: 47.64 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02851/1.65, allocations: 18.22 MB / 0.84 GB, free: 43.11 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.133e-05/1.65, allocations: 61.62 kB / 0.8401 GB, free: 43.06 MB / 458.7 MB Notification: Performance of pre-optimization done (n=332): time 6.853e-06/1.65, allocations: 0 / 0.8401 GB, free: 43.06 MB / 458.7 MB Notification: Performance of matching and sorting (n=413): time 0.0769/1.727, allocations: 26.09 MB / 0.8656 GB, free: 38.57 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.391e-05/1.727, allocations: 198.7 kB / 0.8658 GB, free: 38.38 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01117/1.739, allocations: 5.68 MB / 0.8713 GB, free: 36.86 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008879/1.74, allocations: 87.62 kB / 0.8714 GB, free: 36.78 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004195/1.744, allocations: 5.425 MB / 0.8767 GB, free: 32.71 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002093/1.746, allocations: 1.514 MB / 0.8782 GB, free: 31.6 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001589/1.748, allocations: 209.2 kB / 0.8784 GB, free: 31.43 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001161/1.749, allocations: 0.7534 MB / 0.8791 GB, free: 30.94 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00701/1.756, allocations: 4.018 MB / 0.883 GB, free: 29.54 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009574/1.765, allocations: 9.843 MB / 0.8926 GB, free: 20.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00998/1.775, allocations: 6.242 MB / 0.8987 GB, free: 18.51 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003091/1.776, allocations: 58.72 kB / 0.8988 GB, free: 18.51 MB / 458.7 MB Notification: Performance of matching and sorting (n=1370) (initialization): time 0.03314/1.809, allocations: 15.62 MB / 0.914 GB, free: 9.715 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000329/1.809, allocations: 100.2 kB / 0.9141 GB, free: 9.617 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005217/1.81, allocations: 204 kB / 0.9143 GB, free: 9.418 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008373/1.818, allocations: 2.327 MB / 0.9166 GB, free: 7.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009155/1.827, allocations: 2.441 MB / 0.919 GB, free: 5.625 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01998/1.847, allocations: 11.52 MB / 0.9302 GB, free: 11.62 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009483/1.857, allocations: 0.6823 MB / 0.9309 GB, free: 11.06 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002722/1.86, allocations: 0.5891 MB / 0.9315 GB, free: 10.48 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 931 * Number of states: 0 () * Number of discrete variables: 46 (jointUSR.revolute.positiveBranch,Body3.sphereColor[3],Body3.sphereColor[2],Body3.sphereColor[1],Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1269): * Single equations (assignments): 1262 * Array equations: 6 * 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 prepare postOptimizeDAE: time 0.003227/1.863, allocations: 0.8605 MB / 0.9323 GB, free: 9.609 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001572/1.864, allocations: 0.5977 MB / 0.9329 GB, free: 9.004 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01889/1.883, allocations: 8.094 MB / 0.9408 GB, free: 2.438 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-05/1.884, allocations: 66.56 kB / 0.9409 GB, free: 2.379 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.447e-05/1.884, allocations: 8 kB / 0.9409 GB, free: 2.371 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.918e-05/1.884, allocations: 15.23 kB / 0.9409 GB, free: 2.371 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04772/1.931, allocations: 18.79 MB / 0.9592 GB, free: 2.922 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.645e-05/1.931, allocations: 13 kB / 0.9593 GB, free: 2.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003334/1.935, allocations: 0.6516 MB / 0.9599 GB, free: 2.383 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006712/1.942, allocations: 1.872 MB / 0.9617 GB, free: 1.113 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006302/1.942, allocations: 83.7 kB / 0.9618 GB, free: 1.035 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01716/1.959, allocations: 9.876 MB / 0.9714 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.519e-05/1.959, allocations: 19.88 kB / 0.9715 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2912/2.251, allocations: 14.15 MB / 0.9853 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00364/2.254, allocations: 1.166 MB / 0.9864 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001277/2.256, allocations: 76.12 kB / 0.9865 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00331/2.259, allocations: 265.2 kB / 0.9868 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007053/2.26, allocations: 258.2 kB / 0.987 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003097/2.26, allocations: 111.8 kB / 0.9871 GB, free: 132.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00958/2.27, allocations: 3.935 MB / 0.9909 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.4e-07/2.27, allocations: 1.188 kB / 0.9909 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.012/2.282, allocations: 1.933 MB / 0.9928 GB, free: 132.1 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 2 (j2.s,j2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (324): * Single equations (assignments): 317 * Array equations: 6 * 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%) 42} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001303/2.283, allocations: 279.3 kB / 0.9931 GB, free: 132 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01658/2.299, allocations: 9.628 MB / 1.003 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.919e-05/2.3, allocations: 6.562 kB / 1.003 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004916/2.304, allocations: 3.274 MB / 1.006 GB, free: 131.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004634/2.309, allocations: 0.7329 MB / 1.006 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0261/2.335, allocations: 14.62 MB / 1.021 GB, free: 128.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01058/2.346, allocations: 5.752 MB / 1.026 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.009364/2.355, allocations: 3.33 MB / 1.03 GB, free: 127.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001554/2.357, allocations: 415.2 kB / 1.03 GB, free: 127.6 MB / 0.4948 GB Notification: Performance of SimCode: time 2.405e-06/2.357, allocations: 0 / 1.03 GB, free: 127.6 MB / 0.4948 GB Notification: Performance of Templates: time 0.1484/2.505, allocations: 68.35 MB / 1.097 GB, free: 92.93 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1)