Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.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.JointUSP2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2") [: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.003465/0.003465, allocations: 186.9 kB / 7.461 MB, free: 2.219 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.239/1.239, allocations: 194.2 MB / 202.1 MB, free: 8.66 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.00165/0.00165, allocations: 115.4 kB / 247.1 MB, free: 6.375 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.1853/0.1853, allocations: 39.94 MB / 331.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.588e-06/9.688e-06, allocations: 4 kB / 392.8 MB, free: 75.89 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1096, allocations: 54.88 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3539/0.4636, allocations: 107.6 MB / 0.5422 GB, free: 8.934 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.4639, allocations: 75.5 kB / 0.5423 GB, free: 8.898 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.3197/0.7836, allocations: 119 MB / 0.6585 GB, free: 9.562 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004379/0.7841, allocations: 112 kB / 0.6586 GB, free: 9.453 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: 1929 * Number of variables: 1929 Notification: Performance of Generate backend data structure: time 0.01978/0.8039, allocations: 5.552 MB / 0.664 GB, free: 3.832 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.804, allocations: 12.03 kB / 0.6641 GB, free: 3.82 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1918/0.9957, allocations: 4.299 MB / 0.6683 GB, free: 148.6 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01554/1.011, allocations: 6.679 MB / 0.6748 GB, free: 148.3 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003633/1.012, allocations: 264.3 kB / 0.675 GB, free: 148.2 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002287/1.014, allocations: 329 kB / 0.6753 GB, free: 148.2 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01388/1.028, allocations: 8.721 MB / 0.6839 GB, free: 148.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02354/1.052, allocations: 12.29 MB / 0.6959 GB, free: 145.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002466/1.052, allocations: 66.31 kB / 0.6959 GB, free: 145.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001171/1.053, allocations: 33.44 kB / 0.696 GB, free: 145.2 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001564/1.055, allocations: 1.376 MB / 0.6973 GB, free: 145.1 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05858/1.113, allocations: 58.74 MB / 0.7547 GB, free: 107.8 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004886/1.118, allocations: 3.875 MB / 0.7584 GB, free: 105.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003483/1.122, allocations: 2.926 MB / 0.7613 GB, free: 104.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01866/1.14, allocations: 12.6 MB / 0.7736 GB, free: 97.28 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/1.14, allocations: 56.72 kB / 0.7737 GB, free: 97.23 MB / 474.7 MB Notification: Performance of pre-optimization done (n=191): time 4.779e-06/1.14, allocations: 0 / 0.7737 GB, free: 97.23 MB / 474.7 MB Notification: Performance of matching and sorting (n=242): time 0.0755/1.216, allocations: 30.68 MB / 0.8036 GB, free: 72.64 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/1.216, allocations: 235.3 kB / 0.8038 GB, free: 72.36 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005436/1.221, allocations: 3.703 MB / 0.8075 GB, free: 69.09 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005299/1.222, allocations: 25.7 kB / 0.8075 GB, free: 69.06 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001406/1.223, allocations: 3.655 MB / 0.8111 GB, free: 65.77 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008096/1.224, allocations: 0.8891 MB / 0.8119 GB, free: 64.97 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003134/1.225, allocations: 0 / 0.8119 GB, free: 64.97 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002917/1.225, allocations: 0.6185 MB / 0.8125 GB, free: 64.44 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003319/1.228, allocations: 3.15 MB / 0.8156 GB, free: 61.59 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004617/1.233, allocations: 7.533 MB / 0.823 GB, free: 52.36 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005195/1.238, allocations: 4.816 MB / 0.8277 GB, free: 48.25 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-05/1.238, allocations: 44 kB / 0.8277 GB, free: 48.21 MB / 474.7 MB Notification: Performance of matching and sorting (n=965) (initialization): time 0.02379/1.262, allocations: 12.69 MB / 0.8401 GB, free: 37.65 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/1.262, allocations: 4.75 kB / 0.8401 GB, free: 37.65 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001557/1.262, allocations: 156 kB / 0.8402 GB, free: 37.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01132/1.273, allocations: 3.585 MB / 0.8438 GB, free: 34.92 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005688/1.279, allocations: 1.635 MB / 0.8453 GB, free: 33.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02089/1.3, allocations: 16.08 MB / 0.861 GB, free: 18.26 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007691/1.308, allocations: 287.5 kB / 0.8613 GB, free: 17.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001766/1.31, allocations: 444 kB / 0.8617 GB, free: 17.54 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 713 * Number of states: 0 () * Number of discrete variables: 34 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.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 (882): * Single equations (assignments): 878 * 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%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002293/1.312, allocations: 497 kB / 0.8622 GB, free: 17.05 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001137/1.313, allocations: 402.8 kB / 0.8626 GB, free: 16.65 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01636/1.329, allocations: 7.754 MB / 0.8702 GB, free: 8.895 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.48e-05/1.33, allocations: 27.91 kB / 0.8702 GB, free: 8.867 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.319e-05/1.33, allocations: 12 kB / 0.8702 GB, free: 8.855 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-05/1.33, allocations: 15.95 kB / 0.8702 GB, free: 8.84 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2212/1.551, allocations: 15.95 MB / 0.8858 GB, free: 134 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.143e-05/1.551, allocations: 3.969 kB / 0.8858 GB, free: 134 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002186/1.553, allocations: 347.2 kB / 0.8861 GB, free: 134 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01153/1.565, allocations: 3.501 MB / 0.8896 GB, free: 134 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006058/1.565, allocations: 13.62 kB / 0.8896 GB, free: 134 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0192/1.585, allocations: 14.68 MB / 0.9039 GB, free: 132.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/1.585, allocations: 2.719 kB / 0.9039 GB, free: 132.8 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02122/1.606, allocations: 12.24 MB / 0.9159 GB, free: 132.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00235/1.608, allocations: 0.8976 MB / 0.9167 GB, free: 132 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007748/1.609, allocations: 3.875 kB / 0.9167 GB, free: 132 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002204/1.611, allocations: 113.4 kB / 0.9168 GB, free: 132 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003482/1.612, allocations: 109.7 kB / 0.917 GB, free: 132 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002203/1.612, allocations: 65.47 kB / 0.917 GB, free: 132 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003485/1.615, allocations: 2.488 MB / 0.9194 GB, free: 131.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00627/1.622, allocations: 1.246 MB / 0.9207 GB, free: 131.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 163 * 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%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005788/1.622, allocations: 171.6 kB / 0.9208 GB, free: 131.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009212/1.631, allocations: 7.506 MB / 0.9282 GB, free: 130.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.632, allocations: 0 / 0.9282 GB, free: 130.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003321/1.635, allocations: 2.806 MB / 0.9309 GB, free: 129.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002326/1.637, allocations: 401 kB / 0.9313 GB, free: 128.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0207/1.658, allocations: 10.74 MB / 0.9418 GB, free: 125.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006786/1.665, allocations: 4.494 MB / 0.9462 GB, free: 123.7 MB / 474.7 MB Notification: Performance of SimCode: time 6.41e-07/1.665, allocations: 0 / 0.9462 GB, free: 123.7 MB / 474.7 MB Notification: Performance of Templates: time 0.09323/1.758, allocations: 59.73 MB / 1.004 GB, free: 83.35 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1)