Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.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.Joints.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR") translateModel(ModelicaTest.MultiBody.Joints.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01164/0.01164, allocations: 174.4 kB / 15.12 MB, free: 5.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.465/1.465, allocations: 194.5 MB / 210.3 MB, free: 7.73 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.001467/0.001467, allocations: 112.6 kB / 255.6 MB, free: 10.35 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1753/0.1753, allocations: 40 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003515/0.0003515, allocations: 12.66 kB / 406.2 MB, free: 51.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08153/0.08189, allocations: 54.87 MB / 461 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3875/0.4695, allocations: 101 MB / 0.5488 GB, free: 21.79 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.4698, allocations: 81.05 kB / 0.5489 GB, free: 21.79 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1668/0.6366, allocations: 75.69 MB / 0.6228 GB, free: 4.309 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6367, allocations: 3.938 kB / 0.6228 GB, free: 4.305 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001501/0.6368, allocations: 75.98 kB / 0.6229 GB, free: 4.23 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1300 * Number of variables: 1300 Notification: Performance of Generate backend data structure: time 0.01302/0.6499, allocations: 3.943 MB / 0.6268 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.6499, allocations: 12.03 kB / 0.6268 GB, free: 0.5469 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004419/0.6544, allocations: 0.6713 MB / 0.6274 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006085/0.6605, allocations: 2.214 MB / 0.6296 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002856/0.6608, allocations: 298.3 kB / 0.6299 GB, free: 13.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001623/0.6624, allocations: 383.9 kB / 0.6302 GB, free: 13.53 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02293/0.6854, allocations: 8.931 MB / 0.639 GB, free: 4.219 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-05/0.6855, allocations: 15.81 kB / 0.639 GB, free: 4.203 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005433/0.6861, allocations: 171.9 kB / 0.6391 GB, free: 4.035 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001574/0.6876, allocations: 0.8387 MB / 0.64 GB, free: 3.191 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02473/0.7124, allocations: 7.283 MB / 0.6471 GB, free: 11.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06775/0.7802, allocations: 29.02 MB / 0.6754 GB, free: 14.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01071/0.7909, allocations: 2.297 MB / 0.6776 GB, free: 11.76 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0106/0.8016, allocations: 7.588 MB / 0.6851 GB, free: 3.598 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.8016, allocations: 43.16 kB / 0.6851 GB, free: 3.547 MB / 458.7 MB Notification: Performance of pre-optimization done (n=81): time 2.765e-06/0.8017, allocations: 0 / 0.6851 GB, free: 3.547 MB / 458.7 MB Notification: Performance of matching and sorting (n=97): time 0.01951/0.8212, allocations: 7.129 MB / 0.6921 GB, free: 12.37 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.894e-05/0.8213, allocations: 141.6 kB / 0.6922 GB, free: 12.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004826/0.8261, allocations: 2.337 MB / 0.6945 GB, free: 9.852 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002449/0.8264, allocations: 41.7 kB / 0.6945 GB, free: 9.805 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002141/0.8286, allocations: 2.415 MB / 0.6969 GB, free: 7.355 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005866/0.8292, allocations: 395.1 kB / 0.6972 GB, free: 6.965 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002059/0.8294, allocations: 76 kB / 0.6973 GB, free: 6.891 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003122/0.8297, allocations: 470.3 kB / 0.6978 GB, free: 6.426 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002554/0.8323, allocations: 1.066 MB / 0.6988 GB, free: 5.359 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004601/0.8369, allocations: 3.449 MB / 0.7022 GB, free: 0.7227 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004228/0.8412, allocations: 1.841 MB / 0.704 GB, free: 14.88 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-05/0.8413, allocations: 27.94 kB / 0.704 GB, free: 14.85 MB / 490.7 MB Notification: Performance of matching and sorting (n=497) (initialization): time 0.009631/0.8509, allocations: 4.402 MB / 0.7083 GB, free: 10.44 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.184e-05/0.8511, allocations: 40 kB / 0.7083 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001211/0.8512, allocations: 84.84 kB / 0.7084 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001656/0.8514, allocations: 128 kB / 0.7085 GB, free: 10.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004292/0.8557, allocations: 0.9475 MB / 0.7095 GB, free: 9.242 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002054/0.8559, allocations: 163.4 kB / 0.7096 GB, free: 9.082 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003852/0.8598, allocations: 195.8 kB / 0.7098 GB, free: 8.891 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006093/0.8604, allocations: 236 kB / 0.71 GB, free: 8.66 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 388 * Number of states: 0 () * Number of discrete variables: 40 (jointUSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[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],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (497): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004326/0.8648, allocations: 1.593 MB / 0.7116 GB, free: 7.055 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005856/0.8654, allocations: 229 kB / 0.7118 GB, free: 6.828 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002542/0.8679, allocations: 1.381 MB / 0.7132 GB, free: 5.434 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.8679, allocations: 16 kB / 0.7132 GB, free: 5.418 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.868, allocations: 0 / 0.7132 GB, free: 5.418 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.868, allocations: 3.984 kB / 0.7132 GB, free: 5.414 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2643/1.132, allocations: 6.177 MB / 0.7192 GB, free: 126.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-05/1.132, allocations: 17.09 kB / 0.7192 GB, free: 126.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009156/1.133, allocations: 243.6 kB / 0.7195 GB, free: 126.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.033e-05/1.133, allocations: 25.59 kB / 0.7195 GB, free: 126.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.9e-05/1.133, allocations: 40.25 kB / 0.7195 GB, free: 126.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.801e-05/1.134, allocations: 34.56 kB / 0.7196 GB, free: 126.5 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-05/1.134, allocations: 30.75 kB / 0.7196 GB, free: 126.5 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003301/1.137, allocations: 3.565 MB / 0.7231 GB, free: 123.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000789/1.138, allocations: 326 kB / 0.7234 GB, free: 123.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002395/1.138, allocations: 50 kB / 0.7234 GB, free: 123.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008988/1.139, allocations: 54.77 kB / 0.7235 GB, free: 123.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002331/1.139, allocations: 134.6 kB / 0.7236 GB, free: 123.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/1.139, allocations: 53.83 kB / 0.7237 GB, free: 123.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003715/1.143, allocations: 1.662 MB / 0.7253 GB, free: 123.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.01e-07/1.143, allocations: 3.469 kB / 0.7253 GB, free: 123.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004097/1.147, allocations: 0.6809 MB / 0.7259 GB, free: 123.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 77 * Number of states: 0 () * 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 (130): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000466/1.148, allocations: 207.5 kB / 0.7261 GB, free: 123.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004468/1.152, allocations: 2.53 MB / 0.7286 GB, free: 123.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/1.152, allocations: 3.562 kB / 0.7286 GB, free: 123.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009334/1.153, allocations: 0.6057 MB / 0.7292 GB, free: 123.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/1.155, allocations: 299.1 kB / 0.7295 GB, free: 123.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/1.168, allocations: 8.203 MB / 0.7375 GB, free: 119.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002925/1.171, allocations: 2.809 MB / 0.7402 GB, free: 118.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003084/1.174, allocations: 1.049 MB / 0.7413 GB, free: 118.7 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000469/1.174, allocations: 173.2 kB / 0.7414 GB, free: 118.7 MB / 490.7 MB Notification: Performance of SimCode: time 1.263e-06/1.174, allocations: 0 / 0.7414 GB, free: 118.7 MB / 490.7 MB Notification: Performance of Templates: time 0.03974/1.214, allocations: 20.34 MB / 0.7613 GB, free: 117.9 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1)