Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") [: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.004619/0.004619, allocations: 181.4 kB / 7.455 MB, free: 2.508 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.207/1.207, allocations: 194.2 MB / 202.1 MB, free: 8.664 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.001696/0.001696, allocations: 123.5 kB / 247.1 MB, free: 6.387 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.1685/0.1685, allocations: 39.95 MB / 331.9 MB, free: 4.961 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.034e-06/7.053e-06, allocations: 4 kB / 392.8 MB, free: 75.92 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09865/0.09867, allocations: 54.87 MB / 447.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3266/0.4253, allocations: 105 MB / 0.5397 GB, free: 11.56 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002251/0.4256, allocations: 76.14 kB / 0.5398 GB, free: 11.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.3385/0.7641, allocations: 131.1 MB / 0.6678 GB, free: 44 kB / 474.7 MB Notification: Performance of Transformations before backend: time 0.1472/0.9114, allocations: 138.4 kB / 0.6679 GB, free: 141.4 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: 2299 * Number of variables: 2299 Notification: Performance of Generate backend data structure: time 0.02249/0.9339, allocations: 6.897 MB / 0.6747 GB, free: 140.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.934, allocations: 7.375 kB / 0.6747 GB, free: 140.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02811/0.9621, allocations: 6.987 MB / 0.6815 GB, free: 140 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02469/0.9869, allocations: 9.846 MB / 0.6911 GB, free: 139.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003254/0.9872, allocations: 205.2 kB / 0.6913 GB, free: 139.2 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003027/0.9903, allocations: 396 kB / 0.6917 GB, free: 139.2 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01665/1.007, allocations: 10.08 MB / 0.7015 GB, free: 139.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02796/1.035, allocations: 14.61 MB / 0.7158 GB, free: 135.3 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000313/1.035, allocations: 102.3 kB / 0.7159 GB, free: 135.3 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001257/1.037, allocations: 45.94 kB / 0.7159 GB, free: 135.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001968/1.039, allocations: 1.697 MB / 0.7176 GB, free: 135.3 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07546/1.114, allocations: 75.91 MB / 0.7917 GB, free: 81.31 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006051/1.12, allocations: 5.341 MB / 0.797 GB, free: 76.28 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004457/1.125, allocations: 4.348 MB / 0.8012 GB, free: 72.28 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01949/1.144, allocations: 14.33 MB / 0.8152 GB, free: 59.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.019e-05/1.144, allocations: 79.27 kB / 0.8153 GB, free: 59.33 MB / 474.7 MB Notification: Performance of pre-optimization done (n=286): time 5.71e-06/1.144, allocations: 0 / 0.8153 GB, free: 59.33 MB / 474.7 MB Notification: Performance of matching and sorting (n=367): time 0.09474/1.239, allocations: 41.21 MB / 0.8555 GB, free: 24.61 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/1.239, allocations: 269.8 kB / 0.8558 GB, free: 24.29 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006222/1.245, allocations: 4.743 MB / 0.8604 GB, free: 19.57 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007387/1.246, allocations: 25.7 kB / 0.8604 GB, free: 19.54 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001749/1.248, allocations: 4.306 MB / 0.8646 GB, free: 15.17 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001607/1.249, allocations: 1.31 MB / 0.8659 GB, free: 13.85 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004197/1.25, allocations: 0 / 0.8659 GB, free: 13.85 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004138/1.25, allocations: 0.7146 MB / 0.8666 GB, free: 13.12 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004387/1.255, allocations: 3.705 MB / 0.8702 GB, free: 9.414 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1694/1.424, allocations: 9.031 MB / 0.879 GB, free: 123.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008994/1.433, allocations: 6.038 MB / 0.8849 GB, free: 123.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001494/1.433, allocations: 56.12 kB / 0.885 GB, free: 123.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.03427/1.468, allocations: 15.71 MB / 0.9003 GB, free: 122.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/1.468, allocations: 10.25 kB / 0.9003 GB, free: 122.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002962/1.468, allocations: 188.4 kB / 0.9005 GB, free: 122.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01329/1.481, allocations: 3.858 MB / 0.9043 GB, free: 122.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007741/1.489, allocations: 2.079 MB / 0.9063 GB, free: 122.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03142/1.52, allocations: 20.74 MB / 0.9266 GB, free: 120 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008853/1.529, allocations: 342.5 kB / 0.9269 GB, free: 120 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002186/1.532, allocations: 0.5591 MB / 0.9275 GB, free: 120 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 861 * Number of states: 0 () * Number of discrete variables: 63 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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 (1116): * Single equations (assignments): 1111 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(4,62.5%) 48} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002049/1.534, allocations: 0.5826 MB / 0.928 GB, free: 119.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001718/1.535, allocations: 0.5399 MB / 0.9285 GB, free: 119.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02187/1.557, allocations: 9.747 MB / 0.9381 GB, free: 119.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.967e-05/1.557, allocations: 38.95 kB / 0.9381 GB, free: 119.5 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.925e-05/1.557, allocations: 16.19 kB / 0.9381 GB, free: 119.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.179e-05/1.558, allocations: 17.14 kB / 0.9381 GB, free: 119.5 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0387/1.596, allocations: 18.16 MB / 0.9559 GB, free: 113.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-05/1.596, allocations: 2.734 kB / 0.9559 GB, free: 113.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003073/1.599, allocations: 483.2 kB / 0.9563 GB, free: 113.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01216/1.612, allocations: 3.409 MB / 0.9597 GB, free: 113.1 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008644/1.613, allocations: 15.12 kB / 0.9597 GB, free: 113.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02689/1.639, allocations: 18.4 MB / 0.9776 GB, free: 98.61 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/1.639, allocations: 0 / 0.9776 GB, free: 98.61 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0273/1.667, allocations: 14.48 MB / 0.9918 GB, free: 86.52 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003806/1.671, allocations: 1.083 MB / 0.9928 GB, free: 85.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001651/1.672, allocations: 0 / 0.9928 GB, free: 85.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003489/1.676, allocations: 123.9 kB / 0.993 GB, free: 85.45 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004748/1.676, allocations: 165.5 kB / 0.9931 GB, free: 85.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003084/1.677, allocations: 107.5 kB / 0.9932 GB, free: 85.25 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.005886/1.683, allocations: 3.204 MB / 0.9963 GB, free: 82.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009785/1.692, allocations: 1.579 MB / 0.9979 GB, free: 80.93 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (266): * Single equations (assignments): 261 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 39,(2,100.0%) 43} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009591/1.693, allocations: 184.9 kB / 0.9981 GB, free: 80.77 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01541/1.709, allocations: 9.231 MB / 1.007 GB, free: 72.37 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/1.709, allocations: 4 kB / 1.007 GB, free: 72.36 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004904/1.714, allocations: 3.593 MB / 1.011 GB, free: 69.09 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003563/1.717, allocations: 0.5716 MB / 1.011 GB, free: 68.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02625/1.744, allocations: 13.39 MB / 1.024 GB, free: 56.69 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007262/1.751, allocations: 5.392 MB / 1.029 GB, free: 52.45 MB / 474.7 MB Notification: Performance of SimCode: time 1.363e-06/1.751, allocations: 0 / 1.029 GB, free: 52.45 MB / 474.7 MB Notification: Performance of Templates: time 0.3189/2.07, allocations: 77.24 MB / 1.105 GB, free: 112.6 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1)