Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.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.Rotational.TestSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed") translateModel(ModelicaTest.Rotational.TestSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009413/0.009413, allocations: 164.7 kB / 15.11 MB, free: 6.043 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.329/1.329, allocations: 170.8 MB / 186.6 MB, free: 1.016 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.00162/0.00162, allocations: 109.5 kB / 226.2 MB, free: 10.1 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.2822/0.2822, allocations: 38.05 MB / 303.7 MB, free: 42.33 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.0003821, allocations: 16 kB / 362.9 MB, free: 5.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1119, allocations: 48.7 MB / 411.6 MB, free: 4.832 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3145/0.4264, allocations: 76.24 MB / 487.8 MB, free: 11.55 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001867/0.4266, allocations: 62.97 kB / 487.9 MB, free: 11.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01162/0.4383, allocations: 4.712 MB / 492.6 MB, free: 7.578 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.4383, allocations: 0 / 492.6 MB, free: 7.578 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.4383, allocations: 4 kB / 492.6 MB, free: 7.574 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0006755/0.439, allocations: 0.5584 MB / 493.1 MB, free: 6.988 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.4391, allocations: 8.031 kB / 493.2 MB, free: 6.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.583e-05/0.4391, allocations: 31.62 kB / 493.2 MB, free: 6.949 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.4394, allocations: 252.3 kB / 493.4 MB, free: 6.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.4394, allocations: 23.88 kB / 493.5 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.481e-05/0.4394, allocations: 31.22 kB / 493.5 MB, free: 6.645 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003835/0.4398, allocations: 286.8 kB / 493.8 MB, free: 6.406 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.4399, allocations: 3.906 kB / 493.8 MB, free: 6.402 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.4399, allocations: 11.69 kB / 493.8 MB, free: 6.398 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.4399, allocations: 8 kB / 493.8 MB, free: 6.391 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000338/0.4403, allocations: 203.1 kB / 494 MB, free: 6.234 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.4414, allocations: 1.304 MB / 495.3 MB, free: 4.969 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003363/0.4418, allocations: 252.1 kB / 495.5 MB, free: 4.734 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.4418, allocations: 9.078 kB / 495.5 MB, free: 4.727 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/0.4419, allocations: 44.48 kB / 495.6 MB, free: 4.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 1.512e-06/0.4419, allocations: 4 kB / 495.6 MB, free: 4.676 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.002204/0.4441, allocations: 1.617 MB / 497.2 MB, free: 3.012 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.4441, allocations: 141.9 kB / 497.3 MB, free: 2.844 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.4443, allocations: 198.7 kB / 497.5 MB, free: 2.672 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.4443, allocations: 33.64 kB / 497.6 MB, free: 2.637 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.527e-05/0.4444, allocations: 181.9 kB / 497.8 MB, free: 2.484 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.852e-05/0.4444, allocations: 111.5 kB / 497.9 MB, free: 2.391 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.397e-05/0.4445, allocations: 10.94 kB / 497.9 MB, free: 2.387 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.277e-05/0.4445, allocations: 333.2 kB / 498.2 MB, free: 2.062 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002078/0.4447, allocations: 117.9 kB / 498.3 MB, free: 1.969 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.445, allocations: 235.5 kB / 498.5 MB, free: 1.715 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.4453, allocations: 160 kB / 498.7 MB, free: 1.598 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4453, allocations: 1.219 kB / 498.7 MB, free: 1.598 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006025/0.4459, allocations: 413.6 kB / 499.1 MB, free: 1.262 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.4459, allocations: 8 kB / 499.1 MB, free: 1.254 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.4459, allocations: 8 kB / 499.1 MB, free: 1.246 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.446, allocations: 8 kB / 499.1 MB, free: 1.238 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003648/0.4463, allocations: 107.3 kB / 499.2 MB, free: 1.137 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.323e-05/0.4463, allocations: 12.02 kB / 499.2 MB, free: 1.125 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.4466, allocations: 41.91 kB / 499.3 MB, free: 1.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.4466, allocations: 26.8 kB / 499.3 MB, free: 1.066 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.4467, allocations: 155.3 kB / 499.5 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.646e-05/0.4468, allocations: 27.72 kB / 499.5 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.898e-05/0.4469, allocations: 38.08 kB / 499.5 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.4469, allocations: 4 kB / 499.5 MB, free: 0.875 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.4469, allocations: 0 / 499.5 MB, free: 0.875 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.4469, allocations: 7.984 kB / 499.5 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.4481, allocations: 1.002 MB / 0.4888 GB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.4481, allocations: 4 kB / 0.4888 GB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003683/0.4485, allocations: 86.89 kB / 0.4889 GB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.112e-06/0.4485, allocations: 4 kB / 0.4889 GB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.315e-05/0.4485, allocations: 10.92 kB / 0.4889 GB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.4485, allocations: 3.938 kB / 0.4889 GB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/0.4486, allocations: 7.953 kB / 0.4889 GB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.4496, allocations: 0.8176 MB / 0.4897 GB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/0.4497, allocations: 122.4 kB / 0.4898 GB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.738e-05/0.4498, allocations: 7.812 kB / 0.4898 GB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002808/0.4501, allocations: 23.17 kB / 0.4899 GB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.485e-05/0.4502, allocations: 27.3 kB / 0.4899 GB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.046e-05/0.4502, allocations: 15.42 kB / 0.4899 GB, free: 14.86 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001253/0.4503, allocations: 158 kB / 0.4901 GB, free: 14.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4503, allocations: 0 / 0.4901 GB, free: 14.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004558/0.4508, allocations: 71 kB / 0.4901 GB, free: 14.67 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (speed4.s,speed3.s,speed3.v,speed1.phi,speed1.w,speed2.phi) * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000133/0.4509, allocations: 106.3 kB / 0.4902 GB, free: 14.56 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006101/0.4515, allocations: 303.5 kB / 0.4905 GB, free: 14.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4515, allocations: 4.562 kB / 0.4905 GB, free: 14.31 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002755/0.4518, allocations: 144.9 kB / 0.4907 GB, free: 14.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.4523, allocations: 35.72 kB / 0.4907 GB, free: 14.17 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.4538, allocations: 1.067 MB / 0.4917 GB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.4542, allocations: 0.78 MB / 0.4925 GB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000149/0.4543, allocations: 34.95 kB / 0.4925 GB, free: 12.26 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.233e-05/0.4544, allocations: 26.75 kB / 0.4926 GB, free: 12.24 MB / 346.7 MB Notification: Performance of SimCode: time 3.71e-07/0.4544, allocations: 4 kB / 0.4926 GB, free: 12.23 MB / 346.7 MB Notification: Performance of Templates: time 0.004922/0.4593, allocations: 2.105 MB / 0.4946 GB, free: 10.16 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.TestSpeed.pipe 2>&1)