Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous") translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006527/0.006527, allocations: 103.2 kB / 15.73 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 188.6 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.1 MB / 222.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1933/0.1933, allocations: 38 MB / 307.9 MB, free: 5.973 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 63.91 kB / 433 MB, free: 14.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1337, allocations: 56.48 MB / 489.4 MB, free: 5.871 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.005083/0.1388, allocations: 3.33 MB / 492.8 MB, free: 2.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00363/0.1425, allocations: 1.59 MB / 494.4 MB, free: 0.918 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007519/0.1432, allocations: 23.88 kB / 494.4 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007315/0.144, allocations: 138.8 kB / 494.5 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009903/0.145, allocations: 214.5 kB / 494.7 MB, free: 0.5469 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1555:3-1615:27:writable] Warning: Pure function 'Modelica.Math.Matrices.equalityLeastSquares' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgglse_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.1466, allocations: 0.5186 MB / 495.3 MB, free: 28 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001448/0.1481, allocations: 0.924 MB / 496.2 MB, free: 15.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005211/0.1486, allocations: 246.3 kB / 496.4 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007091/0.1493, allocations: 370.5 kB / 496.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00077/0.1501, allocations: 410 kB / 497.2 MB, free: 14.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002421/0.1504, allocations: 60 kB / 497.2 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.1506, allocations: 64 kB / 497.3 MB, free: 13.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002692/0.1508, allocations: 199.3 kB / 497.5 MB, free: 13.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004422/0.1513, allocations: 345.8 kB / 497.8 MB, free: 13.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009664/0.1523, allocations: 0.786 MB / 498.6 MB, free: 12.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1523, allocations: 0 / 498.6 MB, free: 12.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.1523, allocations: 0 / 498.6 MB, free: 12.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.467e-05/0.1523, allocations: 0 / 498.6 MB, free: 12.63 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002652/0.155, allocations: 1.156 MB / 499.8 MB, free: 11.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.155, allocations: 19.89 kB / 499.8 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001401/0.1552, allocations: 95.75 kB / 499.9 MB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009173/0.1561, allocations: 0.5897 MB / 0.4887 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.345e-05/0.1562, allocations: 37.38 kB / 0.4888 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.962e-05/0.1563, allocations: 52.28 kB / 0.4888 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/0.1573, allocations: 0.6177 MB / 0.4894 GB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.1574, allocations: 0 / 0.4894 GB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.737e-05/0.1574, allocations: 20 kB / 0.4895 GB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.1574, allocations: 8 kB / 0.4895 GB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/0.1585, allocations: 465.8 kB / 0.4899 GB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003655/0.1621, allocations: 2.651 MB / 0.4925 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.1632, allocations: 0.5625 MB / 0.493 GB, free: 6.09 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000523/0.1637, allocations: 246.4 kB / 0.4933 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.811e-05/0.1638, allocations: 8 kB / 0.4933 GB, free: 5.832 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.1639, allocations: 38.56 kB / 0.4933 GB, free: 5.785 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.495e-06/0.1639, allocations: 0 / 0.4933 GB, free: 5.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002576/0.1665, allocations: 1.131 MB / 0.4944 GB, free: 4.641 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.1666, allocations: 140.6 kB / 0.4946 GB, free: 4.473 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.1676, allocations: 0.6606 MB / 0.4952 GB, free: 3.805 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.807e-05/0.1677, allocations: 33.7 kB / 0.4952 GB, free: 3.766 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003246/0.168, allocations: 360.1 kB / 0.4956 GB, free: 3.406 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001814/0.1682, allocations: 177.5 kB / 0.4958 GB, free: 3.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/0.1685, allocations: 114.2 kB / 0.4959 GB, free: 3.113 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.1686, allocations: 337.9 kB / 0.4962 GB, free: 2.777 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005885/0.1692, allocations: 271.3 kB / 0.4964 GB, free: 2.512 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006922/0.1699, allocations: 436.5 kB / 0.4969 GB, free: 2.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.1712, allocations: 0.6663 MB / 0.4975 GB, free: 1.293 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.092e-06/0.1712, allocations: 4 kB / 0.4975 GB, free: 1.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001509/0.1727, allocations: 0.7939 MB / 0.4983 GB, free: 500 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.451e-05/0.1727, allocations: 8 kB / 0.4983 GB, free: 492 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.1728, allocations: 4.047 kB / 0.4983 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.054e-05/0.1728, allocations: 11.98 kB / 0.4983 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007025/0.1735, allocations: 152.2 kB / 0.4985 GB, free: 324 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.408e-05/0.1735, allocations: 7.938 kB / 0.4985 GB, free: 316 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005033/0.1741, allocations: 83.56 kB / 0.4985 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.526e-05/0.1741, allocations: 24 kB / 0.4986 GB, free: 208 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007348/0.1749, allocations: 417.3 kB / 0.499 GB, free: 15.79 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006446/0.1755, allocations: 416.3 kB / 0.4994 GB, free: 15.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001107/0.1767, allocations: 0.6531 MB / 0.5 GB, free: 14.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.045e-06/0.1767, allocations: 4 kB / 0.5 GB, free: 14.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001436/0.1781, allocations: 0.7732 MB / 0.5008 GB, free: 13.82 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1781, allocations: 8 kB / 0.5008 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.1781, allocations: 4 kB / 0.5008 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.1782, allocations: 8.531 kB / 0.5008 GB, free: 13.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005729/0.1787, allocations: 147.8 kB / 0.5009 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.656e-05/0.1788, allocations: 19.86 kB / 0.5009 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004339/0.1792, allocations: 67.64 kB / 0.501 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-05/0.1793, allocations: 24 kB / 0.501 GB, free: 13.55 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002515/0.1795, allocations: 224 kB / 0.5012 GB, free: 13.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.1797, allocations: 75.06 kB / 0.5013 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.1798, allocations: 90.28 kB / 0.5014 GB, free: 13.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.976e-06/0.1799, allocations: 11.94 kB / 0.5014 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.1799, allocations: 0 / 0.5014 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.1799, allocations: 3.984 kB / 0.5014 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.1812, allocations: 0.8492 MB / 0.5022 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1812, allocations: 4 kB / 0.5022 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006099/0.1818, allocations: 107.8 kB / 0.5024 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.249e-06/0.1818, allocations: 4 kB / 0.5024 GB, free: 12.12 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.266e-05/0.1819, allocations: 15.98 kB / 0.5024 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.1819, allocations: 4 kB / 0.5024 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1819, allocations: 0 / 0.5024 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.1838, allocations: 1.133 MB / 0.5035 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002229/0.184, allocations: 196.2 kB / 0.5037 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.539e-05/0.1841, allocations: 19.98 kB / 0.5037 GB, free: 10.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000479/0.1846, allocations: 47.94 kB / 0.5037 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.1848, allocations: 35.95 kB / 0.5038 GB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.048e-05/0.1848, allocations: 16 kB / 0.5038 GB, free: 10.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00063/0.1854, allocations: 466.9 kB / 0.5042 GB, free: 10.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1854, allocations: 0 / 0.5042 GB, free: 10.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007675/0.1862, allocations: 200 kB / 0.5044 GB, free: 9.98 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * 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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001522/0.1864, allocations: 107.2 kB / 0.5045 GB, free: 9.867 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002016/0.1884, allocations: 0.9622 MB / 0.5055 GB, free: 8.906 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1884, allocations: 0 / 0.5055 GB, free: 8.906 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005622/0.189, allocations: 288 kB / 0.5057 GB, free: 8.629 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009936/0.19, allocations: 185 kB / 0.5059 GB, free: 8.453 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.1925, allocations: 1.491 MB / 0.5074 GB, free: 6.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005042/0.1931, allocations: 0.9537 MB / 0.5083 GB, free: 5.949 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004464/0.1935, allocations: 152.8 kB / 0.5084 GB, free: 5.801 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.1937, allocations: 43.44 kB / 0.5085 GB, free: 5.758 MB / 398.1 MB Notification: Performance of SimCode: time 9.31e-07/0.1937, allocations: 0 / 0.5085 GB, free: 5.758 MB / 398.1 MB Notification: Performance of Templates: time 0.01459/0.2083, allocations: 7.57 MB / 0.5159 GB, free: 14.21 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.pipe 2>&1)