Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") [: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.001252/0.001252, allocations: 179.1 kB / 7.452 MB, free: 0.4961 MB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.234/1.234, allocations: 170.6 MB / 178.4 MB, free: 4.129 MB / 142.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001757/0.001757, allocations: 115.9 kB / 217.7 MB, free: 13 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1638/0.1638, allocations: 37.98 MB / 294.8 MB, free: 13.52 MB / 222.1 MB Notification: Performance of FrontEnd - loaded program: time 7.243e-06/7.343e-06, allocations: 0 / 349.5 MB, free: 6.715 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2638, allocations: 48.7 MB / 398.2 MB, free: 16.91 MB / 270.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1311/0.395, allocations: 93.27 MB / 491.5 MB, free: 3.504 MB / 350.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.3953, allocations: 75.95 kB / 491.6 MB, free: 3.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.4739/0.8692, allocations: 126.4 MB / 0.6035 GB, free: 8.113 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004589/0.8697, allocations: 128 kB / 0.6036 GB, free: 7.988 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.02499/0.8947, allocations: 6.321 MB / 0.6098 GB, free: 1.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.8948, allocations: 12.03 kB / 0.6098 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03126/0.9261, allocations: 6.717 MB / 0.6163 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02216/0.9483, allocations: 7.305 MB / 0.6235 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005226/0.9488, allocations: 220 kB / 0.6237 GB, free: 3.254 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004005/0.9529, allocations: 395.8 kB / 0.6241 GB, free: 2.867 MB / 398.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02251/0.9754, allocations: 9.91 MB / 0.6337 GB, free: 8.949 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1984/1.174, allocations: 14.41 MB / 0.6478 GB, free: 92.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003084/1.174, allocations: 71.56 kB / 0.6479 GB, free: 92.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001605/1.176, allocations: 37.09 kB / 0.6479 GB, free: 92.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001879/1.178, allocations: 1.684 MB / 0.6496 GB, free: 92.63 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07608/1.254, allocations: 65.1 MB / 0.7131 GB, free: 59.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007471/1.261, allocations: 6.187 MB / 0.7192 GB, free: 58.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005098/1.266, allocations: 4.353 MB / 0.7234 GB, free: 56.74 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01898/1.285, allocations: 11.63 MB / 0.7348 GB, free: 51.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.865e-05/1.286, allocations: 78.28 kB / 0.7349 GB, free: 51.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=306): time 7.584e-06/1.286, allocations: 0 / 0.7349 GB, free: 51.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=349): time 0.06826/1.354, allocations: 25.86 MB / 0.7601 GB, free: 41.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001354/1.354, allocations: 217.2 kB / 0.7603 GB, free: 41.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01232/1.366, allocations: 3.965 MB / 0.7642 GB, free: 39.91 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001159/1.368, allocations: 28.05 kB / 0.7642 GB, free: 39.88 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002935/1.371, allocations: 4.12 MB / 0.7683 GB, free: 36.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002023/1.373, allocations: 1.241 MB / 0.7695 GB, free: 35.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006446/1.373, allocations: 0 / 0.7695 GB, free: 35.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0004795/1.374, allocations: 0.6686 MB / 0.7701 GB, free: 35.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004706/1.379, allocations: 3.557 MB / 0.7736 GB, free: 34.08 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006908/1.385, allocations: 8.213 MB / 0.7816 GB, free: 26.55 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009349/1.395, allocations: 5.376 MB / 0.7869 GB, free: 23.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001862/1.395, allocations: 48 kB / 0.7869 GB, free: 23.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=1111) (initialization): time 0.02931/1.424, allocations: 12.14 MB / 0.7988 GB, free: 12.77 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/1.424, allocations: 8.25 kB / 0.7988 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004399/1.425, allocations: 171.4 kB / 0.7989 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004382/1.429, allocations: 1.591 MB / 0.8005 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008227/1.438, allocations: 1.968 MB / 0.8024 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01521/1.453, allocations: 10.41 MB / 0.8126 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009545/1.462, allocations: 278 kB / 0.8128 GB, free: 44 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005269/1.468, allocations: 0.6851 MB / 0.8135 GB, free: 0 / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 752 * Number of states: 0 () * Number of discrete variables: 48 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1039): * Single equations (assignments): 1034 * 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 {(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.1811/1.649, allocations: 0.517 MB / 0.814 GB, free: 90.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0014/1.65, allocations: 466 kB / 0.8145 GB, free: 90.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/1.662, allocations: 7.143 MB / 0.8214 GB, free: 89.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001054/1.663, allocations: 33.53 kB / 0.8215 GB, free: 89.95 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.583e-05/1.663, allocations: 11.03 kB / 0.8215 GB, free: 89.95 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-05/1.663, allocations: 23.91 kB / 0.8215 GB, free: 89.95 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02933/1.692, allocations: 14.62 MB / 0.8358 GB, free: 89.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.336e-05/1.692, allocations: 3.469 kB / 0.8358 GB, free: 89.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003446/1.696, allocations: 0.5673 MB / 0.8363 GB, free: 89.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003581/1.699, allocations: 1.315 MB / 0.8376 GB, free: 89.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006004/1.7, allocations: 18.17 kB / 0.8376 GB, free: 89.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01234/1.712, allocations: 9.638 MB / 0.847 GB, free: 86.85 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/1.712, allocations: 1.875 kB / 0.8471 GB, free: 86.85 MB / 414.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01719/1.729, allocations: 11.86 MB / 0.8586 GB, free: 86.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003687/1.733, allocations: 1.03 MB / 0.8596 GB, free: 86.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001175/1.734, allocations: 6.656 kB / 0.8596 GB, free: 86.13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002727/1.737, allocations: 141.6 kB / 0.8598 GB, free: 86.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004342/1.737, allocations: 161.3 kB / 0.8599 GB, free: 86.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002997/1.738, allocations: 86.45 kB / 0.86 GB, free: 86.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 0.004834/1.743, allocations: 2.667 MB / 0.8626 GB, free: 85.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.009601/1.752, allocations: 1.379 MB / 0.864 GB, free: 85.95 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (295): * Single equations (assignments): 290 * 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 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007041/1.753, allocations: 157.3 kB / 0.8641 GB, free: 85.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01435/1.767, allocations: 8.85 MB / 0.8728 GB, free: 83.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/1.767, allocations: 3.906 kB / 0.8728 GB, free: 83.31 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005925/1.773, allocations: 3.637 MB / 0.8763 GB, free: 81.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004135/1.777, allocations: 465 kB / 0.8768 GB, free: 81.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0305/1.808, allocations: 13 MB / 0.8895 GB, free: 77.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008422/1.816, allocations: 5.315 MB / 0.8946 GB, free: 75.73 MB / 414.1 MB Notification: Performance of SimCode: time 1.934e-06/1.817, allocations: 0 / 0.8946 GB, free: 75.73 MB / 414.1 MB Notification: Performance of Templates: time 0.2864/2.103, allocations: 63.09 MB / 0.9563 GB, free: 87.13 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1)