Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.004481/0.004481, allocations: 173.4 kB / 7.447 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.23/1.23, allocations: 170.6 MB / 178.4 MB, free: 15.4 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.00173/0.00173, allocations: 111.9 kB / 217.7 MB, free: 8.16 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.1582/0.1582, allocations: 37.97 MB / 294.8 MB, free: 9.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.63e-06/5.721e-06, allocations: 1.531 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09395/0.09397, allocations: 48.7 MB / 398.2 MB, free: 5.695 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3249/0.4189, allocations: 98.19 MB / 496.4 MB, free: 13.7 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.4192, allocations: 78.59 kB / 496.5 MB, free: 13.68 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.3649/0.7841, allocations: 131 MB / 0.6128 GB, free: 4.793 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005791/0.7848, allocations: 135.9 kB / 0.6129 GB, free: 4.66 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: 2297 * Number of variables: 2297 Notification: Performance of Generate backend data structure: time 0.1915/0.9763, allocations: 6.888 MB / 0.6196 GB, free: 105.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.9764, allocations: 15.75 kB / 0.6196 GB, free: 105.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02901/1.005, allocations: 6.986 MB / 0.6265 GB, free: 105 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0225/1.028, allocations: 9.843 MB / 0.6361 GB, free: 104.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003711/1.028, allocations: 211.8 kB / 0.6363 GB, free: 104.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002914/1.031, allocations: 395.8 kB / 0.6366 GB, free: 104.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02048/1.052, allocations: 10.07 MB / 0.6465 GB, free: 104.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02897/1.081, allocations: 14.6 MB / 0.6607 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003094/1.081, allocations: 102.6 kB / 0.6608 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001129/1.082, allocations: 49.78 kB / 0.6609 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001973/1.084, allocations: 1.696 MB / 0.6625 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08821/1.173, allocations: 75.89 MB / 0.7366 GB, free: 50.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006814/1.179, allocations: 5.345 MB / 0.7419 GB, free: 47.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005526/1.185, allocations: 4.339 MB / 0.7461 GB, free: 45.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02437/1.209, allocations: 14.34 MB / 0.7601 GB, free: 32.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.388e-05/1.21, allocations: 65.81 kB / 0.7602 GB, free: 32.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=286): time 7.113e-06/1.21, allocations: 0 / 0.7602 GB, free: 32.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=367): time 0.2681/1.478, allocations: 41.24 MB / 0.8004 GB, free: 101.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.58e-05/1.478, allocations: 274.1 kB / 0.8007 GB, free: 100.8 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00824/1.486, allocations: 4.732 MB / 0.8053 GB, free: 100.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001/1.487, allocations: 28.52 kB / 0.8054 GB, free: 100.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002648/1.49, allocations: 4.307 MB / 0.8096 GB, free: 99.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001841/1.492, allocations: 1.313 MB / 0.8108 GB, free: 98.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007629/1.492, allocations: 2.719 kB / 0.8108 GB, free: 98.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000432/1.493, allocations: 0.699 MB / 0.8115 GB, free: 98.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0051/1.498, allocations: 3.707 MB / 0.8151 GB, free: 98.09 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009109/1.507, allocations: 9.038 MB / 0.824 GB, free: 91.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01154/1.519, allocations: 6.034 MB / 0.8299 GB, free: 91.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002228/1.519, allocations: 58.27 kB / 0.8299 GB, free: 91.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.03744/1.556, allocations: 15.71 MB / 0.8453 GB, free: 90.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/1.556, allocations: 10.69 kB / 0.8453 GB, free: 90.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004303/1.557, allocations: 186.8 kB / 0.8454 GB, free: 90.53 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01346/1.57, allocations: 3.858 MB / 0.8492 GB, free: 90.49 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007654/1.578, allocations: 2.079 MB / 0.8512 GB, free: 90.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03233/1.61, allocations: 20.76 MB / 0.8715 GB, free: 85.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008732/1.619, allocations: 332.4 kB / 0.8718 GB, free: 85.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002222/1.621, allocations: 0.5616 MB / 0.8724 GB, free: 84.94 MB / 426.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.003275/1.625, allocations: 0.5864 MB / 0.873 GB, free: 84.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001816/1.626, allocations: 0.5406 MB / 0.8735 GB, free: 84.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02483/1.651, allocations: 9.75 MB / 0.883 GB, free: 81.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001117/1.651, allocations: 38.38 kB / 0.883 GB, free: 81.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.177e-05/1.652, allocations: 17.75 kB / 0.8831 GB, free: 81.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.038e-05/1.652, allocations: 17.77 kB / 0.8831 GB, free: 81.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04367/1.695, allocations: 18.15 MB / 0.9008 GB, free: 74.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.384e-05/1.695, allocations: 0 / 0.9008 GB, free: 74.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00295/1.698, allocations: 487.8 kB / 0.9013 GB, free: 73.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.012/1.71, allocations: 3.414 MB / 0.9046 GB, free: 71.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006602/1.711, allocations: 14.8 kB / 0.9046 GB, free: 71.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02774/1.739, allocations: 18.4 MB / 0.9226 GB, free: 55.75 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/1.739, allocations: 0 / 0.9226 GB, free: 55.75 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02985/1.769, allocations: 14.47 MB / 0.9367 GB, free: 43.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003682/1.772, allocations: 1.091 MB / 0.9378 GB, free: 42.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001908/1.774, allocations: 7.938 kB / 0.9378 GB, free: 42.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004105/1.779, allocations: 118.8 kB / 0.9379 GB, free: 42.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00076/1.779, allocations: 165.1 kB / 0.9381 GB, free: 42.42 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005305/1.78, allocations: 103.8 kB / 0.9382 GB, free: 42.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.1532/1.933, allocations: 3.197 MB / 0.9413 GB, free: 92.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01172/1.945, allocations: 1.582 MB / 0.9428 GB, free: 92.96 MB / 426.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.001324/1.946, allocations: 183.9 kB / 0.943 GB, free: 92.87 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0143/1.961, allocations: 9.238 MB / 0.952 GB, free: 92.58 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.124e-06/1.961, allocations: 0 / 0.952 GB, free: 92.58 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005403/1.966, allocations: 3.594 MB / 0.9555 GB, free: 92.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003617/1.97, allocations: 0.5649 MB / 0.9561 GB, free: 92.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03036/2, allocations: 13.39 MB / 0.9692 GB, free: 90.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009138/2.009, allocations: 5.377 MB / 0.9744 GB, free: 89.19 MB / 426.7 MB Notification: Performance of SimCode: time 9.52e-07/2.009, allocations: 0 / 0.9744 GB, free: 89.19 MB / 426.7 MB Notification: Performance of Templates: time 0.132/2.141, allocations: 77.24 MB / 1.05 GB, free: 63.49 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1)