Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.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.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") [: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.002849/0.002849, allocations: 190.1 kB / 7.461 MB, free: 2.5 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.119/1.119, allocations: 194.2 MB / 202.1 MB, free: 8.824 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.001689/0.001689, allocations: 117.9 kB / 247.1 MB, free: 6.258 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.1532/0.1532, allocations: 39.95 MB / 331.9 MB, free: 4.91 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.174e-06/7.184e-06, allocations: 0 / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0879/0.08792, allocations: 54.87 MB / 447.6 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2894/0.3773, allocations: 104.9 MB / 0.5396 GB, free: 11.63 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002224/0.3776, allocations: 74.27 kB / 0.5397 GB, free: 11.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.3547/0.7324, allocations: 131.1 MB / 0.6677 GB, free: 120 kB / 474.7 MB Notification: Performance of Transformations before backend: time 0.2116/0.944, allocations: 137.9 kB / 0.6679 GB, free: 139.1 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: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.02418/0.9683, allocations: 6.879 MB / 0.6746 GB, free: 138.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.9683, allocations: 14.08 kB / 0.6746 GB, free: 138.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02978/0.9981, allocations: 6.991 MB / 0.6814 GB, free: 137.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02575/1.024, allocations: 9.841 MB / 0.691 GB, free: 136.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003798/1.024, allocations: 208.7 kB / 0.6912 GB, free: 136.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003564/1.028, allocations: 399.1 kB / 0.6916 GB, free: 136.8 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01867/1.047, allocations: 10.04 MB / 0.7014 GB, free: 136.8 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02885/1.076, allocations: 14.58 MB / 0.7157 GB, free: 133 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002792/1.076, allocations: 99.83 kB / 0.7158 GB, free: 132.9 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008543/1.077, allocations: 41.75 kB / 0.7158 GB, free: 132.9 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002087/1.079, allocations: 1.696 MB / 0.7175 GB, free: 132.9 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08932/1.168, allocations: 75.83 MB / 0.7915 GB, free: 80.05 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006775/1.175, allocations: 5.314 MB / 0.7967 GB, free: 75.05 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005238/1.18, allocations: 4.276 MB / 0.8009 GB, free: 71.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0254/1.206, allocations: 14.28 MB / 0.8148 GB, free: 58.27 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.139e-05/1.206, allocations: 75.81 kB / 0.8149 GB, free: 58.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=280): time 7.984e-06/1.206, allocations: 3 kB / 0.8149 GB, free: 58.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=360): time 0.1125/1.318, allocations: 39.19 MB / 0.8532 GB, free: 25.77 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.118e-05/1.318, allocations: 273.6 kB / 0.8534 GB, free: 25.45 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007278/1.326, allocations: 4.735 MB / 0.8581 GB, free: 21.16 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009941/1.327, allocations: 25.7 kB / 0.8581 GB, free: 21.13 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001936/1.329, allocations: 4.313 MB / 0.8623 GB, free: 16.75 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001466/1.33, allocations: 1.295 MB / 0.8636 GB, free: 15.44 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003934/1.331, allocations: 0 / 0.8636 GB, free: 15.44 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000359/1.331, allocations: 0.699 MB / 0.8642 GB, free: 14.73 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004395/1.335, allocations: 3.673 MB / 0.8678 GB, free: 11.05 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2064/1.542, allocations: 8.992 MB / 0.8766 GB, free: 123.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009958/1.552, allocations: 6.012 MB / 0.8825 GB, free: 123.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001333/1.552, allocations: 55.31 kB / 0.8825 GB, free: 123.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.03726/1.589, allocations: 15.68 MB / 0.8978 GB, free: 123.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/1.589, allocations: 6.906 kB / 0.8978 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003708/1.59, allocations: 193.2 kB / 0.898 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01415/1.604, allocations: 3.9 MB / 0.9018 GB, free: 123.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00852/1.612, allocations: 2.072 MB / 0.9039 GB, free: 122.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03504/1.647, allocations: 20.78 MB / 0.9242 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008591/1.656, allocations: 334.2 kB / 0.9245 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002387/1.659, allocations: 0.5539 MB / 0.925 GB, free: 120.2 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 (1109): * Single equations (assignments): 1104 * 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.003526/1.662, allocations: 0.5767 MB / 0.9256 GB, free: 119.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002205/1.664, allocations: 0.5384 MB / 0.9261 GB, free: 119.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02421/1.689, allocations: 9.726 MB / 0.9356 GB, free: 119.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.24e-05/1.689, allocations: 35.41 kB / 0.9356 GB, free: 119.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.182e-05/1.689, allocations: 13.88 kB / 0.9357 GB, free: 119.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.159e-05/1.689, allocations: 20.58 kB / 0.9357 GB, free: 119.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04191/1.731, allocations: 18.09 MB / 0.9533 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.194e-05/1.731, allocations: 0 / 0.9533 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003098/1.734, allocations: 474.7 kB / 0.9538 GB, free: 113.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.013/1.747, allocations: 3.461 MB / 0.9572 GB, free: 113.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008655/1.748, allocations: 14.38 kB / 0.9572 GB, free: 113.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02869/1.777, allocations: 18.42 MB / 0.9752 GB, free: 98.91 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.812e-06/1.777, allocations: 4 kB / 0.9752 GB, free: 98.91 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03038/1.807, allocations: 14.41 MB / 0.9892 GB, free: 86.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004129/1.811, allocations: 1.078 MB / 0.9903 GB, free: 85.91 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002205/1.813, allocations: 4 kB / 0.9903 GB, free: 85.91 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004385/1.818, allocations: 135.2 kB / 0.9904 GB, free: 85.83 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009964/1.819, allocations: 166.3 kB / 0.9906 GB, free: 85.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008308/1.82, allocations: 99.73 kB / 0.9907 GB, free: 85.64 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.007176/1.827, allocations: 3.2 MB / 0.9938 GB, free: 82.89 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01199/1.839, allocations: 1.571 MB / 0.9953 GB, free: 81.33 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 (259): * Single equations (assignments): 254 * 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.001645/1.841, allocations: 182.5 kB / 0.9955 GB, free: 81.18 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01498/1.856, allocations: 9.169 MB / 1.004 GB, free: 72.86 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/1.856, allocations: 0 / 1.004 GB, free: 72.86 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006055/1.862, allocations: 3.55 MB / 1.008 GB, free: 69.62 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004708/1.866, allocations: 0.5674 MB / 1.008 GB, free: 69.14 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03229/1.899, allocations: 13.31 MB / 1.021 GB, free: 57.29 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008335/1.907, allocations: 5.38 MB / 1.027 GB, free: 52.99 MB / 474.7 MB Notification: Performance of SimCode: time 1.142e-06/1.907, allocations: 0 / 1.027 GB, free: 52.99 MB / 474.7 MB Notification: Performance of Templates: time 0.3406/2.248, allocations: 77.01 MB / 1.102 GB, free: 112.6 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe 2>&1)