Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.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.Joints.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP") translateModel(ModelicaTest.MultiBody.Joints.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001493/0.001493, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.53/1.53, allocations: 170.6 MB / 178.7 MB, free: 15.58 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.001569/0.001569, allocations: 111.5 kB / 218 MB, free: 8.34 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.1764/0.1764, allocations: 37.97 MB / 295.1 MB, free: 9.488 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.79e-05/1.788e-05, allocations: 2.469 kB / 350 MB, free: 37 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1014, allocations: 48.72 MB / 398.7 MB, free: 5.332 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3758/0.4772, allocations: 92.89 MB / 491.6 MB, free: 17.8 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.4775, allocations: 76.92 kB / 491.7 MB, free: 17.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2033/0.6809, allocations: 72.73 MB / 0.5512 GB, free: 6.789 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.6809, allocations: 0 / 0.5512 GB, free: 6.789 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002637/0.6812, allocations: 72 kB / 0.5513 GB, free: 6.719 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1289 * Number of variables: 1289 Notification: Performance of Generate backend data structure: time 0.0122/0.6934, allocations: 3.582 MB / 0.5548 GB, free: 3.078 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.888e-05/0.6935, allocations: 8.031 kB / 0.5548 GB, free: 3.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004716/0.6982, allocations: 0.6777 MB / 0.5554 GB, free: 2.387 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006336/0.7046, allocations: 2.177 MB / 0.5576 GB, free: 168 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002486/0.7049, allocations: 128 kB / 0.5577 GB, free: 40 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001945/0.7068, allocations: 224 kB / 0.5579 GB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01149/0.7183, allocations: 5.227 MB / 0.563 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02034/0.7387, allocations: 6.892 MB / 0.5697 GB, free: 3.324 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001939/0.7389, allocations: 15.81 kB / 0.5697 GB, free: 3.309 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001437/0.7404, allocations: 12 kB / 0.5698 GB, free: 3.297 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00208/0.7425, allocations: 0.7802 MB / 0.5705 GB, free: 2.512 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05007/0.7926, allocations: 25.95 MB / 0.5959 GB, free: 7.895 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002539/0.7952, allocations: 1.115 MB / 0.597 GB, free: 6.742 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/0.7966, allocations: 0.7397 MB / 0.5977 GB, free: 5.992 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009529/0.8061, allocations: 5.929 MB / 0.6035 GB, free: 15.58 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/0.8062, allocations: 51.05 kB / 0.6035 GB, free: 15.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=67): time 3.677e-06/0.8062, allocations: 0 / 0.6035 GB, free: 15.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=76): time 0.01146/0.8177, allocations: 4.647 MB / 0.6081 GB, free: 10.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.36e-05/0.8178, allocations: 145.2 kB / 0.6082 GB, free: 10.65 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003293/0.8211, allocations: 1.913 MB / 0.6101 GB, free: 8.707 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.392e-05/0.8212, allocations: 25.7 kB / 0.6101 GB, free: 8.676 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001764/0.8229, allocations: 2.475 MB / 0.6125 GB, free: 6.164 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002748/0.8232, allocations: 312.2 kB / 0.6128 GB, free: 5.855 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.8234, allocations: 0 / 0.6128 GB, free: 5.855 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002755/0.8237, allocations: 466.1 kB / 0.6132 GB, free: 5.395 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001294/0.825, allocations: 0.8275 MB / 0.6141 GB, free: 4.566 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003065/0.828, allocations: 3.198 MB / 0.6172 GB, free: 176 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2417/1.07, allocations: 1.589 MB / 0.6187 GB, free: 103.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.335e-05/1.07, allocations: 24.75 kB / 0.6187 GB, free: 103.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=488) (initialization): time 0.006162/1.076, allocations: 3.499 MB / 0.6222 GB, free: 103.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.004e-05/1.076, allocations: 41.91 kB / 0.6222 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.169e-05/1.076, allocations: 88.69 kB / 0.6223 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000159/1.076, allocations: 122.1 kB / 0.6224 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003025/1.079, allocations: 0.9068 MB / 0.6233 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002238/1.08, allocations: 171.9 kB / 0.6235 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002416/1.082, allocations: 101 kB / 0.6236 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000408/1.083, allocations: 232 kB / 0.6238 GB, free: 103.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 391 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.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],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],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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (488): * Single equations (assignments): 488 * 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.0004595/1.083, allocations: 329.7 kB / 0.6241 GB, free: 103.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003531/1.083, allocations: 194.9 kB / 0.6243 GB, free: 103.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/1.085, allocations: 0.9034 MB / 0.6252 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/1.085, allocations: 11.36 kB / 0.6252 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.085, allocations: 1.812 kB / 0.6252 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/1.085, allocations: 6.297 kB / 0.6252 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007933/1.093, allocations: 4.267 MB / 0.6293 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.892e-05/1.093, allocations: 20 kB / 0.6294 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008131/1.094, allocations: 203.9 kB / 0.6296 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.057e-05/1.094, allocations: 29.56 kB / 0.6296 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.513e-05/1.094, allocations: 25.14 kB / 0.6296 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.249e-05/1.094, allocations: 33.64 kB / 0.6296 GB, free: 101.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.956e-05/1.094, allocations: 30.86 kB / 0.6297 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002607/1.097, allocations: 2.861 MB / 0.6325 GB, free: 99.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005239/1.097, allocations: 283.7 kB / 0.6327 GB, free: 98.99 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/1.097, allocations: 25.95 kB / 0.6328 GB, free: 98.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007433/1.098, allocations: 24.75 kB / 0.6328 GB, free: 98.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/1.098, allocations: 122 kB / 0.6329 GB, free: 98.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.65e-05/1.098, allocations: 49.56 kB / 0.6329 GB, free: 98.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00203/1.1, allocations: 1.258 MB / 0.6342 GB, free: 98.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.1, allocations: 0.9375 kB / 0.6342 GB, free: 98.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003415/1.104, allocations: 0.5514 MB / 0.6347 GB, free: 98.82 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 112 * 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.0003058/1.104, allocations: 175.2 kB / 0.6349 GB, free: 98.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003011/1.107, allocations: 1.985 MB / 0.6368 GB, free: 98.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.628e-06/1.107, allocations: 3.938 kB / 0.6368 GB, free: 98.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004949/1.108, allocations: 449.8 kB / 0.6373 GB, free: 98.44 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/1.109, allocations: 204.7 kB / 0.6374 GB, free: 98.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008931/1.118, allocations: 5.238 MB / 0.6426 GB, free: 96.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002259/1.12, allocations: 2.789 MB / 0.6453 GB, free: 95.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00256/1.123, allocations: 0.965 MB / 0.6462 GB, free: 95.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002972/1.123, allocations: 149.8 kB / 0.6464 GB, free: 95.92 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/1.123, allocations: 0 / 0.6464 GB, free: 95.92 MB / 426.7 MB Notification: Performance of Templates: time 0.03174/1.155, allocations: 14.63 MB / 0.6607 GB, free: 95.04 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.pipe 2>&1)