Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2+maint.om/package.mo): time 0.002247/0.002247, allocations: 183.4 kB / 7.459 MB, free: 2.504 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.104/1.104, allocations: 194.2 MB / 202.1 MB, free: 8.723 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.001771/0.001771, allocations: 116.1 kB / 247.1 MB, free: 6.332 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.252/0.252, allocations: 39.95 MB / 331.9 MB, free: 4.898 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.919e-06/9.939e-06, allocations: 4 kB / 392.8 MB, free: 75.9 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1081, allocations: 54.87 MB / 447.6 MB, free: 21.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3744/0.4825, allocations: 99.44 MB / 0.5343 GB, free: 1.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002178/0.4828, allocations: 74.73 kB / 0.5343 GB, free: 1.035 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1942/0.677, allocations: 69.44 MB / 0.6022 GB, free: 3.625 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002587/0.6773, allocations: 68 kB / 0.6022 GB, free: 3.555 MB / 410.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.01019/0.6875, allocations: 3.337 MB / 0.6055 GB, free: 160 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.6876, allocations: 8.031 kB / 0.6055 GB, free: 152 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008655/0.6962, allocations: 1.696 MB / 0.6071 GB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01067/0.7069, allocations: 4.108 MB / 0.6112 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001839/0.7072, allocations: 112 kB / 0.6113 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001377/0.7086, allocations: 196 kB / 0.6114 GB, free: 9.965 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009824/0.7184, allocations: 5.182 MB / 0.6165 GB, free: 4.777 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01223/0.7307, allocations: 8.096 MB / 0.6244 GB, free: 11.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001398/0.7309, allocations: 59.47 kB / 0.6245 GB, free: 11.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004057/0.7313, allocations: 28 kB / 0.6245 GB, free: 11.61 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001393/0.7327, allocations: 0.9264 MB / 0.6254 GB, free: 10.69 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2376/0.9703, allocations: 41.61 MB / 0.666 GB, free: 172.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003233/0.9736, allocations: 2.552 MB / 0.6685 GB, free: 171.4 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/0.9751, allocations: 1.524 MB / 0.67 GB, free: 171.4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006905/0.9821, allocations: 5.142 MB / 0.675 GB, free: 169.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.9821, allocations: 48.53 kB / 0.6751 GB, free: 169.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=114): time 3.446e-06/0.9821, allocations: 0 / 0.6751 GB, free: 169.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=123): time 0.01918/1.001, allocations: 10.64 MB / 0.6855 GB, free: 167.6 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/1.001, allocations: 169.2 kB / 0.6856 GB, free: 167.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00394/1.005, allocations: 2.837 MB / 0.6884 GB, free: 167.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001513/1.006, allocations: 25.7 kB / 0.6884 GB, free: 167.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001222/1.007, allocations: 2.616 MB / 0.691 GB, free: 165.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004158/1.007, allocations: 0.4953 MB / 0.6915 GB, free: 165.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/1.007, allocations: 0 / 0.6915 GB, free: 165.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002525/1.008, allocations: 0.5352 MB / 0.692 GB, free: 165 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001934/1.01, allocations: 1.622 MB / 0.6936 GB, free: 164.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003681/1.013, allocations: 5.122 MB / 0.6986 GB, free: 160.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003403/1.017, allocations: 2.897 MB / 0.7014 GB, free: 160.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-05/1.017, allocations: 39.25 kB / 0.7014 GB, free: 160.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=709) (initialization): time 0.008775/1.025, allocations: 6.018 MB / 0.7073 GB, free: 159.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/1.026, allocations: 3.938 kB / 0.7073 GB, free: 159.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001153/1.026, allocations: 133.2 kB / 0.7074 GB, free: 159.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006144/1.026, allocations: 338.3 kB / 0.7078 GB, free: 159.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003719/1.03, allocations: 1.288 MB / 0.709 GB, free: 159 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/1.032, allocations: 2.224 MB / 0.7112 GB, free: 157.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004231/1.036, allocations: 169.2 kB / 0.7114 GB, free: 157.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008027/1.037, allocations: 344.8 kB / 0.7117 GB, free: 157.4 MB / 474.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.0007948/1.038, allocations: 411.6 kB / 0.7121 GB, free: 157 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006874/1.039, allocations: 282.4 kB / 0.7124 GB, free: 156.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004176/1.043, allocations: 2.193 MB / 0.7145 GB, free: 156.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.481e-05/1.043, allocations: 10.88 kB / 0.7145 GB, free: 156.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-05/1.043, allocations: 7.375 kB / 0.7145 GB, free: 156.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/1.043, allocations: 6.047 kB / 0.7145 GB, free: 156.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01158/1.054, allocations: 5.182 MB / 0.7196 GB, free: 154.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/1.055, allocations: 3.844 kB / 0.7196 GB, free: 154.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00088/1.055, allocations: 164.8 kB / 0.7197 GB, free: 154.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002055/1.057, allocations: 0.6458 MB / 0.7204 GB, free: 154.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/1.058, allocations: 7.984 kB / 0.7204 GB, free: 154.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004912/1.063, allocations: 4.209 MB / 0.7245 GB, free: 151.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.063, allocations: 0 / 0.7245 GB, free: 151.9 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00626/1.069, allocations: 4.306 MB / 0.7287 GB, free: 149.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/1.07, allocations: 0.4928 MB / 0.7292 GB, free: 148.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003436/1.07, allocations: 5.719 kB / 0.7292 GB, free: 148.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/1.072, allocations: 37.97 kB / 0.7292 GB, free: 148.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/1.072, allocations: 50.05 kB / 0.7293 GB, free: 148.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.496e-05/1.072, allocations: 39.02 kB / 0.7293 GB, free: 148.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003032/1.075, allocations: 1.885 MB / 0.7311 GB, free: 147.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005482/1.08, allocations: 0.6996 MB / 0.7318 GB, free: 146.4 MB / 474.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.0004841/1.081, allocations: 145 kB / 0.732 GB, free: 146.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00555/1.086, allocations: 3.824 MB / 0.7357 GB, free: 142.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/1.086, allocations: 4 kB / 0.7357 GB, free: 142.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00122/1.088, allocations: 1.045 MB / 0.7367 GB, free: 141.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001891/1.09, allocations: 286.2 kB / 0.737 GB, free: 141.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01156/1.101, allocations: 5.887 MB / 0.7427 GB, free: 136.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003365/1.105, allocations: 3.069 MB / 0.7457 GB, free: 134 MB / 474.7 MB Notification: Performance of SimCode: time 1.553e-06/1.105, allocations: 0 / 0.7457 GB, free: 134 MB / 474.7 MB Notification: Performance of Templates: time 0.05321/1.158, allocations: 28.04 MB / 0.7731 GB, free: 113.3 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1)