Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical.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.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical") translateModel(ModelicaTest.MultiBody.Joints.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.00384/0.00384, allocations: 182 kB / 7.455 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.255/1.255, allocations: 194.2 MB / 202.1 MB, free: 8.734 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.001742/0.001742, allocations: 121.3 kB / 247.1 MB, free: 6.352 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.1709/0.1709, allocations: 39.94 MB / 331.9 MB, free: 4.906 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.485e-06/8.495e-06, allocations: 0 / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1039, allocations: 54.88 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3693/0.4732, allocations: 114.4 MB / 0.5489 GB, free: 2.277 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.4735, allocations: 73.2 kB / 0.5489 GB, free: 2.242 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.7681/1.242, allocations: 220.8 MB / 0.7646 GB, free: 73.79 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.001608/1.243, allocations: 280.1 kB / 0.7648 GB, free: 73.77 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4698 * Number of variables: 4698 Notification: Performance of Generate backend data structure: time 0.06855/1.312, allocations: 14.13 MB / 0.7786 GB, free: 63.89 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.707e-05/1.312, allocations: 12.02 kB / 0.7786 GB, free: 63.88 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04277/1.355, allocations: 10.09 MB / 0.7885 GB, free: 53.76 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03875/1.394, allocations: 14.04 MB / 0.8022 GB, free: 39.76 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00105/1.395, allocations: 476 kB / 0.8026 GB, free: 39.3 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007085/1.402, allocations: 0.8512 MB / 0.8035 GB, free: 38.45 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04387/1.446, allocations: 19.87 MB / 0.8229 GB, free: 18.57 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07323/1.519, allocations: 28.36 MB / 0.8506 GB, free: 4.016 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001233/1.52, allocations: 142.7 kB / 0.8507 GB, free: 3.875 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006897/1.527, allocations: 64 kB / 0.8508 GB, free: 3.812 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00419/1.531, allocations: 2.694 MB / 0.8534 GB, free: 1.125 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3638/1.895, allocations: 128.2 MB / 0.9786 GB, free: 48.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01006/1.905, allocations: 8.453 MB / 0.9869 GB, free: 44.71 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008123/1.913, allocations: 7.172 MB / 0.9939 GB, free: 41.54 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04831/1.962, allocations: 32.09 MB / 1.025 GB, free: 24.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.893e-05/1.962, allocations: 81.09 kB / 1.025 GB, free: 24.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=424): time 6.953e-06/1.962, allocations: 0 / 1.025 GB, free: 24.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=554): time 0.4617/2.424, allocations: 90.67 MB / 1.114 GB, free: 116.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/2.424, allocations: 339.7 kB / 1.114 GB, free: 116.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0179/2.442, allocations: 7.503 MB / 1.121 GB, free: 115.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001675/2.443, allocations: 25.7 kB / 1.122 GB, free: 115.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005829/2.449, allocations: 8.37 MB / 1.13 GB, free: 110 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003375/2.453, allocations: 2.079 MB / 1.132 GB, free: 108.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002565/2.455, allocations: 0 / 1.132 GB, free: 108.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00193/2.457, allocations: 1.003 MB / 1.133 GB, free: 108.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01388/2.471, allocations: 9.218 MB / 1.142 GB, free: 105.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0213/2.492, allocations: 18.65 MB / 1.16 GB, free: 89.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01841/2.511, allocations: 12.89 MB / 1.173 GB, free: 84.49 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004147/2.511, allocations: 97.69 kB / 1.173 GB, free: 84.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=2136) (initialization): time 0.07246/2.584, allocations: 33.02 MB / 1.205 GB, free: 58.99 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/2.584, allocations: 5.594 kB / 1.205 GB, free: 58.99 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2892/2.873, allocations: 22.23 MB / 1.227 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03147/2.905, allocations: 8.849 MB / 1.235 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01593/2.92, allocations: 3.852 MB / 1.239 GB, free: 102.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04462/2.965, allocations: 42.03 MB / 1.28 GB, free: 89.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02007/2.985, allocations: 0.9988 MB / 1.281 GB, free: 89.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005067/2.99, allocations: 1.005 MB / 1.282 GB, free: 89.53 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 (2001): * Single equations (assignments): 1974 * 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,4,4,4} * 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.006456/2.997, allocations: 0.9288 MB / 1.283 GB, free: 89.26 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002432/2.999, allocations: 0.8197 MB / 1.284 GB, free: 89.26 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06191/3.061, allocations: 26.16 MB / 1.309 GB, free: 83.44 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0569/3.118, allocations: 24.48 MB / 1.333 GB, free: 76.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.419e-05/3.118, allocations: 25.61 kB / 1.333 GB, free: 76.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000179/3.118, allocations: 23.44 kB / 1.333 GB, free: 76.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2953/3.414, allocations: 54.78 MB / 1.387 GB, free: 95.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-05/3.414, allocations: 5.766 kB / 1.387 GB, free: 95.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005657/3.42, allocations: 0.9367 MB / 1.388 GB, free: 95.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04575/3.465, allocations: 12.86 MB / 1.4 GB, free: 95.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001611/3.467, allocations: 94.5 kB / 1.4 GB, free: 95.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06437/3.531, allocations: 53.3 MB / 1.452 GB, free: 83.64 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02583/3.557, allocations: 20.07 MB / 1.472 GB, free: 72.7 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.07342/3.631, allocations: 38.31 MB / 1.509 GB, free: 59.73 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007167/3.638, allocations: 2.413 MB / 1.512 GB, free: 58.97 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003773/3.642, allocations: 40.33 kB / 1.512 GB, free: 58.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009089/3.651, allocations: 485.2 kB / 1.512 GB, free: 58.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001756/3.653, allocations: 297.9 kB / 1.512 GB, free: 58.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00082/3.653, allocations: 181.3 kB / 1.513 GB, free: 58.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.009862/3.663, allocations: 5.009 MB / 1.518 GB, free: 54.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.02014/3.683, allocations: 4.057 MB / 1.521 GB, free: 50.4 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.001764/3.685, allocations: 198.9 kB / 1.522 GB, free: 50.26 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03445/3.72, allocations: 23.01 MB / 1.544 GB, free: 29.99 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/3.72, allocations: 1.641 kB / 1.544 GB, free: 29.99 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2503/3.97, allocations: 10.64 MB / 1.555 GB, free: 96.52 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007968/3.978, allocations: 1.025 MB / 1.556 GB, free: 96.48 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07635/4.055, allocations: 31.23 MB / 1.586 GB, free: 91.62 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02346/4.078, allocations: 10.17 MB / 1.596 GB, free: 90.58 MB / 490.7 MB Notification: Performance of SimCode: time 1.704e-06/4.078, allocations: 2.312 kB / 1.596 GB, free: 90.58 MB / 490.7 MB Notification: Performance of Templates: time 0.4542/4.532, allocations: 165.7 MB / 1.758 GB, free: 94.42 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.UniversalSpherical.pipe 2>&1)