Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.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.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001667/0.001667, allocations: 180.5 kB / 7.651 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.652/1.652, allocations: 194.3 MB / 202.4 MB, free: 8.539 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.001435/0.001435, allocations: 115.4 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.2007/0.2007, allocations: 39.95 MB / 332.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.178e-05/1.182e-05, allocations: 0 / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1023, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4071/0.5095, allocations: 110.1 MB / 0.5452 GB, free: 6.254 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002068/0.5097, allocations: 82.58 kB / 0.5453 GB, free: 6.211 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6775/1.187, allocations: 168.7 MB / 0.71 GB, free: 94.38 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.965e-06/1.187, allocations: 3.906 kB / 0.71 GB, free: 94.38 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004719/1.188, allocations: 150 kB / 0.7102 GB, free: 94.38 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: 2779 * Number of variables: 2779 Notification: Performance of Generate backend data structure: time 0.02944/1.217, allocations: 7.692 MB / 0.7177 GB, free: 91.43 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/1.217, allocations: 7 kB / 0.7177 GB, free: 91.43 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03148/1.249, allocations: 6.956 MB / 0.7245 GB, free: 90.87 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02704/1.276, allocations: 9.818 MB / 0.7341 GB, free: 89.88 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007024/1.277, allocations: 249.7 kB / 0.7343 GB, free: 89.88 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005187/1.282, allocations: 462.5 kB / 0.7347 GB, free: 89.87 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02545/1.307, allocations: 13.14 MB / 0.7476 GB, free: 88.38 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04106/1.348, allocations: 17.62 MB / 0.7648 GB, free: 74.34 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006183/1.349, allocations: 91.12 kB / 0.7649 GB, free: 74.25 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004185/1.353, allocations: 44 kB / 0.7649 GB, free: 74.21 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002976/1.356, allocations: 1.958 MB / 0.7668 GB, free: 72.6 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1022/1.458, allocations: 78.91 MB / 0.8439 GB, free: 11.27 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009226/1.468, allocations: 5.99 MB / 0.8497 GB, free: 5.047 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006046/1.474, allocations: 3.865 MB / 0.8535 GB, free: 1.164 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3595/1.833, allocations: 17.95 MB / 0.871 GB, free: 96.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.61e-05/1.833, allocations: 68.61 kB / 0.8711 GB, free: 96.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=334): time 9.838e-06/1.833, allocations: 0 / 0.8711 GB, free: 96.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=426): time 0.0601/1.894, allocations: 26.46 MB / 0.8969 GB, free: 92.55 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.137e-05/1.894, allocations: 198.6 kB / 0.8971 GB, free: 92.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00794/1.902, allocations: 5.055 MB / 0.9021 GB, free: 91.86 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008676/1.903, allocations: 25.7 kB / 0.9021 GB, free: 91.83 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002878/1.905, allocations: 5.525 MB / 0.9075 GB, free: 88.74 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001652/1.907, allocations: 1.519 MB / 0.909 GB, free: 87.78 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005356/1.908, allocations: 0 / 0.909 GB, free: 87.78 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004854/1.908, allocations: 0.7708 MB / 0.9097 GB, free: 87.28 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004808/1.913, allocations: 3.969 MB / 0.9136 GB, free: 85.82 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00762/1.921, allocations: 10.02 MB / 0.9234 GB, free: 76.26 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01025/1.931, allocations: 6.39 MB / 0.9296 GB, free: 74.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001158/1.931, allocations: 60.53 kB / 0.9297 GB, free: 74.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=1431) (initialization): time 0.02939/1.96, allocations: 14.83 MB / 0.9442 GB, free: 69.94 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001385/1.961, allocations: 98.19 kB / 0.9443 GB, free: 69.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002688/1.961, allocations: 213.9 kB / 0.9445 GB, free: 69.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007007/1.968, allocations: 2.305 MB / 0.9467 GB, free: 69.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00896/1.977, allocations: 2.546 MB / 0.9492 GB, free: 69.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01512/1.992, allocations: 11.13 MB / 0.9601 GB, free: 60.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008961/2.001, allocations: 0.4891 MB / 0.9605 GB, free: 60.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002103/2.003, allocations: 0.6186 MB / 0.9612 GB, free: 59.59 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 979 * 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 (1330): * Single equations (assignments): 1323 * 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.002441/2.006, allocations: 0.6375 MB / 0.9618 GB, free: 58.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001263/2.007, allocations: 0.5669 MB / 0.9623 GB, free: 58.37 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01504/2.022, allocations: 7.939 MB / 0.9701 GB, free: 52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.165e-05/2.022, allocations: 63.61 kB / 0.9701 GB, free: 51.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.977e-05/2.022, allocations: 8 kB / 0.9701 GB, free: 51.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.347e-05/2.022, allocations: 25.86 kB / 0.9702 GB, free: 51.92 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03352/2.056, allocations: 17.15 MB / 0.9869 GB, free: 37.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-05/2.056, allocations: 12 kB / 0.9869 GB, free: 37.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003131/2.059, allocations: 0.6482 MB / 0.9876 GB, free: 37.13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006051/2.065, allocations: 1.807 MB / 0.9893 GB, free: 35.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006777/2.066, allocations: 23.41 kB / 0.9894 GB, free: 35.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01351/2.079, allocations: 9.402 MB / 0.9985 GB, free: 27.71 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.278e-05/2.079, allocations: 15.94 kB / 0.9986 GB, free: 27.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0235/2.103, allocations: 13.99 MB / 1.012 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003769/2.107, allocations: 1.132 MB / 1.013 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002076/2.109, allocations: 19.09 kB / 1.013 GB, free: 13.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004434/2.113, allocations: 198.8 kB / 1.014 GB, free: 13.41 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009062/2.114, allocations: 268 kB / 1.014 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005522/2.115, allocations: 120.9 kB / 1.014 GB, free: 13.12 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006959/2.122, allocations: 3.362 MB / 1.017 GB, free: 10.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.3e-07/2.122, allocations: 0 / 1.017 GB, free: 10.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01159/2.133, allocations: 1.688 MB / 1.019 GB, free: 8.531 MB / 490.7 MB 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 (337): * Single equations (assignments): 330 * 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.001259/2.135, allocations: 220.8 kB / 1.019 GB, free: 8.336 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01526/2.15, allocations: 9.381 MB / 1.028 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.698e-05/2.15, allocations: 4 kB / 1.028 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006374/2.156, allocations: 3.256 MB / 1.031 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004934/2.161, allocations: 0.5678 MB / 1.032 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3301/2.491, allocations: 14.72 MB / 1.046 GB, free: 99.75 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008969/2.5, allocations: 5.763 MB / 1.052 GB, free: 98.87 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008886/2.509, allocations: 3.484 MB / 1.055 GB, free: 98.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00131/2.511, allocations: 400.9 kB / 1.056 GB, free: 98.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.252e-06/2.511, allocations: 0.8438 kB / 1.056 GB, free: 98.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.1065/2.617, allocations: 62.54 MB / 1.117 GB, free: 91.36 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointUSR.pipe 2>&1)