Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP") translateModel(ModelicaTest.MultiBody.Joints.JointSSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001101/0.001101, allocations: 181.9 kB / 12.74 MB, free: 2.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.678/1.678, allocations: 194.3 MB / 207.5 MB, free: 3.465 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.001586/0.001586, allocations: 112.6 kB / 252.6 MB, free: 4.832 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.2115/0.2115, allocations: 39.94 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.847e-05/2.85e-05, allocations: 7.984 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09807/0.09812, allocations: 54.85 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3866/0.4848, allocations: 98.92 MB / 0.5411 GB, free: 8.902 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.4851, allocations: 76.33 kB / 0.5411 GB, free: 8.863 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.134/0.6192, allocations: 54.55 MB / 0.5944 GB, free: 10.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6192, allocations: 0 / 0.5944 GB, free: 10.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.28e-05/0.6193, allocations: 48 kB / 0.5945 GB, free: 10.1 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.004954/0.6243, allocations: 2.362 MB / 0.5968 GB, free: 7.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.6244, allocations: 12.03 kB / 0.5968 GB, free: 7.668 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002267/0.6266, allocations: 479.7 kB / 0.5972 GB, free: 7.195 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003124/0.6298, allocations: 1.512 MB / 0.5987 GB, free: 5.637 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/0.6299, allocations: 213.7 kB / 0.5989 GB, free: 5.426 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005072/0.6305, allocations: 283.9 kB / 0.5992 GB, free: 5.148 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01313/0.6436, allocations: 5.916 MB / 0.605 GB, free: 14.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.968e-05/0.6437, allocations: 15.88 kB / 0.605 GB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003313/0.6441, allocations: 128 kB / 0.6051 GB, free: 14.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008085/0.6449, allocations: 480 kB / 0.6056 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01076/0.6557, allocations: 4.485 MB / 0.6099 GB, free: 9.805 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03098/0.6867, allocations: 19.87 MB / 0.6293 GB, free: 5.363 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00434/0.6911, allocations: 1.239 MB / 0.6306 GB, free: 4.109 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007558/0.6919, allocations: 379.3 kB / 0.6309 GB, free: 3.73 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002126/0.694, allocations: 2.066 MB / 0.6329 GB, free: 1.328 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.6941, allocations: 39.12 kB / 0.633 GB, free: 1.281 MB / 442.7 MB Notification: Performance of pre-optimization done (n=66): time 3.596e-06/0.6941, allocations: 0 / 0.633 GB, free: 1.281 MB / 442.7 MB Notification: Performance of matching and sorting (n=110): time 0.02019/0.7143, allocations: 5.374 MB / 0.6382 GB, free: 11.89 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.09e-05/0.7145, allocations: 90.11 kB / 0.6383 GB, free: 11.79 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0037/0.7182, allocations: 1.584 MB / 0.6399 GB, free: 10.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001629/0.7184, allocations: 45.7 kB / 0.6399 GB, free: 10.15 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001539/0.7199, allocations: 1.637 MB / 0.6415 GB, free: 8.488 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000543/0.7205, allocations: 410.5 kB / 0.6419 GB, free: 8.082 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.7207, allocations: 56 kB / 0.6419 GB, free: 8.027 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000313/0.721, allocations: 435.7 kB / 0.6424 GB, free: 7.598 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/0.7226, allocations: 0.7553 MB / 0.6431 GB, free: 6.84 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002765/0.7253, allocations: 2.294 MB / 0.6453 GB, free: 3.789 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002233/0.7276, allocations: 1.324 MB / 0.6466 GB, free: 2.461 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.534e-05/0.7276, allocations: 16 kB / 0.6466 GB, free: 2.445 MB / 458.7 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.005689/0.7333, allocations: 3.059 MB / 0.6496 GB, free: 15.38 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.837e-05/0.7334, allocations: 28 kB / 0.6497 GB, free: 15.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.619e-05/0.7335, allocations: 52 kB / 0.6497 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.763e-05/0.7336, allocations: 84.81 kB / 0.6498 GB, free: 15.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002103/0.7357, allocations: 0.6511 MB / 0.6504 GB, free: 14.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001198/0.7359, allocations: 111.6 kB / 0.6505 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/0.7377, allocations: 119.8 kB / 0.6506 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002894/0.738, allocations: 160 kB / 0.6508 GB, free: 14.18 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 247 * Number of states: 0 () * Number of discrete variables: 31 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 (359): * Single equations (assignments): 359 * 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.0005313/0.7386, allocations: 334.6 kB / 0.6511 GB, free: 13.85 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005391/0.7391, allocations: 165.8 kB / 0.6513 GB, free: 13.68 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002901/0.742, allocations: 1.239 MB / 0.6525 GB, free: 12.43 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.7421, allocations: 8 kB / 0.6525 GB, free: 12.42 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.7421, allocations: 8.031 kB / 0.6525 GB, free: 12.41 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-05/0.7421, allocations: 8.125 kB / 0.6525 GB, free: 12.41 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.013/0.7551, allocations: 6.435 MB / 0.6588 GB, free: 5.586 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-05/0.7552, allocations: 24.25 kB / 0.6588 GB, free: 5.562 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007564/0.756, allocations: 211.5 kB / 0.659 GB, free: 5.355 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.612e-05/0.7561, allocations: 28 kB / 0.659 GB, free: 5.328 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.064e-05/0.7561, allocations: 44 kB / 0.6591 GB, free: 5.285 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.333e-05/0.7562, allocations: 35.86 kB / 0.6591 GB, free: 5.25 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.589e-05/0.7562, allocations: 31.88 kB / 0.6591 GB, free: 5.219 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003365/0.7596, allocations: 3.164 MB / 0.6622 GB, free: 0.9805 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007143/0.7603, allocations: 274.8 kB / 0.6625 GB, free: 0.6914 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004452/0.7608, allocations: 51.94 kB / 0.6625 GB, free: 0.6406 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009629/0.7617, allocations: 39.98 kB / 0.6626 GB, free: 0.6016 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/0.7619, allocations: 131.5 kB / 0.6627 GB, free: 484 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.757e-05/0.762, allocations: 52 kB / 0.6628 GB, free: 432 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002667/0.7647, allocations: 1.177 MB / 0.6639 GB, free: 15.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7647, allocations: 0 / 0.6639 GB, free: 15.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003741/0.7685, allocations: 0.496 MB / 0.6644 GB, free: 14.76 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 109 * 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.0004975/0.769, allocations: 194.7 kB / 0.6646 GB, free: 14.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003679/0.7727, allocations: 1.778 MB / 0.6663 GB, free: 12.79 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.441e-05/0.7727, allocations: 4.062 kB / 0.6663 GB, free: 12.79 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007647/0.7735, allocations: 480 kB / 0.6668 GB, free: 12.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001621/0.7751, allocations: 251.9 kB / 0.667 GB, free: 12.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/0.7856, allocations: 4.231 MB / 0.6711 GB, free: 7.531 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003456/0.7891, allocations: 2.236 MB / 0.6733 GB, free: 5.266 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002439/0.7915, allocations: 0.7071 MB / 0.674 GB, free: 4.555 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003671/0.7919, allocations: 135.4 kB / 0.6742 GB, free: 4.422 MB / 490.7 MB Notification: Performance of SimCode: time 8.41e-07/0.7919, allocations: 0 / 0.6742 GB, free: 4.422 MB / 490.7 MB Notification: Performance of Templates: time 0.2981/1.09, allocations: 15.4 MB / 0.6892 GB, free: 142.1 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.pipe 2>&1)