Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.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.Parts.Rotor1D.Beveal1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d") [: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.003548/0.003548, allocations: 182.7 kB / 7.456 MB, free: 2.512 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.172/1.172, allocations: 194.2 MB / 202.1 MB, free: 8.703 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.001686/0.001686, allocations: 120.3 kB / 247.1 MB, free: 6.355 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.1502/0.1502, allocations: 39.94 MB / 331.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.49e-06/5.511e-06, allocations: 0 / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0846/0.08462, allocations: 54.88 MB / 447.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2768/0.3614, allocations: 101.7 MB / 0.5365 GB, free: 14.79 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.3617, allocations: 76.14 kB / 0.5365 GB, free: 14.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.2635/0.6253, allocations: 102.3 MB / 0.6365 GB, free: 332 kB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000361/0.6257, allocations: 112 kB / 0.6366 GB, free: 220 kB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1834 * Number of variables: 1834 Notification: Performance of Generate backend data structure: time 0.01679/0.6425, allocations: 5.216 MB / 0.6417 GB, free: 10.93 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.6425, allocations: 12.02 kB / 0.6417 GB, free: 10.91 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0276/0.6701, allocations: 6.52 MB / 0.6481 GB, free: 4.371 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01989/0.6901, allocations: 6.934 MB / 0.6548 GB, free: 13.38 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003924/0.6905, allocations: 172 kB / 0.655 GB, free: 13.21 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002459/0.693, allocations: 319.8 kB / 0.6553 GB, free: 12.89 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01465/0.7076, allocations: 7.451 MB / 0.6626 GB, free: 5.441 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1738/0.8815, allocations: 11.37 MB / 0.6737 GB, free: 147.8 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001767/0.8817, allocations: 80.12 kB / 0.6738 GB, free: 147.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005694/0.8823, allocations: 38.62 kB / 0.6738 GB, free: 147.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001316/0.8836, allocations: 1.199 MB / 0.675 GB, free: 147.8 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05304/0.9367, allocations: 56.74 MB / 0.7304 GB, free: 114.4 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003896/0.9406, allocations: 3.503 MB / 0.7338 GB, free: 113.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002505/0.9431, allocations: 2.447 MB / 0.7362 GB, free: 113.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01138/0.9545, allocations: 7.712 MB / 0.7437 GB, free: 109.9 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/0.9546, allocations: 61.19 kB / 0.7438 GB, free: 109.9 MB / 474.7 MB Notification: Performance of pre-optimization done (n=190): time 5.039e-06/0.9546, allocations: 0 / 0.7438 GB, free: 109.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=213): time 0.03324/0.9879, allocations: 18.55 MB / 0.7619 GB, free: 102.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.036e-05/0.988, allocations: 199.9 kB / 0.7621 GB, free: 101.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004671/0.9927, allocations: 3.725 MB / 0.7657 GB, free: 100.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002543/0.9929, allocations: 25.7 kB / 0.7657 GB, free: 100.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001367/0.9943, allocations: 3.457 MB / 0.7691 GB, free: 97.93 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005896/0.9949, allocations: 0.7903 MB / 0.7699 GB, free: 97.35 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00021/0.9951, allocations: 0 / 0.7699 GB, free: 97.35 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002692/0.9954, allocations: 0.5891 MB / 0.7705 GB, free: 96.92 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002381/0.9978, allocations: 2.16 MB / 0.7726 GB, free: 96.17 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003624/1.001, allocations: 6.23 MB / 0.7787 GB, free: 89.91 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00425/1.006, allocations: 3.673 MB / 0.7822 GB, free: 88.73 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.166e-05/1.006, allocations: 42.88 kB / 0.7823 GB, free: 88.73 MB / 474.7 MB Notification: Performance of matching and sorting (n=880) (initialization): time 0.01203/1.018, allocations: 8.108 MB / 0.7902 GB, free: 83.94 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/1.018, allocations: 4.938 kB / 0.7902 GB, free: 83.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001094/1.018, allocations: 144 kB / 0.7903 GB, free: 83.79 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002327/1.02, allocations: 0.909 MB / 0.7912 GB, free: 83.06 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004741/1.025, allocations: 1.54 MB / 0.7927 GB, free: 81.71 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006826/1.032, allocations: 6.71 MB / 0.7993 GB, free: 75.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005515/1.037, allocations: 205.7 kB / 0.7995 GB, free: 75.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001163/1.039, allocations: 411.3 kB / 0.7999 GB, free: 74.86 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 663 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (820): * Single equations (assignments): 815 * 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%) 33,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009829/1.04, allocations: 477.2 kB / 0.8003 GB, free: 74.39 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008139/1.04, allocations: 398.8 kB / 0.8007 GB, free: 73.99 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005472/1.046, allocations: 3.373 MB / 0.804 GB, free: 71.22 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-05/1.046, allocations: 16 kB / 0.804 GB, free: 71.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/1.046, allocations: 8 kB / 0.804 GB, free: 71.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/1.046, allocations: 10.55 kB / 0.804 GB, free: 71.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0136/1.06, allocations: 8.06 MB / 0.8119 GB, free: 64.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/1.06, allocations: 0 / 0.8119 GB, free: 64.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/1.061, allocations: 311.2 kB / 0.8122 GB, free: 64.36 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002141/1.064, allocations: 0.6753 MB / 0.8129 GB, free: 63.87 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001676/1.064, allocations: 8 kB / 0.8129 GB, free: 63.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006142/1.07, allocations: 6.041 MB / 0.8188 GB, free: 58.16 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.07, allocations: 0 / 0.8188 GB, free: 58.16 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007918/1.078, allocations: 6.163 MB / 0.8248 GB, free: 52.67 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001765/1.08, allocations: 0.6939 MB / 0.8255 GB, free: 52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005081/1.08, allocations: 0 / 0.8255 GB, free: 52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/1.082, allocations: 66.12 kB / 0.8255 GB, free: 51.96 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002575/1.082, allocations: 100.4 kB / 0.8256 GB, free: 51.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/1.082, allocations: 55.28 kB / 0.8257 GB, free: 51.85 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.003602/1.086, allocations: 2.55 MB / 0.8282 GB, free: 49.62 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005973/1.092, allocations: 1.003 MB / 0.8291 GB, free: 48.62 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (164): * Single equations (assignments): 159 * 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%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004687/1.092, allocations: 138.9 kB / 0.8293 GB, free: 48.49 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007863/1.1, allocations: 5.37 MB / 0.8345 GB, free: 43.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/1.1, allocations: 0 / 0.8345 GB, free: 43.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002591/1.103, allocations: 1.847 MB / 0.8363 GB, free: 41.91 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002615/1.105, allocations: 439.7 kB / 0.8367 GB, free: 41.54 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01886/1.124, allocations: 9.28 MB / 0.8458 GB, free: 33.22 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005311/1.129, allocations: 4.413 MB / 0.8501 GB, free: 29.86 MB / 474.7 MB Notification: Performance of SimCode: time 7.42e-07/1.129, allocations: 4 kB / 0.8501 GB, free: 29.85 MB / 474.7 MB Notification: Performance of Templates: time 0.246/1.375, allocations: 42.13 MB / 0.8913 GB, free: 130 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.pipe 2>&1)