Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal.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.Universal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal") translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001416/0.001416, allocations: 169.1 kB / 12.72 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.241/1.241, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001583/0.001583, allocations: 107.5 kB / 223.2 MB, free: 4.047 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.1672/0.1672, allocations: 37.99 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.836e-05/2.838e-05, allocations: 7.984 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09162/0.09166, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3654/0.4571, allocations: 90.11 MB / 495.8 MB, free: 18.45 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/0.4574, allocations: 72.62 kB / 495.9 MB, free: 18.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2259/0.6833, allocations: 94.31 MB / 0.5764 GB, free: 10.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.078e-06/0.6834, allocations: 3.938 kB / 0.5764 GB, free: 10.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001749/0.6836, allocations: 83.94 kB / 0.5764 GB, free: 10.84 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1761 * Number of variables: 1761 Notification: Performance of Generate backend data structure: time 0.01391/0.6975, allocations: 4.236 MB / 0.5806 GB, free: 6.543 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.6976, allocations: 12.03 kB / 0.5806 GB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01615/0.7137, allocations: 3.609 MB / 0.5841 GB, free: 2.91 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01368/0.7274, allocations: 4.459 MB / 0.5885 GB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004294/0.7279, allocations: 332.8 kB / 0.5888 GB, free: 14.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002599/0.7305, allocations: 447.8 kB / 0.5892 GB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02454/0.7551, allocations: 11.64 MB / 0.6006 GB, free: 1.457 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001129/0.7552, allocations: 31.75 kB / 0.6006 GB, free: 1.426 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006747/0.7559, allocations: 203.8 kB / 0.6008 GB, free: 1.227 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001914/0.7578, allocations: 1.333 MB / 0.6021 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0228/0.7807, allocations: 11.22 MB / 0.6131 GB, free: 4.656 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3463/1.127, allocations: 41.33 MB / 0.6534 GB, free: 71.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0107/1.138, allocations: 5.937 MB / 0.6592 GB, free: 70.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003426/1.141, allocations: 2.972 MB / 0.6621 GB, free: 70.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001354/1.143, allocations: 1.884 MB / 0.664 GB, free: 68.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.462e-05/1.143, allocations: 61.03 kB / 0.664 GB, free: 68.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=262): time 7.785e-06/1.143, allocations: 0 / 0.664 GB, free: 68.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=283): time 0.03962/1.182, allocations: 16.62 MB / 0.6802 GB, free: 65.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/1.182, allocations: 78.94 kB / 0.6803 GB, free: 65.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005255/1.188, allocations: 2.657 MB / 0.6829 GB, free: 64.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008444/1.189, allocations: 67.36 kB / 0.683 GB, free: 64.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001985/1.191, allocations: 2.993 MB / 0.6859 GB, free: 62.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001375/1.192, allocations: 1.022 MB / 0.6869 GB, free: 61.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000328/1.192, allocations: 114.2 kB / 0.687 GB, free: 61.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000323/1.193, allocations: 0.5592 MB / 0.6876 GB, free: 60.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003473/1.196, allocations: 2.76 MB / 0.6903 GB, free: 59.99 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004661/1.201, allocations: 5.92 MB / 0.696 GB, free: 54.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005286/1.206, allocations: 4.068 MB / 0.7 GB, free: 53.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.986e-05/1.206, allocations: 29.97 kB / 0.7 GB, free: 53.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01564/1.222, allocations: 9.869 MB / 0.7097 GB, free: 50.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.953e-05/1.222, allocations: 51.97 kB / 0.7097 GB, free: 50.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001142/1.222, allocations: 110.5 kB / 0.7098 GB, free: 50.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003484/1.226, allocations: 1.387 MB / 0.7112 GB, free: 49.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004915/1.23, allocations: 1.382 MB / 0.7125 GB, free: 48.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008437/1.239, allocations: 7.179 MB / 0.7195 GB, free: 42.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005293/1.244, allocations: 414.6 kB / 0.7199 GB, free: 41.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001653/1.246, allocations: 339.7 kB / 0.7203 GB, free: 41.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 502 * Number of states: 0 () * Number of discrete variables: 27 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.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 (717): * Single equations (assignments): 710 * Array equations: 6 * 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 {(3,100.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001187/1.247, allocations: 0.5348 MB / 0.7208 GB, free: 40.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006079/1.248, allocations: 304.1 kB / 0.7211 GB, free: 40.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/1.258, allocations: 6.574 MB / 0.7275 GB, free: 35.28 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-05/1.258, allocations: 48.75 kB / 0.7275 GB, free: 35.24 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/1.258, allocations: 4 kB / 0.7275 GB, free: 35.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.859e-05/1.258, allocations: 10.73 kB / 0.7276 GB, free: 35.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02284/1.281, allocations: 14.01 MB / 0.7412 GB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/1.281, allocations: 4 kB / 0.7412 GB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001915/1.283, allocations: 463.1 kB / 0.7417 GB, free: 23.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003105/1.286, allocations: 1.203 MB / 0.7429 GB, free: 22.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002616/1.286, allocations: 58.23 kB / 0.7429 GB, free: 22.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007258/1.293, allocations: 6.518 MB / 0.7493 GB, free: 16.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/1.294, allocations: 11.94 kB / 0.7493 GB, free: 16.67 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01302/1.307, allocations: 10.37 MB / 0.7594 GB, free: 7.258 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002554/1.309, allocations: 0.8227 MB / 0.7602 GB, free: 6.484 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004441/1.31, allocations: 53.33 kB / 0.7603 GB, free: 6.434 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001693/1.311, allocations: 202.2 kB / 0.7605 GB, free: 6.266 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005011/1.312, allocations: 169.6 kB / 0.7606 GB, free: 6.098 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001887/1.312, allocations: 73.41 kB / 0.7607 GB, free: 6.027 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002557/1.315, allocations: 1.816 MB / 0.7625 GB, free: 4.207 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.11e-07/1.315, allocations: 0 / 0.7625 GB, free: 4.207 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004636/1.319, allocations: 1.131 MB / 0.7636 GB, free: 3.082 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (218): * Single equations (assignments): 211 * Array equations: 6 * 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%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004524/1.32, allocations: 199.4 kB / 0.7638 GB, free: 2.887 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009758/1.329, allocations: 6.817 MB / 0.7704 GB, free: 12.07 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/1.329, allocations: 128 / 0.7704 GB, free: 12.07 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003737/1.333, allocations: 2.74 MB / 0.7731 GB, free: 9.324 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002215/1.335, allocations: 361.8 kB / 0.7734 GB, free: 8.992 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2582/1.594, allocations: 9.645 MB / 0.7829 GB, free: 97.81 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00463/1.598, allocations: 3.673 MB / 0.7864 GB, free: 97.02 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005488/1.604, allocations: 2.192 MB / 0.7886 GB, free: 96.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009575/1.605, allocations: 240.4 kB / 0.7888 GB, free: 96.98 MB / 442.7 MB Notification: Performance of SimCode: time 1.272e-06/1.605, allocations: 0 / 0.7888 GB, free: 96.98 MB / 442.7 MB Notification: Performance of Templates: time 0.08246/1.687, allocations: 38.88 MB / 0.8268 GB, free: 95.5 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1)