Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.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.Parts.Rotor1D.Beveal1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.1+maint.om/package.mo): time 0.004243/0.004243, allocations: 180.6 kB / 7.451 MB, free: 2.523 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.138/1.138, 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.001879/0.001879, allocations: 120.4 kB / 217.7 MB, free: 8.156 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.1584/0.1584, allocations: 37.97 MB / 294.8 MB, free: 9.621 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.716e-06/8.927e-06, allocations: 1.312 kB / 349.5 MB, free: 37.11 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1226, allocations: 48.7 MB / 398.2 MB, free: 5.695 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3181/0.4408, allocations: 94.43 MB / 492.6 MB, free: 13.37 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002135/0.441, allocations: 82.7 kB / 492.7 MB, free: 13.37 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.314/0.755, allocations: 102.4 MB / 0.5811 GB, free: 3.789 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004173/0.7555, allocations: 108 kB / 0.5812 GB, free: 3.684 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1833 * Number of variables: 1833 Notification: Performance of Generate backend data structure: time 0.01834/0.7738, allocations: 5.22 MB / 0.5863 GB, free: 14.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.7739, allocations: 8.031 kB / 0.5863 GB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0281/0.802, allocations: 6.52 MB / 0.5927 GB, free: 7.859 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01934/0.8214, allocations: 6.943 MB / 0.5995 GB, free: 0.9258 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004859/0.8219, allocations: 172 kB / 0.5997 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003182/0.8251, allocations: 323.8 kB / 0.6 GB, free: 452 kB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01782/0.843, allocations: 7.443 MB / 0.6072 GB, free: 8.996 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1887/1.032, allocations: 11.37 MB / 0.6183 GB, free: 113 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002166/1.032, allocations: 75.81 kB / 0.6184 GB, free: 113 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007384/1.033, allocations: 32.62 kB / 0.6184 GB, free: 113 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001276/1.034, allocations: 1.207 MB / 0.6196 GB, free: 113 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06096/1.095, allocations: 56.65 MB / 0.6749 GB, free: 79.65 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004171/1.099, allocations: 3.492 MB / 0.6783 GB, free: 79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002567/1.102, allocations: 2.448 MB / 0.6807 GB, free: 78.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01266/1.114, allocations: 7.73 MB / 0.6883 GB, free: 76.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.544e-05/1.115, allocations: 54.81 kB / 0.6883 GB, free: 76.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=190): time 6.231e-06/1.115, allocations: 3.656 kB / 0.6883 GB, free: 76.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=213): time 0.03887/1.153, allocations: 18.54 MB / 0.7064 GB, free: 68.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/1.154, allocations: 200 kB / 0.7066 GB, free: 68.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007891/1.161, allocations: 3.735 MB / 0.7103 GB, free: 67.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005237/1.162, allocations: 25.7 kB / 0.7103 GB, free: 67 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002126/1.164, allocations: 3.457 MB / 0.7137 GB, free: 64.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001102/1.165, allocations: 0.7854 MB / 0.7145 GB, free: 63.83 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003196/1.166, allocations: 3.25 kB / 0.7145 GB, free: 63.83 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003357/1.166, allocations: 0.5885 MB / 0.715 GB, free: 63.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002819/1.169, allocations: 2.157 MB / 0.7171 GB, free: 62.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004409/1.173, allocations: 6.219 MB / 0.7232 GB, free: 56.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004504/1.178, allocations: 3.679 MB / 0.7268 GB, free: 55.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.744e-05/1.178, allocations: 40.72 kB / 0.7268 GB, free: 55.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=879) (initialization): time 0.01358/1.191, allocations: 8.099 MB / 0.7348 GB, free: 52.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/1.191, allocations: 7.719 kB / 0.7348 GB, free: 52.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001361/1.192, allocations: 144.5 kB / 0.7349 GB, free: 52.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002411/1.194, allocations: 0.9131 MB / 0.7358 GB, free: 52.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004931/1.199, allocations: 1.528 MB / 0.7373 GB, free: 52.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006964/1.206, allocations: 6.716 MB / 0.7438 GB, free: 47.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005959/1.212, allocations: 213.9 kB / 0.744 GB, free: 47.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007503/1.213, allocations: 408.6 kB / 0.7444 GB, free: 47.85 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 662 * 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 (819): * Single equations (assignments): 814 * 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.0008565/1.214, allocations: 469.5 kB / 0.7449 GB, free: 47.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004934/1.214, allocations: 406.9 kB / 0.7453 GB, free: 47.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005477/1.219, allocations: 3.37 MB / 0.7486 GB, free: 46.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.774e-05/1.22, allocations: 22.03 kB / 0.7486 GB, free: 46.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/1.22, allocations: 3.812 kB / 0.7486 GB, free: 46.05 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/1.22, allocations: 14.59 kB / 0.7486 GB, free: 46.05 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01381/1.233, allocations: 8.054 MB / 0.7565 GB, free: 39.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/1.233, allocations: 0 / 0.7565 GB, free: 39.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00166/1.235, allocations: 325.3 kB / 0.7568 GB, free: 39.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002138/1.237, allocations: 0.6632 MB / 0.7574 GB, free: 38.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001717/1.237, allocations: 15.75 kB / 0.7574 GB, free: 38.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006365/1.244, allocations: 6.04 MB / 0.7633 GB, free: 33.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/1.244, allocations: 0 / 0.7633 GB, free: 33.18 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007862/1.252, allocations: 6.155 MB / 0.7693 GB, free: 27.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001903/1.254, allocations: 0.7004 MB / 0.77 GB, free: 27.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005272/1.254, allocations: 8 kB / 0.77 GB, free: 27.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001472/1.256, allocations: 58.84 kB / 0.7701 GB, free: 26.99 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000259/1.256, allocations: 99.55 kB / 0.7702 GB, free: 26.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/1.256, allocations: 52 kB / 0.7702 GB, free: 26.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.003865/1.26, allocations: 2.548 MB / 0.7727 GB, free: 24.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008156/1.268, allocations: 1.01 MB / 0.7737 GB, free: 23.66 MB / 426.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.000718/1.269, allocations: 142.6 kB / 0.7738 GB, free: 23.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.013/1.282, allocations: 5.367 MB / 0.7791 GB, free: 18.63 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/1.282, allocations: 0 / 0.7791 GB, free: 18.63 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004286/1.286, allocations: 1.844 MB / 0.7809 GB, free: 16.94 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004274/1.291, allocations: 435.7 kB / 0.7813 GB, free: 16.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02918/1.32, allocations: 9.309 MB / 0.7904 GB, free: 8.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009239/1.329, allocations: 4.403 MB / 0.7947 GB, free: 4.871 MB / 426.7 MB Notification: Performance of SimCode: time 1.613e-06/1.329, allocations: 0 / 0.7947 GB, free: 4.871 MB / 426.7 MB Notification: Performance of Templates: time 0.3795/1.709, allocations: 42.23 MB / 0.8359 GB, free: 102.4 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Beveal1d.pipe 2>&1)