Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.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.Joints.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR") translateModel(ModelicaTest.MultiBody.Joints.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001818/0.001818, allocations: 171.5 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.368/1.368, allocations: 170.6 MB / 178.7 MB, free: 15.59 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.001596/0.001596, allocations: 99.52 kB / 218 MB, free: 8.344 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.1774/0.1774, allocations: 37.98 MB / 295.1 MB, free: 9.484 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.439e-05/1.443e-05, allocations: 3.094 kB / 350 MB, free: 36.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1056, allocations: 48.72 MB / 398.7 MB, free: 5.336 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3584/0.464, allocations: 93.7 MB / 492.4 MB, free: 17.89 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001879/0.4643, allocations: 73.86 kB / 492.5 MB, free: 17.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1681/0.6324, allocations: 73.96 MB / 0.5532 GB, free: 4.762 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.6324, allocations: 0 / 0.5532 GB, free: 4.762 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001449/0.6326, allocations: 68 kB / 0.5532 GB, free: 4.695 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: 1300 * Number of variables: 1300 Notification: Performance of Generate backend data structure: time 0.01062/0.6432, allocations: 3.793 MB / 0.557 GB, free: 0.8438 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.6433, allocations: 8.031 kB / 0.557 GB, free: 0.8359 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004284/0.6476, allocations: 0.6815 MB / 0.5576 GB, free: 152 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005093/0.6527, allocations: 2.208 MB / 0.5598 GB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.6528, allocations: 132 kB / 0.5599 GB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007062/0.6535, allocations: 220 kB / 0.5601 GB, free: 13.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008371/0.6619, allocations: 5.453 MB / 0.5654 GB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01285/0.6748, allocations: 7.12 MB / 0.5724 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.068e-05/0.6749, allocations: 15.88 kB / 0.5724 GB, free: 0.5781 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003742/0.6753, allocations: 12 kB / 0.5724 GB, free: 0.5664 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001602/0.6769, allocations: 0.8465 MB / 0.5732 GB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03924/0.7162, allocations: 27.67 MB / 0.6003 GB, free: 3.359 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002088/0.7183, allocations: 1.353 MB / 0.6016 GB, free: 1.969 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001201/0.7195, allocations: 1.009 MB / 0.6026 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01004/0.7296, allocations: 7.333 MB / 0.6097 GB, free: 9.074 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.7296, allocations: 43.06 kB / 0.6098 GB, free: 9.023 MB / 426.7 MB Notification: Performance of pre-optimization done (n=74): time 3.337e-06/0.7297, allocations: 0 / 0.6098 GB, free: 9.023 MB / 426.7 MB Notification: Performance of matching and sorting (n=87): time 0.01384/0.7435, allocations: 6.163 MB / 0.6158 GB, free: 2.812 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.029e-05/0.7436, allocations: 137.3 kB / 0.6159 GB, free: 2.648 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002836/0.7465, allocations: 1.965 MB / 0.6178 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.7466, allocations: 25.7 kB / 0.6179 GB, free: 0.625 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2316/0.9782, allocations: 2.496 MB / 0.6203 GB, free: 104.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003689/0.9786, allocations: 353.7 kB / 0.6206 GB, free: 104.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001906/0.9788, allocations: 6.844 kB / 0.6207 GB, free: 104.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.979, allocations: 470.7 kB / 0.6211 GB, free: 104.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/0.9803, allocations: 0.9704 MB / 0.6221 GB, free: 104.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002233/0.9826, allocations: 3.435 MB / 0.6254 GB, free: 101 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004259/0.9868, allocations: 1.923 MB / 0.6273 GB, free: 101 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.389e-05/0.9869, allocations: 25.34 kB / 0.6273 GB, free: 101 MB / 426.7 MB Notification: Performance of matching and sorting (n=513) (initialization): time 0.008372/0.9953, allocations: 4.004 MB / 0.6312 GB, free: 100.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.211e-05/0.9954, allocations: 43.7 kB / 0.6313 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001127/0.9956, allocations: 92.59 kB / 0.6313 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001981/0.9958, allocations: 130.4 kB / 0.6315 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003201/0.999, allocations: 0.968 MB / 0.6324 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002328/0.9992, allocations: 176.5 kB / 0.6326 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002921/1.002, allocations: 121 kB / 0.6327 GB, free: 100.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006236/1.003, allocations: 241.2 kB / 0.6329 GB, free: 100.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 406 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (513): * Single equations (assignments): 513 * 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.00068/1.003, allocations: 340.1 kB / 0.6333 GB, free: 100.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007529/1.004, allocations: 210.4 kB / 0.6335 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003085/1.007, allocations: 1.116 MB / 0.6345 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.511e-05/1.007, allocations: 9.281 kB / 0.6346 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.356e-05/1.007, allocations: 1.062 kB / 0.6346 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.89e-05/1.007, allocations: 5.031 kB / 0.6346 GB, free: 100.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008933/1.016, allocations: 4.607 MB / 0.6391 GB, free: 98.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/1.016, allocations: 19.44 kB / 0.6391 GB, free: 98.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006346/1.017, allocations: 220.5 kB / 0.6393 GB, free: 98.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.369e-05/1.017, allocations: 27.12 kB / 0.6393 GB, free: 98.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.221e-05/1.017, allocations: 19.56 kB / 0.6393 GB, free: 98.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.816e-05/1.017, allocations: 34.34 kB / 0.6394 GB, free: 98.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.337e-05/1.017, allocations: 30.77 kB / 0.6394 GB, free: 98.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/1.019, allocations: 2.966 MB / 0.6423 GB, free: 96.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004654/1.02, allocations: 290.1 kB / 0.6426 GB, free: 96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001913/1.02, allocations: 26.2 kB / 0.6426 GB, free: 96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007002/1.02, allocations: 31.05 kB / 0.6426 GB, free: 96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/1.021, allocations: 124.6 kB / 0.6427 GB, free: 95.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-05/1.021, allocations: 52.94 kB / 0.6428 GB, free: 95.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001518/1.022, allocations: 1.288 MB / 0.6441 GB, free: 95.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.022, allocations: 7.5 kB / 0.6441 GB, free: 95.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003313/1.025, allocations: 0.575 MB / 0.6446 GB, free: 95.82 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 120 * 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.0002995/1.026, allocations: 175.7 kB / 0.6448 GB, free: 95.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00305/1.029, allocations: 2.245 MB / 0.647 GB, free: 95.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/1.029, allocations: 1.781 kB / 0.647 GB, free: 95.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005061/1.029, allocations: 0.4981 MB / 0.6475 GB, free: 95.44 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009115/1.03, allocations: 210.4 kB / 0.6477 GB, free: 95.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009317/1.04, allocations: 5.341 MB / 0.6529 GB, free: 93.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002454/1.042, allocations: 2.801 MB / 0.6556 GB, free: 92.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002642/1.045, allocations: 1.019 MB / 0.6566 GB, free: 92.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003229/1.045, allocations: 156 kB / 0.6568 GB, free: 92.89 MB / 426.7 MB Notification: Performance of SimCode: time 8.51e-07/1.045, allocations: 0 / 0.6568 GB, free: 92.89 MB / 426.7 MB Notification: Performance of Templates: time 0.03222/1.077, allocations: 16.28 MB / 0.6727 GB, free: 91.92 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.pipe 2>&1)