Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.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.JointUPS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS") translateModel(ModelicaTest.MultiBody.Joints.JointUPS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0011/0.0011, 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.625/1.625, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.001732/0.001732, allocations: 113.4 kB / 252.6 MB, free: 4.805 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.2218/0.2218, allocations: 39.94 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.192e-05/5.194e-05, allocations: 4 kB / 400.3 MB, free: 69.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1253, allocations: 54.85 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4528/0.5782, allocations: 92.02 MB / 0.5343 GB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.5785, allocations: 74.34 kB / 0.5344 GB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08883/0.6673, allocations: 34.58 MB / 0.5682 GB, free: 1.488 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.6674, allocations: 0 / 0.5682 GB, free: 1.488 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.919e-05/0.6675, allocations: 40 kB / 0.5682 GB, free: 1.449 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 694 * Number of variables: 694 Notification: Performance of Generate backend data structure: time 0.005265/0.6727, allocations: 2.181 MB / 0.5703 GB, free: 15.38 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.6728, allocations: 15.97 kB / 0.5704 GB, free: 15.36 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/0.675, allocations: 396.4 kB / 0.5707 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002767/0.6777, allocations: 1.123 MB / 0.5718 GB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.6779, allocations: 146.9 kB / 0.572 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003673/0.6783, allocations: 194.6 kB / 0.5722 GB, free: 13.78 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01045/0.6887, allocations: 4.777 MB / 0.5768 GB, free: 9.965 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.765e-05/0.6888, allocations: 11.88 kB / 0.5768 GB, free: 9.953 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002345/0.689, allocations: 87.2 kB / 0.5769 GB, free: 9.918 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009638/0.69, allocations: 0.5252 MB / 0.5774 GB, free: 9.461 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008898/0.6989, allocations: 3.782 MB / 0.5811 GB, free: 6.703 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02812/0.7271, allocations: 16.62 MB / 0.5974 GB, free: 6.402 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004375/0.7315, allocations: 1.287 MB / 0.5986 GB, free: 5.086 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.7326, allocations: 0.6988 MB / 0.5993 GB, free: 4.379 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006757/0.7394, allocations: 4.07 MB / 0.6033 GB, free: 56 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.774e-05/0.7395, allocations: 38.56 kB / 0.6033 GB, free: 8 kB / 410.7 MB Notification: Performance of pre-optimization done (n=41): time 4.538e-06/0.7395, allocations: 4 kB / 0.6033 GB, free: 4 kB / 410.7 MB Notification: Performance of matching and sorting (n=41): time 0.006189/0.7457, allocations: 1.459 MB / 0.6047 GB, free: 14.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.588e-05/0.7458, allocations: 106.8 kB / 0.6048 GB, free: 14.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003349/0.7492, allocations: 1.386 MB / 0.6062 GB, free: 13.01 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.474e-05/0.7493, allocations: 37.7 kB / 0.6062 GB, free: 12.97 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001367/0.7506, allocations: 1.395 MB / 0.6076 GB, free: 11.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002396/0.7509, allocations: 178 kB / 0.6078 GB, free: 11.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.751, allocations: 44 kB / 0.6078 GB, free: 11.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002955/0.7513, allocations: 455.3 kB / 0.6082 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009214/0.7523, allocations: 496.4 kB / 0.6087 GB, free: 10.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0023/0.7546, allocations: 2.001 MB / 0.6107 GB, free: 7.617 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001731/0.7563, allocations: 0.9671 MB / 0.6116 GB, free: 6.648 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.216e-05/0.7564, allocations: 16 kB / 0.6116 GB, free: 6.633 MB / 426.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.005937/0.7623, allocations: 2.379 MB / 0.6139 GB, free: 4.246 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.586e-05/0.7625, allocations: 28 kB / 0.614 GB, free: 4.219 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-05/0.7625, allocations: 56 kB / 0.614 GB, free: 4.164 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.568e-05/0.7626, allocations: 76 kB / 0.6141 GB, free: 4.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/0.7644, allocations: 0.5466 MB / 0.6146 GB, free: 3.543 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001038/0.7645, allocations: 107.6 kB / 0.6147 GB, free: 3.438 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/0.7665, allocations: 328.5 kB / 0.615 GB, free: 3.113 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002145/0.7668, allocations: 148 kB / 0.6152 GB, free: 2.969 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 250 * Number of states: 0 () * Number of discrete variables: 30 (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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[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 (292): * Single equations (assignments): 292 * 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.0003732/0.7672, allocations: 306.8 kB / 0.6155 GB, free: 2.664 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003138/0.7675, allocations: 130.3 kB / 0.6156 GB, free: 2.535 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000377/0.7679, allocations: 157.3 kB / 0.6158 GB, free: 2.375 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.7679, allocations: 4 kB / 0.6158 GB, free: 2.371 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.7679, allocations: 4 kB / 0.6158 GB, free: 2.367 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.7679, allocations: 3.984 kB / 0.6158 GB, free: 2.363 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006007/0.7739, allocations: 3.226 MB / 0.6189 GB, free: 14.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.758e-05/0.774, allocations: 12 kB / 0.6189 GB, free: 14.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/0.7743, allocations: 99.77 kB / 0.619 GB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.136e-05/0.7743, allocations: 16 kB / 0.619 GB, free: 14.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.224e-05/0.7744, allocations: 24 kB / 0.6191 GB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.879e-05/0.7744, allocations: 23.92 kB / 0.6191 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.429e-05/0.7744, allocations: 15.94 kB / 0.6191 GB, free: 14.74 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.776, allocations: 1.557 MB / 0.6206 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005008/0.7765, allocations: 235.2 kB / 0.6208 GB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003268/0.7769, allocations: 27.94 kB / 0.6209 GB, free: 12.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000578/0.7775, allocations: 27.94 kB / 0.6209 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.936e-05/0.7776, allocations: 63.73 kB / 0.621 GB, free: 12.28 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.893e-05/0.7776, allocations: 28 kB / 0.621 GB, free: 12.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001502/0.7791, allocations: 0.9457 MB / 0.6219 GB, free: 11.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.7791, allocations: 0 / 0.6219 GB, free: 11.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002452/0.7816, allocations: 493.9 kB / 0.6224 GB, free: 10.82 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 50 * 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.0002623/0.7819, allocations: 134.9 kB / 0.6225 GB, free: 10.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002178/0.784, allocations: 1.222 MB / 0.6237 GB, free: 9.469 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.7841, allocations: 0.875 kB / 0.6237 GB, free: 9.469 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002918/0.7844, allocations: 233.5 kB / 0.6239 GB, free: 9.242 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008258/0.7852, allocations: 170.1 kB / 0.6241 GB, free: 9.078 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005199/0.7904, allocations: 2.783 MB / 0.6268 GB, free: 6.113 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001661/0.7921, allocations: 1.741 MB / 0.6285 GB, free: 4.34 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001657/0.7938, allocations: 0.6058 MB / 0.6291 GB, free: 3.727 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.7939, allocations: 95.44 kB / 0.6292 GB, free: 3.633 MB / 442.7 MB Notification: Performance of SimCode: time 7.82e-07/0.794, allocations: 4 kB / 0.6292 GB, free: 3.629 MB / 442.7 MB Notification: Performance of Templates: time 0.02147/0.8154, allocations: 9.665 MB / 0.6386 GB, free: 9.977 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.pipe 2>&1)