Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001048/0.001048, allocations: 181.8 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.633/1.633, allocations: 194.3 MB / 207.5 MB, free: 3.453 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.001612/0.001612, allocations: 113.2 kB / 252.6 MB, free: 4.793 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.2628/0.2628, allocations: 39.94 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.38e-05/3.382e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0893/0.08935, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4799/0.5693, allocations: 99.46 MB / 0.5416 GB, free: 8.371 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.5696, allocations: 74.22 kB / 0.5417 GB, free: 8.336 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2105/0.7802, allocations: 80.54 MB / 0.6203 GB, free: 15.45 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.7802, allocations: 4 kB / 0.6203 GB, free: 15.45 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001952/0.7804, allocations: 75.88 kB / 0.6204 GB, free: 15.38 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.01198/0.7924, allocations: 3.773 MB / 0.6241 GB, free: 11.55 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.7925, allocations: 19.95 kB / 0.6241 GB, free: 11.53 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01729/0.8098, allocations: 4.281 MB / 0.6283 GB, free: 7.234 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01239/0.8222, allocations: 4.506 MB / 0.6327 GB, free: 2.664 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002873/0.8225, allocations: 279.8 kB / 0.633 GB, free: 2.391 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001711/0.8242, allocations: 395.7 kB / 0.6333 GB, free: 2.004 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01965/0.8439, allocations: 9.544 MB / 0.6426 GB, free: 7.543 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001862/0.8442, allocations: 55.47 kB / 0.6427 GB, free: 7.488 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007093/0.8449, allocations: 187.9 kB / 0.6429 GB, free: 7.305 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001281/0.8462, allocations: 0.9473 MB / 0.6438 GB, free: 6.352 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01576/0.8619, allocations: 8.005 MB / 0.6516 GB, free: 14.32 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4452/1.307, allocations: 43.69 MB / 0.6943 GB, free: 82.04 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01546/1.323, allocations: 3.654 MB / 0.6979 GB, free: 81.38 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004423/1.327, allocations: 1.948 MB / 0.6998 GB, free: 81.35 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007039/1.328, allocations: 338.3 kB / 0.7001 GB, free: 81.07 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.997e-05/1.328, allocations: 55.06 kB / 0.7001 GB, free: 81.03 MB / 474.7 MB Notification: Performance of pre-optimization done (n=156): time 6.192e-06/1.328, allocations: 0 / 0.7001 GB, free: 81.03 MB / 474.7 MB Notification: Performance of matching and sorting (n=177): time 0.03288/1.361, allocations: 12.89 MB / 0.7127 GB, free: 78.61 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.189e-05/1.361, allocations: 176.4 kB / 0.7129 GB, free: 78.42 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005822/1.367, allocations: 3.175 MB / 0.716 GB, free: 78.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006681/1.368, allocations: 53.58 kB / 0.716 GB, free: 78.07 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002766/1.37, allocations: 2.835 MB / 0.7188 GB, free: 76.74 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001167/1.372, allocations: 0.6763 MB / 0.7195 GB, free: 76.36 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003273/1.372, allocations: 112.3 kB / 0.7196 GB, free: 76.36 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003633/1.372, allocations: 0.5379 MB / 0.7201 GB, free: 76.04 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003429/1.376, allocations: 2.08 MB / 0.7221 GB, free: 76.03 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004496/1.38, allocations: 5.386 MB / 0.7274 GB, free: 71.74 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004314/1.385, allocations: 3.345 MB / 0.7307 GB, free: 71.04 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.195e-05/1.385, allocations: 34.16 kB / 0.7307 GB, free: 71.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01289/1.398, allocations: 8.033 MB / 0.7385 GB, free: 68.55 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.619e-05/1.398, allocations: 62.52 kB / 0.7386 GB, free: 68.55 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001355/1.398, allocations: 114.8 kB / 0.7387 GB, free: 68.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00219/1.4, allocations: 0.9232 MB / 0.7396 GB, free: 68.37 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004642/1.405, allocations: 1.281 MB / 0.7409 GB, free: 68.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007074/1.412, allocations: 6.084 MB / 0.7468 GB, free: 64.88 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004627/1.416, allocations: 318.9 kB / 0.7471 GB, free: 64.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001415/1.418, allocations: 334.7 kB / 0.7474 GB, free: 64.73 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 535 * Number of states: 0 () * Number of discrete variables: 21 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (670): * Single equations (assignments): 666 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001995/1.42, allocations: 0.5178 MB / 0.7479 GB, free: 64.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001053/1.421, allocations: 319.3 kB / 0.7482 GB, free: 64.12 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006525/1.427, allocations: 3.425 MB / 0.7516 GB, free: 62.82 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-05/1.428, allocations: 17 kB / 0.7516 GB, free: 62.82 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-05/1.428, allocations: 7.312 kB / 0.7516 GB, free: 62.82 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.034e-05/1.428, allocations: 10.92 kB / 0.7516 GB, free: 62.82 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01789/1.446, allocations: 8.451 MB / 0.7599 GB, free: 59.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/1.446, allocations: 0 / 0.7599 GB, free: 59.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00138/1.447, allocations: 285.3 kB / 0.7601 GB, free: 59.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001748/1.449, allocations: 0.7562 MB / 0.7609 GB, free: 59.39 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001831/1.449, allocations: 33.17 kB / 0.7609 GB, free: 59.37 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006405/1.455, allocations: 5.616 MB / 0.7664 GB, free: 56.09 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/1.455, allocations: 8 kB / 0.7664 GB, free: 56.08 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007738/1.463, allocations: 6.22 MB / 0.7725 GB, free: 50.58 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002017/1.465, allocations: 0.6592 MB / 0.7731 GB, free: 49.95 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004781/1.466, allocations: 35.5 kB / 0.7731 GB, free: 49.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001376/1.467, allocations: 109.7 kB / 0.7733 GB, free: 49.86 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002821/1.467, allocations: 95.17 kB / 0.7733 GB, free: 49.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/1.468, allocations: 49.34 kB / 0.7734 GB, free: 49.75 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00363/1.471, allocations: 2.214 MB / 0.7756 GB, free: 47.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.6e-07/1.471, allocations: 0 / 0.7756 GB, free: 47.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005238/1.476, allocations: 0.9357 MB / 0.7765 GB, free: 46.87 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 133 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005181/1.477, allocations: 168.8 kB / 0.7766 GB, free: 46.71 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007273/1.484, allocations: 5.082 MB / 0.7816 GB, free: 42.05 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/1.484, allocations: 0 / 0.7816 GB, free: 42.05 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002638/1.487, allocations: 1.873 MB / 0.7834 GB, free: 40.36 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/1.49, allocations: 363.2 kB / 0.7838 GB, free: 40.05 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/1.503, allocations: 7.3 MB / 0.7909 GB, free: 33.54 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003031/1.506, allocations: 3.133 MB / 0.794 GB, free: 31.14 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004514/1.511, allocations: 1.809 MB / 0.7957 GB, free: 29.99 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000728/1.511, allocations: 221.6 kB / 0.7959 GB, free: 29.79 MB / 474.7 MB Notification: Performance of SimCode: time 8.91e-07/1.511, allocations: 4 kB / 0.7959 GB, free: 29.78 MB / 474.7 MB Notification: Performance of Templates: time 0.06297/1.574, allocations: 34.47 MB / 0.8296 GB, free: 15.45 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1)