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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002147/0.002147, allocations: 175.6 kB / 7.449 MB, free: 2.508 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.126/1.126, allocations: 170.6 MB / 178.4 MB, free: 15.36 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.001965/0.001965, allocations: 123.8 kB / 217.7 MB, free: 8.129 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.1789/0.1789, allocations: 37.98 MB / 294.8 MB, free: 9.461 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.1e-05/1.102e-05, allocations: 5.875 kB / 349.5 MB, free: 37.05 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1097, allocations: 48.71 MB / 398.2 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3852/0.495, allocations: 89.37 MB / 487.6 MB, free: 13.25 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004024/0.4955, allocations: 72.2 kB / 487.7 MB, free: 13.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.2485/0.7441, allocations: 91.31 MB / 0.5654 GB, free: 2.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004032/0.7445, allocations: 83.94 kB / 0.5655 GB, free: 2.258 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: 1761 * Number of variables: 1761 Notification: Performance of Generate backend data structure: time 0.01943/0.764, allocations: 4.195 MB / 0.5696 GB, free: 14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.59e-05/0.7641, allocations: 12.03 kB / 0.5696 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01739/0.7815, allocations: 2.907 MB / 0.5724 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01715/0.7987, allocations: 4.494 MB / 0.5768 GB, free: 6.559 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005866/0.7994, allocations: 148 kB / 0.5769 GB, free: 6.414 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004217/0.8036, allocations: 263.9 kB / 0.5772 GB, free: 6.156 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0195/0.8231, allocations: 8.359 MB / 0.5854 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03489/0.8581, allocations: 10.89 MB / 0.596 GB, free: 2.371 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003799/0.8585, allocations: 35.66 kB / 0.596 GB, free: 2.336 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003271/0.8618, allocations: 12 kB / 0.596 GB, free: 2.324 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002362/0.8642, allocations: 1.414 MB / 0.5974 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3218/1.186, allocations: 39.15 MB / 0.6357 GB, free: 116.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00849/1.195, allocations: 5.217 MB / 0.6408 GB, free: 115.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004389/1.199, allocations: 3.093 MB / 0.6438 GB, free: 115.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02182/1.221, allocations: 11.66 MB / 0.6552 GB, free: 111.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/1.221, allocations: 51 kB / 0.6552 GB, free: 111.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=219): time 4.889e-06/1.221, allocations: 0 / 0.6552 GB, free: 111.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=249): time 0.036/1.257, allocations: 16.1 MB / 0.6709 GB, free: 108.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/1.257, allocations: 78.69 kB / 0.671 GB, free: 108.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00828/1.265, allocations: 2.691 MB / 0.6736 GB, free: 107.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004979/1.266, allocations: 25.7 kB / 0.6737 GB, free: 107.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002667/1.269, allocations: 3.074 MB / 0.6767 GB, free: 105.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001447/1.27, allocations: 0.8929 MB / 0.6775 GB, free: 104.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009633/1.271, allocations: 0 / 0.6775 GB, free: 104.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009069/1.272, allocations: 0.5768 MB / 0.6781 GB, free: 104.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004842/1.277, allocations: 2.818 MB / 0.6809 GB, free: 103.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00649/1.283, allocations: 6.191 MB / 0.6869 GB, free: 97.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006565/1.29, allocations: 4.228 MB / 0.691 GB, free: 96.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001511/1.29, allocations: 34.12 kB / 0.6911 GB, free: 96.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.02192/1.312, allocations: 9.473 MB / 0.7003 GB, free: 93.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/1.312, allocations: 3.938 kB / 0.7003 GB, free: 93.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003293/1.313, allocations: 121.1 kB / 0.7004 GB, free: 93.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003885/1.316, allocations: 1.282 MB / 0.7017 GB, free: 93.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006119/1.323, allocations: 1.432 MB / 0.7031 GB, free: 93.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00961/1.332, allocations: 6.786 MB / 0.7097 GB, free: 88.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0067/1.339, allocations: 243.3 kB / 0.7099 GB, free: 88.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001808/1.341, allocations: 369.6 kB / 0.7103 GB, free: 88.23 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * 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 (758): * Single equations (assignments): 751 * 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%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002448/1.343, allocations: 407.2 kB / 0.7107 GB, free: 87.83 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001072/1.344, allocations: 288.2 kB / 0.711 GB, free: 87.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01133/1.356, allocations: 5.994 MB / 0.7168 GB, free: 82.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.396e-05/1.356, allocations: 35.89 kB / 0.7168 GB, free: 82.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.905e-05/1.356, allocations: 4 kB / 0.7168 GB, free: 82.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.807e-05/1.356, allocations: 10.59 kB / 0.7169 GB, free: 82.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02557/1.381, allocations: 11.32 MB / 0.7279 GB, free: 73.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/1.381, allocations: 0 / 0.7279 GB, free: 73.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002035/1.384, allocations: 360.8 kB / 0.7283 GB, free: 73.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003301/1.387, allocations: 1.109 MB / 0.7293 GB, free: 72.28 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003842/1.387, allocations: 19.58 kB / 0.7294 GB, free: 72.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007855/1.395, allocations: 5.904 MB / 0.7351 GB, free: 67.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.395, allocations: 0 / 0.7351 GB, free: 67.07 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01389/1.409, allocations: 9.076 MB / 0.744 GB, free: 59.17 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003284/1.412, allocations: 0.7818 MB / 0.7448 GB, free: 58.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001596/1.414, allocations: 7.906 kB / 0.7448 GB, free: 58.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002737/1.417, allocations: 102.9 kB / 0.7449 GB, free: 58.37 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004638/1.417, allocations: 94.41 kB / 0.745 GB, free: 58.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002668/1.418, allocations: 59.75 kB / 0.745 GB, free: 58.26 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.004852/1.422, allocations: 1.769 MB / 0.7467 GB, free: 56.72 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007846/1.43, allocations: 0.9925 MB / 0.7477 GB, free: 55.73 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (186): * Single equations (assignments): 179 * 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 {(4,75.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000874/1.431, allocations: 138.8 kB / 0.7478 GB, free: 55.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01038/1.442, allocations: 6.61 MB / 0.7543 GB, free: 49.63 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/1.442, allocations: 0 / 0.7543 GB, free: 49.63 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004317/1.446, allocations: 2.604 MB / 0.7568 GB, free: 47.28 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002388/1.448, allocations: 226.6 kB / 0.7571 GB, free: 47.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02572/1.474, allocations: 9.221 MB / 0.7661 GB, free: 38.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009933/1.484, allocations: 3.932 MB / 0.7699 GB, free: 35.76 MB / 426.7 MB Notification: Performance of SimCode: time 1.843e-06/1.484, allocations: 3.938 kB / 0.7699 GB, free: 35.75 MB / 426.7 MB Notification: Performance of Templates: time 0.304/1.788, allocations: 43.77 MB / 0.8126 GB, free: 120.9 MB / 426.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)