Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.LineForceWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass") [: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.003481/0.003481, allocations: 186.9 kB / 7.457 MB, free: 2.234 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.078/1.078, allocations: 194.2 MB / 202.1 MB, free: 8.719 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.00169/0.00169, allocations: 117.2 kB / 247.1 MB, free: 6.262 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.1485/0.1485, allocations: 39.95 MB / 331.9 MB, free: 4.875 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.181e-06/6.201e-06, allocations: 0 / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08338/0.0834, allocations: 54.87 MB / 447.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2983/0.3818, allocations: 104.1 MB / 0.5388 GB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002128/0.3821, allocations: 72.59 kB / 0.5389 GB, free: 12.37 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.2909/0.673, allocations: 106.8 MB / 0.6432 GB, free: 9.355 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004444/0.6735, allocations: 112 kB / 0.6433 GB, free: 9.246 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1937 * Number of variables: 1937 Notification: Performance of Generate backend data structure: time 0.02235/0.6959, allocations: 5.787 MB / 0.649 GB, free: 3.387 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.6959, allocations: 8.031 kB / 0.649 GB, free: 3.379 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02801/0.7239, allocations: 6.528 MB / 0.6554 GB, free: 12.83 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02231/0.7463, allocations: 7.137 MB / 0.6623 GB, free: 5.605 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003946/0.7467, allocations: 176 kB / 0.6625 GB, free: 5.434 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003136/0.7499, allocations: 323.9 kB / 0.6628 GB, free: 5.117 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2011/0.9511, allocations: 8.361 MB / 0.671 GB, free: 148.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02478/0.9759, allocations: 12.27 MB / 0.6829 GB, free: 145.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002633/0.9762, allocations: 74.16 kB / 0.683 GB, free: 145.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001082/0.9773, allocations: 34.19 kB / 0.6831 GB, free: 145.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001641/0.9789, allocations: 1.446 MB / 0.6845 GB, free: 145.6 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06651/1.045, allocations: 61.86 MB / 0.7449 GB, free: 109.6 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005483/1.051, allocations: 4.22 MB / 0.749 GB, free: 107.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004/1.055, allocations: 3.336 MB / 0.7523 GB, free: 106 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01745/1.073, allocations: 13.18 MB / 0.7651 GB, free: 99.07 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.924e-05/1.073, allocations: 65.88 kB / 0.7652 GB, free: 99.01 MB / 474.7 MB Notification: Performance of pre-optimization done (n=226): time 5.931e-06/1.073, allocations: 2.719 kB / 0.7652 GB, free: 99.01 MB / 474.7 MB Notification: Performance of matching and sorting (n=264): time 0.05268/1.125, allocations: 23.09 MB / 0.7877 GB, free: 85.72 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.785e-05/1.125, allocations: 264 kB / 0.788 GB, free: 85.41 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006094/1.132, allocations: 3.908 MB / 0.7918 GB, free: 82.07 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006883/1.132, allocations: 25.7 kB / 0.7918 GB, free: 82.04 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00193/1.134, allocations: 3.645 MB / 0.7954 GB, free: 78.78 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001605/1.136, allocations: 0.9539 MB / 0.7963 GB, free: 77.92 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003266/1.136, allocations: 0 / 0.7963 GB, free: 77.92 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000367/1.137, allocations: 0.6335 MB / 0.7969 GB, free: 77.38 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003271/1.14, allocations: 2.513 MB / 0.7994 GB, free: 75.12 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00482/1.145, allocations: 6.977 MB / 0.8062 GB, free: 66.51 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005339/1.15, allocations: 4.175 MB / 0.8103 GB, free: 63.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.132e-05/1.15, allocations: 48 kB / 0.8103 GB, free: 63.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=993) (initialization): time 0.01456/1.165, allocations: 8.907 MB / 0.819 GB, free: 55.22 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/1.165, allocations: 4 kB / 0.819 GB, free: 55.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001576/1.165, allocations: 156 kB / 0.8192 GB, free: 55.06 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001234/1.166, allocations: 0.5999 MB / 0.8198 GB, free: 54.54 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005976/1.172, allocations: 1.755 MB / 0.8215 GB, free: 53.01 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005075/1.177, allocations: 5.33 MB / 0.8267 GB, free: 47.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0062/1.184, allocations: 227.2 kB / 0.8269 GB, free: 47.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001431/1.185, allocations: 451.5 kB / 0.8273 GB, free: 47.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 723 * Number of states: 0 () * Number of discrete variables: 54 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[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],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 (943): * Single equations (assignments): 938 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001274/1.186, allocations: 0.5049 MB / 0.8278 GB, free: 46.79 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00138/1.188, allocations: 438.4 kB / 0.8283 GB, free: 46.36 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006442/1.194, allocations: 3.902 MB / 0.8321 GB, free: 43.08 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.128e-05/1.194, allocations: 24 kB / 0.8321 GB, free: 43.05 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/1.194, allocations: 4 kB / 0.8321 GB, free: 43.05 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-05/1.194, allocations: 10.64 kB / 0.8321 GB, free: 43.05 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01642/1.211, allocations: 9.178 MB / 0.8411 GB, free: 35.53 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/1.211, allocations: 0 / 0.8411 GB, free: 35.53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002444/1.213, allocations: 445.6 kB / 0.8415 GB, free: 35.17 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009936/1.214, allocations: 341.8 kB / 0.8418 GB, free: 34.91 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002234/1.214, allocations: 4 kB / 0.8418 GB, free: 34.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004258/1.219, allocations: 4.644 MB / 0.8464 GB, free: 30.39 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/1.219, allocations: 4.062 kB / 0.8464 GB, free: 30.39 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009218/1.228, allocations: 7.151 MB / 0.8533 GB, free: 23.92 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002293/1.23, allocations: 0.7889 MB / 0.8541 GB, free: 23.17 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006279/1.231, allocations: 0 / 0.8541 GB, free: 23.17 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001826/1.233, allocations: 92.86 kB / 0.8542 GB, free: 23.11 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002882/1.233, allocations: 122.7 kB / 0.8543 GB, free: 23.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001867/1.233, allocations: 70.53 kB / 0.8544 GB, free: 22.98 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003989/1.237, allocations: 2.636 MB / 0.857 GB, free: 20.68 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006406/1.244, allocations: 1.097 MB / 0.858 GB, free: 19.59 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 (225): * Single equations (assignments): 220 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005243/1.244, allocations: 157.5 kB / 0.8582 GB, free: 19.45 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008592/1.253, allocations: 6.211 MB / 0.8642 GB, free: 13.78 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/1.253, allocations: 0 / 0.8642 GB, free: 13.78 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002426/1.255, allocations: 2.146 MB / 0.8663 GB, free: 11.79 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002904/1.258, allocations: 446.9 kB / 0.8668 GB, free: 11.41 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.021/1.279, allocations: 10.19 MB / 0.8767 GB, free: 1.395 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2203/1.5, allocations: 4.569 MB / 0.8812 GB, free: 132.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.703e-06/1.5, allocations: 0 / 0.8812 GB, free: 132.5 MB / 474.7 MB Notification: Performance of Templates: time 0.09394/1.594, allocations: 47.91 MB / 0.928 GB, free: 130.4 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1)