Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical.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.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical") translateModel(ModelicaTest.MultiBody.Joints.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical") [: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.005362/0.005362, allocations: 177.5 kB / 7.453 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.377/1.377, allocations: 170.6 MB / 178.4 MB, free: 15.45 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.00188/0.00188, allocations: 107.9 kB / 217.7 MB, free: 8.203 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.2133/0.2133, allocations: 37.98 MB / 294.8 MB, free: 9.605 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.696e-06/8.726e-06, allocations: 2.344 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1104, allocations: 48.71 MB / 398.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3728/0.4833, allocations: 107.5 MB / 0.4939 GB, free: 11.1 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003457/0.4837, allocations: 72.34 kB / 0.494 GB, free: 11.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.7808/1.264, allocations: 220.5 MB / 0.7093 GB, free: 28.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0009667/1.265, allocations: 277.6 kB / 0.7096 GB, free: 28.13 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4696 * Number of variables: 4696 Notification: Performance of Generate backend data structure: time 0.05584/1.321, allocations: 14.14 MB / 0.7234 GB, free: 22.87 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/1.321, allocations: 11.33 kB / 0.7234 GB, free: 22.87 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0429/1.364, allocations: 10.04 MB / 0.7332 GB, free: 21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03842/1.403, allocations: 14 MB / 0.7469 GB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001468/1.404, allocations: 477.2 kB / 0.7473 GB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006696/1.411, allocations: 0.8515 MB / 0.7481 GB, free: 14.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04801/1.459, allocations: 19.87 MB / 0.7675 GB, free: 11.4 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3343/1.793, allocations: 28.36 MB / 0.7952 GB, free: 92.27 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009502/1.794, allocations: 146 kB / 0.7954 GB, free: 92.27 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006536/1.801, allocations: 62.75 kB / 0.7954 GB, free: 92.27 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003846/1.805, allocations: 2.691 MB / 0.7981 GB, free: 92.25 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1708/1.975, allocations: 128.2 MB / 0.9232 GB, free: 51.34 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/1.986, allocations: 8.457 MB / 0.9315 GB, free: 47.35 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008356/1.994, allocations: 7.162 MB / 0.9385 GB, free: 44.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05122/2.045, allocations: 32.09 MB / 0.9698 GB, free: 26.63 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.924e-05/2.046, allocations: 81.34 kB / 0.9699 GB, free: 26.55 MB / 490.7 MB Notification: Performance of pre-optimization done (n=424): time 1.084e-05/2.046, allocations: 0 / 0.9699 GB, free: 26.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=554): time 0.4375/2.483, allocations: 89.74 MB / 1.058 GB, free: 132.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/2.483, allocations: 336.2 kB / 1.058 GB, free: 132.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.017/2.5, allocations: 7.505 MB / 1.065 GB, free: 131.7 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002472/2.503, allocations: 25.7 kB / 1.065 GB, free: 131.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007256/2.51, allocations: 8.369 MB / 1.073 GB, free: 126.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003772/2.514, allocations: 2.077 MB / 1.075 GB, free: 125.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002882/2.517, allocations: 0 / 1.075 GB, free: 125.1 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.002153/2.519, allocations: 1.004 MB / 1.076 GB, free: 124.7 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01505/2.534, allocations: 9.204 MB / 1.085 GB, free: 124.7 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02159/2.556, allocations: 18.65 MB / 1.104 GB, free: 109.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01828/2.574, allocations: 12.88 MB / 1.116 GB, free: 105.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006307/2.575, allocations: 93.78 kB / 1.116 GB, free: 105.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=2136) (initialization): time 0.08035/2.655, allocations: 32.73 MB / 1.148 GB, free: 92.22 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/2.655, allocations: 10.22 kB / 1.148 GB, free: 92.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05103/2.706, allocations: 21.36 MB / 1.169 GB, free: 75.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03118/2.737, allocations: 8.615 MB / 1.178 GB, free: 69.12 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01711/2.755, allocations: 3.91 MB / 1.181 GB, free: 65.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2776/3.032, allocations: 40.96 MB / 1.221 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01898/3.051, allocations: 1.001 MB / 1.222 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004379/3.056, allocations: 1.002 MB / 1.223 GB, free: 111.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1530 * Number of states: 0 () * Number of discrete variables: 69 (init2.arrowColor[3],init2.arrowColor[2],init2.arrowColor[1],init.arrowColor[3],init.arrowColor[2],init.arrowColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],universalSpherical1.cylinderColor[3],universalSpherical1.cylinderColor[2],universalSpherical1.cylinderColor[1],universalSpherical1.sphereColor[3],universalSpherical1.sphereColor[2],universalSpherical1.sphereColor[1],universalSpherical1.rodColor[3],universalSpherical1.rodColor[2],universalSpherical1.rodColor[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],rs3.arrowColor[3],rs3.arrowColor[2],rs3.arrowColor[1],rs2.arrowColor[3],rs2.arrowColor[2],rs2.arrowColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],rs1.arrowColor[3],rs1.arrowColor[2],rs1.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (2010): * Single equations (assignments): 1983 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,93.8%) 8,(8,76.6%) 20,(1,100.0%) 3,(1,100.0%) 9,(4,87.5%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004275/3.06, allocations: 0.9243 MB / 1.224 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00211/3.062, allocations: 0.8217 MB / 1.225 GB, free: 111.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06144/3.124, allocations: 26.16 MB / 1.251 GB, free: 111.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05811/3.182, allocations: 24.48 MB / 1.274 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.244e-05/3.182, allocations: 18.72 kB / 1.274 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001467/3.182, allocations: 31.8 kB / 1.274 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1144/3.296, allocations: 54.76 MB / 1.328 GB, free: 80.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.822e-05/3.296, allocations: 4 kB / 1.328 GB, free: 80.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006198/3.303, allocations: 0.9382 MB / 1.329 GB, free: 79.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04691/3.35, allocations: 12.86 MB / 1.341 GB, free: 66.66 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002005/3.352, allocations: 89.61 kB / 1.342 GB, free: 66.57 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3298/3.682, allocations: 53.31 MB / 1.394 GB, free: 109.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02802/3.71, allocations: 20.07 MB / 1.413 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07469/3.784, allocations: 38.31 MB / 1.451 GB, free: 90.18 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007255/3.792, allocations: 2.419 MB / 1.453 GB, free: 89.41 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003687/3.795, allocations: 42.69 kB / 1.453 GB, free: 89.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009002/3.804, allocations: 484.2 kB / 1.453 GB, free: 89.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001875/3.806, allocations: 293.2 kB / 1.454 GB, free: 89.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001333/3.808, allocations: 182.2 kB / 1.454 GB, free: 89.33 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.01234/3.82, allocations: 5.009 MB / 1.459 GB, free: 87.53 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0243/3.844, allocations: 4.038 MB / 1.463 GB, free: 87.53 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 30 ($STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[6],$STATESET3.x[5],$STATESET3.x[4],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[5],$STATESET2.x[4],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyBox1.body.w_a[1],bodyBox1.body.w_a[2],bodyBox1.body.w_a[3],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 (435): * Single equations (assignments): 420 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(3,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {3,8} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 6,(4,87.5%) 6,(1,100.0%) 4,(4,93.8%) 8,(8,76.6%) 20,(7,93.9%) 12} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001526/3.846, allocations: 199.5 kB / 1.463 GB, free: 87.44 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03832/3.884, allocations: 22.64 MB / 1.485 GB, free: 74.31 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/3.884, allocations: 4 kB / 1.485 GB, free: 74.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01858/3.903, allocations: 10.61 MB / 1.495 GB, free: 64.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009426/3.912, allocations: 1.037 MB / 1.496 GB, free: 63.95 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3593/4.272, allocations: 31.21 MB / 1.527 GB, free: 104.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02916/4.301, allocations: 10.18 MB / 1.537 GB, free: 103.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.753e-06/4.301, allocations: 0 / 1.537 GB, free: 103.3 MB / 490.7 MB Notification: Performance of Templates: time 0.6154/4.916, allocations: 163.8 MB / 1.697 GB, free: 99.23 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe 2>&1)