Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.Rotor1D_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [: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.004272/0.004273, allocations: 176.3 kB / 7.452 MB, free: 2.504 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.275/1.275, allocations: 170.6 MB / 178.4 MB, free: 15.46 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.001852/0.001853, allocations: 112.6 kB / 217.7 MB, free: 8.242 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.1769/0.1769, allocations: 37.97 MB / 294.8 MB, free: 9.637 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.434e-06/7.474e-06, allocations: 1.188 kB / 349.5 MB, free: 37.03 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09382/0.09384, allocations: 48.71 MB / 398.2 MB, free: 5.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2945/0.3884, allocations: 94.36 MB / 492.6 MB, free: 13.62 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.3887, allocations: 81.45 kB / 492.7 MB, free: 13.62 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.2169/0.6056, allocations: 81.27 MB / 0.5605 GB, free: 8.453 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003699/0.6061, allocations: 76 kB / 0.5606 GB, free: 8.379 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02037/0.6265, allocations: 4.416 MB / 0.5649 GB, free: 3.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.6265, allocations: 12.03 kB / 0.5649 GB, free: 3.898 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0107/0.6372, allocations: 1.819 MB / 0.5667 GB, free: 2.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01419/0.6515, allocations: 4.565 MB / 0.5711 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003151/0.6518, allocations: 136 kB / 0.5712 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002603/0.6545, allocations: 255.8 kB / 0.5715 GB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01495/0.6694, allocations: 6.595 MB / 0.5779 GB, free: 6.496 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02425/0.6937, allocations: 9.796 MB / 0.5875 GB, free: 11.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003609/0.6941, allocations: 71.39 kB / 0.5876 GB, free: 11.63 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002282/0.6964, allocations: 32 kB / 0.5876 GB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001952/0.6984, allocations: 1.064 MB / 0.5886 GB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2079/0.9063, allocations: 46.1 MB / 0.6336 GB, free: 104.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004048/0.9104, allocations: 3.341 MB / 0.6369 GB, free: 104 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00262/0.9131, allocations: 1.924 MB / 0.6388 GB, free: 103.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01067/0.9238, allocations: 6.317 MB / 0.645 GB, free: 101.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.9238, allocations: 45.94 kB / 0.645 GB, free: 101.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=142): time 5.761e-06/0.9239, allocations: 0 / 0.645 GB, free: 101.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=149): time 0.0224/0.9463, allocations: 11.34 MB / 0.6561 GB, free: 99.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.796e-05/0.9463, allocations: 143.5 kB / 0.6562 GB, free: 99.03 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004381/0.9507, allocations: 3.114 MB / 0.6593 GB, free: 98.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002643/0.951, allocations: 25.7 kB / 0.6593 GB, free: 98.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001301/0.9523, allocations: 3.003 MB / 0.6622 GB, free: 96.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005563/0.9529, allocations: 0.5863 MB / 0.6628 GB, free: 96.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/0.9531, allocations: 0 / 0.6628 GB, free: 96.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002672/0.9534, allocations: 0.5623 MB / 0.6633 GB, free: 96.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002187/0.9556, allocations: 1.89 MB / 0.6652 GB, free: 96.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003826/0.9594, allocations: 5.696 MB / 0.6707 GB, free: 91.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004418/0.9638, allocations: 3.288 MB / 0.674 GB, free: 91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.236e-05/0.9639, allocations: 38.75 kB / 0.674 GB, free: 91 MB / 426.7 MB Notification: Performance of matching and sorting (n=781) (initialization): time 0.01193/0.9758, allocations: 7.292 MB / 0.6811 GB, free: 89.06 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.9759, allocations: 6.938 kB / 0.6811 GB, free: 89.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001341/0.976, allocations: 142 kB / 0.6813 GB, free: 89.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002214/0.9783, allocations: 0.8555 MB / 0.6821 GB, free: 88.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004568/0.9828, allocations: 1.391 MB / 0.6834 GB, free: 88.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005295/0.9882, allocations: 4.49 MB / 0.6878 GB, free: 86.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005178/0.9934, allocations: 194.1 kB / 0.688 GB, free: 86.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009286/0.9943, allocations: 380.1 kB / 0.6884 GB, free: 86.34 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 628 * Number of states: 0 () * Number of discrete variables: 33 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (742): * Single equations (assignments): 738 * 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 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008144/0.9951, allocations: 441.9 kB / 0.6888 GB, free: 85.97 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008268/0.996, allocations: 306.2 kB / 0.6891 GB, free: 85.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005245/1.001, allocations: 2.714 MB / 0.6917 GB, free: 84.92 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.326e-05/1.001, allocations: 14.03 kB / 0.6918 GB, free: 84.92 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/1.001, allocations: 6.781 kB / 0.6918 GB, free: 84.92 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.399e-05/1.001, allocations: 11.14 kB / 0.6918 GB, free: 84.92 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01271/1.014, allocations: 6.23 MB / 0.6979 GB, free: 82.76 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.364e-05/1.014, allocations: 0 / 0.6979 GB, free: 82.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/1.016, allocations: 234.3 kB / 0.6981 GB, free: 82.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002084/1.018, allocations: 0.6427 MB / 0.6987 GB, free: 82.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002036/1.018, allocations: 6.547 kB / 0.6987 GB, free: 82.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004954/1.023, allocations: 4.111 MB / 0.7027 GB, free: 80.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/1.023, allocations: 0 / 0.7027 GB, free: 80.34 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007258/1.03, allocations: 5.095 MB / 0.7077 GB, free: 78.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001756/1.032, allocations: 0.5669 MB / 0.7083 GB, free: 77.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005695/1.033, allocations: 9.875 kB / 0.7083 GB, free: 77.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001545/1.034, allocations: 51 kB / 0.7083 GB, free: 77.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002599/1.034, allocations: 76.89 kB / 0.7084 GB, free: 77.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001512/1.035, allocations: 43.19 kB / 0.7084 GB, free: 77.92 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.003605/1.038, allocations: 2.082 MB / 0.7105 GB, free: 76.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005983/1.044, allocations: 0.8167 MB / 0.7113 GB, free: 75.66 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 114 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004774/1.045, allocations: 139.5 kB / 0.7114 GB, free: 75.53 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007162/1.052, allocations: 4.503 MB / 0.7158 GB, free: 71.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.383e-06/1.052, allocations: 0 / 0.7158 GB, free: 71.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001699/1.054, allocations: 1.341 MB / 0.7171 GB, free: 70.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/1.056, allocations: 296.4 kB / 0.7174 GB, free: 70.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01711/1.073, allocations: 7.232 MB / 0.7244 GB, free: 63.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004059/1.077, allocations: 3.583 MB / 0.7279 GB, free: 60.77 MB / 426.7 MB Notification: Performance of SimCode: time 8.42e-07/1.077, allocations: 0 / 0.7279 GB, free: 60.77 MB / 426.7 MB Notification: Performance of Templates: time 0.06308/1.14, allocations: 32.64 MB / 0.7598 GB, free: 38.29 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1)