Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [: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.005538/0.005538, allocations: 178.6 kB / 7.451 MB, free: 2.512 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.39/1.39, allocations: 170.6 MB / 178.4 MB, free: 15.39 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.001988/0.001988, allocations: 108.5 kB / 217.7 MB, free: 8.152 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.1576/0.1576, allocations: 37.97 MB / 294.8 MB, free: 9.605 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.286e-06/8.316e-06, allocations: 2.656 kB / 349.5 MB, free: 37.11 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09681/0.09683, allocations: 48.71 MB / 398.2 MB, free: 5.672 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2598/0.3567, allocations: 92.64 MB / 490.8 MB, free: 13.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.357, allocations: 75.41 kB / 490.9 MB, free: 13.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.1778/0.5348, allocations: 69.44 MB / 0.5472 GB, free: 5.559 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001931/0.535, allocations: 75.94 kB / 0.5473 GB, free: 5.484 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01029/0.5453, allocations: 3.322 MB / 0.5505 GB, free: 2.109 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.5454, allocations: 8.031 kB / 0.5506 GB, free: 2.102 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009261/0.5547, allocations: 1.695 MB / 0.5522 GB, free: 408 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01315/0.5679, allocations: 4.115 MB / 0.5562 GB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000228/0.5681, allocations: 116 kB / 0.5563 GB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00201/0.5702, allocations: 199.9 kB / 0.5565 GB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01055/0.5807, allocations: 5.19 MB / 0.5616 GB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01603/0.5968, allocations: 8.088 MB / 0.5695 GB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000168/0.597, allocations: 59.47 kB / 0.5695 GB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006435/0.5977, allocations: 32 kB / 0.5696 GB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001255/0.5989, allocations: 0.9142 MB / 0.5705 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04796/0.6469, allocations: 41.61 MB / 0.6111 GB, free: 1.918 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1421/0.7891, allocations: 2.542 MB / 0.6136 GB, free: 143.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001719/0.7908, allocations: 1.533 MB / 0.6151 GB, free: 143.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006829/0.7977, allocations: 5.138 MB / 0.6201 GB, free: 141.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.7977, allocations: 54.22 kB / 0.6202 GB, free: 141.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=114): time 3.066e-06/0.7978, allocations: 0 / 0.6202 GB, free: 141.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=123): time 0.0186/0.8164, allocations: 10.63 MB / 0.6305 GB, free: 139.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.8164, allocations: 164.8 kB / 0.6307 GB, free: 139.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003586/0.82, allocations: 2.833 MB / 0.6335 GB, free: 138.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001227/0.8202, allocations: 29.41 kB / 0.6335 GB, free: 138.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001011/0.8212, allocations: 2.617 MB / 0.6361 GB, free: 137.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003452/0.8215, allocations: 0.4894 MB / 0.6365 GB, free: 137 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.8217, allocations: 3.812 kB / 0.6365 GB, free: 137 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002418/0.822, allocations: 0.5331 MB / 0.6371 GB, free: 136.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/0.8238, allocations: 1.627 MB / 0.6386 GB, free: 136.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00294/0.8267, allocations: 5.124 MB / 0.6436 GB, free: 132 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003102/0.8299, allocations: 2.897 MB / 0.6465 GB, free: 132 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.275e-05/0.8299, allocations: 38.56 kB / 0.6465 GB, free: 132 MB / 426.7 MB Notification: Performance of matching and sorting (n=709) (initialization): time 0.008163/0.8381, allocations: 6.013 MB / 0.6524 GB, free: 131.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.8381, allocations: 7.938 kB / 0.6524 GB, free: 131.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.561e-05/0.8382, allocations: 126.1 kB / 0.6525 GB, free: 131.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005287/0.8388, allocations: 340.9 kB / 0.6528 GB, free: 131.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003583/0.8424, allocations: 1.29 MB / 0.6541 GB, free: 131.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/0.8442, allocations: 2.22 MB / 0.6563 GB, free: 129.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003186/0.8474, allocations: 176.5 kB / 0.6564 GB, free: 129.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003605/0.8478, allocations: 345.9 kB / 0.6568 GB, free: 129.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[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 (681): * Single equations (assignments): 677 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004975/0.8483, allocations: 410.3 kB / 0.6572 GB, free: 129.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003406/0.8486, allocations: 278.9 kB / 0.6574 GB, free: 129.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003968/0.8526, allocations: 2.183 MB / 0.6596 GB, free: 128.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.981e-05/0.8527, allocations: 14.31 kB / 0.6596 GB, free: 128.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.688e-06/0.8527, allocations: 3.688 kB / 0.6596 GB, free: 128.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.8527, allocations: 11.53 kB / 0.6596 GB, free: 128.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009018/0.8617, allocations: 5.187 MB / 0.6646 GB, free: 126.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.8617, allocations: 3.812 kB / 0.6646 GB, free: 126.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008348/0.8626, allocations: 160.3 kB / 0.6648 GB, free: 126.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001993/0.8646, allocations: 0.6463 MB / 0.6654 GB, free: 126.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-05/0.8647, allocations: 7.875 kB / 0.6654 GB, free: 126.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005323/0.87, allocations: 4.201 MB / 0.6695 GB, free: 124.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.87, allocations: 5 kB / 0.6695 GB, free: 124 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005758/0.8758, allocations: 4.297 MB / 0.6737 GB, free: 122.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/0.8768, allocations: 0.4904 MB / 0.6742 GB, free: 121.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003648/0.8772, allocations: 11.75 kB / 0.6742 GB, free: 121.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.8783, allocations: 40.23 kB / 0.6743 GB, free: 121.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.8785, allocations: 49.16 kB / 0.6743 GB, free: 121.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.458e-05/0.8786, allocations: 40.83 kB / 0.6744 GB, free: 121.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.002659/0.8812, allocations: 1.892 MB / 0.6762 GB, free: 121.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003895/0.8851, allocations: 0.6893 MB / 0.6769 GB, free: 121.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (91): * Single equations (assignments): 87 * 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.0003074/0.8855, allocations: 136.5 kB / 0.677 GB, free: 121.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004462/0.8899, allocations: 3.827 MB / 0.6807 GB, free: 119.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.89, allocations: 0 / 0.6807 GB, free: 119.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.8912, allocations: 1.056 MB / 0.6818 GB, free: 119.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/0.8931, allocations: 287.7 kB / 0.6821 GB, free: 119.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.904, allocations: 5.883 MB / 0.6878 GB, free: 115 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003268/0.9073, allocations: 3.072 MB / 0.6908 GB, free: 112.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.683e-06/0.9074, allocations: 0 / 0.6908 GB, free: 112.6 MB / 426.7 MB Notification: Performance of Templates: time 0.05184/0.9592, allocations: 28.04 MB / 0.7182 GB, free: 95.67 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1)