Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.005724/0.005724, allocations: 168.4 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.247/1.247, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001869/0.001869, allocations: 110.6 kB / 226.2 MB, free: 10.11 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.2959/0.2959, allocations: 38.05 MB / 303.7 MB, free: 42.53 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000395/0.000395, allocations: 16 kB / 362.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1169, allocations: 48.7 MB / 411.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3547/0.4716, allocations: 95.96 MB / 0.4956 GB, free: 8.098 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/0.472, allocations: 82.58 kB / 0.4957 GB, free: 8.051 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.558/1.03, allocations: 97.14 MB / 0.5906 GB, free: 71.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.807e-06/1.03, allocations: 4.078 kB / 0.5906 GB, free: 71.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003629/1.03, allocations: 103.7 kB / 0.5907 GB, free: 71.89 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1847 * Number of variables: 1847 Notification: Performance of Generate backend data structure: time 0.02717/1.058, allocations: 5.775 MB / 0.5963 GB, free: 69.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/1.058, allocations: 11.84 kB / 0.5963 GB, free: 69.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01218/1.07, allocations: 2.318 MB / 0.5986 GB, free: 69.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01746/1.087, allocations: 4.983 MB / 0.6035 GB, free: 68.91 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004802/1.088, allocations: 393.9 kB / 0.6038 GB, free: 68.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002735/1.091, allocations: 0.5166 MB / 0.6044 GB, free: 68.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02861/1.119, allocations: 12.97 MB / 0.617 GB, free: 66.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003173/1.12, allocations: 70.22 kB / 0.6171 GB, free: 66.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001812/1.121, allocations: 245.6 kB / 0.6173 GB, free: 66.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002045/1.124, allocations: 1.207 MB / 0.6185 GB, free: 66.03 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02773/1.151, allocations: 11.28 MB / 0.6295 GB, free: 66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07209/1.223, allocations: 55.77 MB / 0.684 GB, free: 28.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01432/1.238, allocations: 5.329 MB / 0.6892 GB, free: 26.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001307/1.239, allocations: 1.014 MB / 0.6902 GB, free: 26.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/1.239, allocations: 57.53 kB / 0.6902 GB, free: 25.99 MB / 426.7 MB Notification: Performance of pre-optimization done (n=224): time 7.033e-06/1.239, allocations: 0 / 0.6902 GB, free: 25.99 MB / 426.7 MB Notification: Performance of matching and sorting (n=255): time 0.05838/1.298, allocations: 26.18 MB / 0.7158 GB, free: 16.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/1.298, allocations: 154.5 kB / 0.716 GB, free: 15.86 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005981/1.304, allocations: 4.007 MB / 0.7199 GB, free: 12.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007789/1.305, allocations: 65.7 kB / 0.7199 GB, free: 12.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002138/1.307, allocations: 3.535 MB / 0.7234 GB, free: 9.223 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001351/1.308, allocations: 0.9546 MB / 0.7243 GB, free: 8.383 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003554/1.308, allocations: 136 kB / 0.7244 GB, free: 8.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003092/1.309, allocations: 0.595 MB / 0.725 GB, free: 7.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003806/1.313, allocations: 3.053 MB / 0.728 GB, free: 5.172 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00791/1.32, allocations: 6.954 MB / 0.7348 GB, free: 12.89 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008516/1.329, allocations: 4.512 MB / 0.7392 GB, free: 8.883 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001222/1.329, allocations: 40 kB / 0.7392 GB, free: 8.844 MB / 442.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.3007/1.63, allocations: 10.86 MB / 0.7498 GB, free: 73.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002127/1.63, allocations: 63.97 kB / 0.7499 GB, free: 73.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000387/1.631, allocations: 140.7 kB / 0.75 GB, free: 73.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003924/1.635, allocations: 1.137 MB / 0.7512 GB, free: 73.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008248/1.643, allocations: 1.702 MB / 0.7528 GB, free: 73.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008067/1.651, allocations: 6.035 MB / 0.7587 GB, free: 72.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007628/1.659, allocations: 429.8 kB / 0.7591 GB, free: 72.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002327/1.661, allocations: 426.7 kB / 0.7595 GB, free: 72.58 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 629 * Number of states: 0 () * Number of discrete variables: 39 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (852): * Single equations (assignments): 848 * 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.007001/1.668, allocations: 2.42 MB / 0.7619 GB, free: 72.46 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/1.669, allocations: 409.7 kB / 0.7623 GB, free: 72.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009518/1.679, allocations: 5.677 MB / 0.7678 GB, free: 72.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.053e-05/1.679, allocations: 27.66 kB / 0.7678 GB, free: 72.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/1.679, allocations: 3.062 kB / 0.7679 GB, free: 72.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.517e-05/1.679, allocations: 16.34 kB / 0.7679 GB, free: 72.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02466/1.703, allocations: 12.37 MB / 0.7799 GB, free: 71.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-05/1.704, allocations: 3.938 kB / 0.7799 GB, free: 71.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003433/1.707, allocations: 0.5079 MB / 0.7804 GB, free: 71.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003777/1.711, allocations: 0.9386 MB / 0.7814 GB, free: 71.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009103/1.712, allocations: 48.89 kB / 0.7814 GB, free: 71.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009335/1.721, allocations: 5.762 MB / 0.787 GB, free: 70.19 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-05/1.721, allocations: 9.25 kB / 0.787 GB, free: 70.19 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01549/1.737, allocations: 9.986 MB / 0.7968 GB, free: 67.53 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003235/1.74, allocations: 0.919 MB / 0.7977 GB, free: 67.17 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007819/1.741, allocations: 50.12 kB / 0.7977 GB, free: 67.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002103/1.743, allocations: 184.1 kB / 0.7979 GB, free: 67.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004273/1.743, allocations: 161.9 kB / 0.7981 GB, free: 67.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002069/1.744, allocations: 73.69 kB / 0.7981 GB, free: 67.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004374/1.748, allocations: 2.817 MB / 0.8009 GB, free: 66.11 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.092e-06/1.748, allocations: 0 / 0.8009 GB, free: 66.11 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007046/1.755, allocations: 1.264 MB / 0.8021 GB, free: 65.97 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (228): * Single equations (assignments): 224 * 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 Backend phase and start with SimCode phase: time 0.0006061/1.756, allocations: 192.1 kB / 0.8023 GB, free: 65.85 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01161/1.767, allocations: 7.304 MB / 0.8094 GB, free: 63.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/1.767, allocations: 0 / 0.8094 GB, free: 63.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003754/1.771, allocations: 2.779 MB / 0.8122 GB, free: 62.67 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003125/1.774, allocations: 454 kB / 0.8126 GB, free: 62.46 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0234/1.798, allocations: 14.09 MB / 0.8264 GB, free: 55.67 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003876/1.802, allocations: 3.9 MB / 0.8302 GB, free: 54.27 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005697/1.807, allocations: 2.297 MB / 0.8324 GB, free: 54.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001208/1.809, allocations: 312 kB / 0.8327 GB, free: 54.09 MB / 442.7 MB Notification: Performance of SimCode: time 2.154e-06/1.809, allocations: 0 / 0.8327 GB, free: 54.09 MB / 442.7 MB Notification: Performance of Templates: time 0.08709/1.896, allocations: 47.55 MB / 0.8791 GB, free: 27.71 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1)