Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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.DifferentiationOfForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [: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.006762/0.006762, allocations: 175.2 kB / 7.451 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.143/1.143, allocations: 170.6 MB / 178.4 MB, free: 15.47 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.001752/0.001752, allocations: 109.1 kB / 217.7 MB, free: 8.242 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.1538/0.1538, allocations: 37.98 MB / 294.8 MB, free: 9.633 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.803e-06/7.153e-06, allocations: 1.469 kB / 349.5 MB, free: 37.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07776/0.07778, allocations: 48.71 MB / 398.2 MB, free: 5.695 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2715/0.3494, allocations: 96.25 MB / 494.5 MB, free: 13.38 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.3497, allocations: 75.38 kB / 494.5 MB, free: 13.38 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.2387/0.5883, allocations: 88.04 MB / 0.5689 GB, free: 388 kB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002789/0.5887, allocations: 84.19 kB / 0.569 GB, free: 304 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01352/0.6022, allocations: 4.129 MB / 0.573 GB, free: 12.11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.6023, allocations: 16.03 kB / 0.573 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01867/0.6209, allocations: 4.077 MB / 0.577 GB, free: 8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01441/0.6354, allocations: 4.793 MB / 0.5817 GB, free: 3.184 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002897/0.6357, allocations: 148 kB / 0.5818 GB, free: 3.039 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002102/0.6379, allocations: 267.9 kB / 0.5821 GB, free: 2.777 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01384/0.6517, allocations: 6.48 MB / 0.5884 GB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0209/0.6727, allocations: 9.878 MB / 0.5981 GB, free: 1.387 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001584/0.6729, allocations: 63.45 kB / 0.5981 GB, free: 1.324 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005645/0.6735, allocations: 28 kB / 0.5982 GB, free: 1.297 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001223/0.6747, allocations: 1.054 MB / 0.5992 GB, free: 248 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1665/0.8412, allocations: 45.42 MB / 0.6435 GB, free: 102.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003069/0.8443, allocations: 2.667 MB / 0.6462 GB, free: 101.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001776/0.8461, allocations: 1.684 MB / 0.6478 GB, free: 101.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007651/0.8538, allocations: 5.462 MB / 0.6531 GB, free: 99.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.8539, allocations: 52.94 kB / 0.6532 GB, free: 99.83 MB / 426.7 MB Notification: Performance of pre-optimization done (n=170): time 5.06e-06/0.8539, allocations: 0 / 0.6532 GB, free: 99.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=188): time 0.01975/0.8736, allocations: 12.13 MB / 0.665 GB, free: 96.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/0.8737, allocations: 203.5 kB / 0.6652 GB, free: 96.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004217/0.878, allocations: 3.014 MB / 0.6682 GB, free: 96.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002298/0.8782, allocations: 29.58 kB / 0.6682 GB, free: 96.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001345/0.8796, allocations: 3.107 MB / 0.6712 GB, free: 94.52 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007201/0.8803, allocations: 0.6977 MB / 0.6719 GB, free: 94.11 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/0.8805, allocations: 0 / 0.6719 GB, free: 94.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002826/0.8808, allocations: 0.5716 MB / 0.6725 GB, free: 93.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002441/0.8833, allocations: 1.98 MB / 0.6744 GB, free: 93.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003783/0.8871, allocations: 5.799 MB / 0.6801 GB, free: 88.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004266/0.8913, allocations: 3.383 MB / 0.6834 GB, free: 88.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.301e-05/0.8915, allocations: 39.16 kB / 0.6834 GB, free: 88.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=812) (initialization): time 0.0121/0.9036, allocations: 7.064 MB / 0.6903 GB, free: 86.26 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.9036, allocations: 3.5 kB / 0.6903 GB, free: 86.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001327/0.9038, allocations: 137.8 kB / 0.6904 GB, free: 86.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007266/0.9045, allocations: 391.3 kB / 0.6908 GB, free: 86.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004683/0.9092, allocations: 1.482 MB / 0.6923 GB, free: 86.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002771/0.912, allocations: 2.831 MB / 0.695 GB, free: 84.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004518/0.9165, allocations: 220.8 kB / 0.6952 GB, free: 84.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008675/0.9174, allocations: 390.2 kB / 0.6956 GB, free: 84.09 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (774): * Single equations (assignments): 770 * 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 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000827/0.9183, allocations: 447.9 kB / 0.696 GB, free: 83.72 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005621/0.9188, allocations: 320.3 kB / 0.6963 GB, free: 83.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00402/0.9228, allocations: 2.57 MB / 0.6988 GB, free: 82.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.037e-05/0.9229, allocations: 17.19 kB / 0.6989 GB, free: 82.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.9229, allocations: 2.656 kB / 0.6989 GB, free: 82.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/0.923, allocations: 8.641 kB / 0.6989 GB, free: 82.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01351/0.9365, allocations: 6.279 MB / 0.705 GB, free: 80.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.314e-05/0.9365, allocations: 7.281 kB / 0.705 GB, free: 80.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001733/0.9383, allocations: 327.5 kB / 0.7053 GB, free: 80.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005394/0.9388, allocations: 179.5 kB / 0.7055 GB, free: 80.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001634/0.939, allocations: 17.91 kB / 0.7055 GB, free: 80.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002309/0.9413, allocations: 2.405 MB / 0.7079 GB, free: 78.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.9414, allocations: 0 / 0.7079 GB, free: 78.66 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006344/0.9477, allocations: 5.106 MB / 0.7128 GB, free: 76.53 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001692/0.9495, allocations: 0.5889 MB / 0.7134 GB, free: 76.17 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006065/0.9501, allocations: 0 / 0.7134 GB, free: 76.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00159/0.9517, allocations: 85.69 kB / 0.7135 GB, free: 76.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002978/0.952, allocations: 100.2 kB / 0.7136 GB, free: 76.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/0.9522, allocations: 52.94 kB / 0.7136 GB, free: 76.14 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.00311/0.9553, allocations: 2.016 MB / 0.7156 GB, free: 75.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004992/0.9603, allocations: 0.8442 MB / 0.7164 GB, free: 75.37 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 154 * 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 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004491/0.9608, allocations: 143.7 kB / 0.7166 GB, free: 75.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006956/0.9677, allocations: 4.737 MB / 0.7212 GB, free: 70.96 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/0.9678, allocations: 4 kB / 0.7212 GB, free: 70.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00175/0.9695, allocations: 1.485 MB / 0.7227 GB, free: 69.61 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.9712, allocations: 298.2 kB / 0.7229 GB, free: 69.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01572/0.987, allocations: 7.699 MB / 0.7305 GB, free: 62.45 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005768/0.9928, allocations: 3.834 MB / 0.7342 GB, free: 59.48 MB / 426.7 MB Notification: Performance of SimCode: time 9.52e-07/0.9928, allocations: 0 / 0.7342 GB, free: 59.48 MB / 426.7 MB Notification: Performance of Templates: time 0.06494/1.058, allocations: 33.93 MB / 0.7673 GB, free: 36.98 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1)