Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002712/0.002717, allocations: 364 kB / 15.96 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.965/3.965, allocations: 388.9 MB / 405.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00536/0.00536, allocations: 235.6 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4828/0.4828, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006639/0.0006641, allocations: 8 kB / 0.6265 GB, free: 96.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1147, allocations: 54.88 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.003567/0.1183, allocations: 2.621 MB / 0.6827 GB, free: 39.02 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003077/0.1215, allocations: 1.416 MB / 0.684 GB, free: 37.6 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000434/0.1219, allocations: 15.88 kB / 0.684 GB, free: 37.59 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004407/0.1224, allocations: 91.41 kB / 0.6841 GB, free: 37.5 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005819/0.123, allocations: 155 kB / 0.6843 GB, free: 37.34 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001383/0.1244, allocations: 391.7 kB / 0.6847 GB, free: 36.96 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009579/0.1254, allocations: 0.748 MB / 0.6854 GB, free: 36.21 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003447/0.1257, allocations: 164.8 kB / 0.6855 GB, free: 36.05 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004181/0.1262, allocations: 274.7 kB / 0.6858 GB, free: 35.78 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004995/0.1267, allocations: 302.5 kB / 0.6861 GB, free: 35.48 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.111e-05/0.1268, allocations: 20 kB / 0.6861 GB, free: 35.46 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.683e-05/0.1269, allocations: 20 kB / 0.6861 GB, free: 35.45 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.1271, allocations: 151.4 kB / 0.6863 GB, free: 35.3 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.1272, allocations: 129.3 kB / 0.6864 GB, free: 35.16 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005302/0.1277, allocations: 0.4949 MB / 0.6869 GB, free: 34.67 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.1278, allocations: 3.938 kB / 0.6869 GB, free: 34.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1278, allocations: 0 / 0.6869 GB, free: 34.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.1278, allocations: 0 / 0.6869 GB, free: 34.66 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.00303/0.1308, allocations: 1.008 MB / 0.6879 GB, free: 33.61 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.1309, allocations: 8.031 kB / 0.6879 GB, free: 33.6 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002021/0.1311, allocations: 82.97 kB / 0.688 GB, free: 33.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001137/0.1322, allocations: 498.6 kB / 0.6884 GB, free: 33 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.95e-05/0.1323, allocations: 40.98 kB / 0.6885 GB, free: 32.95 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.1324, allocations: 51.91 kB / 0.6885 GB, free: 32.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.1339, allocations: 0.5404 MB / 0.6891 GB, free: 32.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.574e-05/0.134, allocations: 0 / 0.6891 GB, free: 32.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.393e-05/0.134, allocations: 27.94 kB / 0.6891 GB, free: 32.31 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.1341, allocations: 8 kB / 0.6891 GB, free: 32.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001699/0.1358, allocations: 474.6 kB / 0.6895 GB, free: 31.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004606/0.1404, allocations: 1.955 MB / 0.6914 GB, free: 29.81 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/0.1423, allocations: 0.5777 MB / 0.692 GB, free: 29.21 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009439/0.1433, allocations: 270.4 kB / 0.6923 GB, free: 28.94 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.074e-05/0.1433, allocations: 4 kB / 0.6923 GB, free: 28.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.1434, allocations: 46.58 kB / 0.6923 GB, free: 28.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 3.356e-06/0.1434, allocations: 0 / 0.6923 GB, free: 28.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.003907/0.1473, allocations: 1.153 MB / 0.6934 GB, free: 27.71 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.027e-05/0.1474, allocations: 140.3 kB / 0.6936 GB, free: 27.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.1485, allocations: 0.5862 MB / 0.6941 GB, free: 26.96 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.605e-05/0.1486, allocations: 37.7 kB / 0.6942 GB, free: 26.91 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/0.1488, allocations: 324.4 kB / 0.6945 GB, free: 26.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.149, allocations: 169.5 kB / 0.6947 GB, free: 26.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/0.1491, allocations: 12 kB / 0.6947 GB, free: 26.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1492, allocations: 378.7 kB / 0.695 GB, free: 26.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001011/0.1502, allocations: 276.9 kB / 0.6953 GB, free: 25.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.1513, allocations: 384.9 kB / 0.6957 GB, free: 25.36 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001072/0.1524, allocations: 315.8 kB / 0.696 GB, free: 25.05 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1525, allocations: 0 / 0.696 GB, free: 25.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002508/0.155, allocations: 0.7719 MB / 0.6967 GB, free: 24.27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.56e-05/0.1551, allocations: 166.7 kB / 0.6969 GB, free: 24.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.1551, allocations: 7.984 kB / 0.6969 GB, free: 24.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.1552, allocations: 4 kB / 0.6969 GB, free: 24.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.1564, allocations: 151.8 kB / 0.697 GB, free: 23.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.1564, allocations: 11.88 kB / 0.697 GB, free: 23.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009233/0.1573, allocations: 95.48 kB / 0.6971 GB, free: 23.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.802e-05/0.1574, allocations: 20 kB / 0.6972 GB, free: 23.79 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.1574, allocations: 4 kB / 0.6972 GB, free: 23.78 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002168/0.1596, allocations: 0.6518 MB / 0.6978 GB, free: 23.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.1596, allocations: 0 / 0.6978 GB, free: 23.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.1597, allocations: 8 kB / 0.6978 GB, free: 23.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.1608, allocations: 144.1 kB / 0.6979 GB, free: 22.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.1608, allocations: 8 kB / 0.6979 GB, free: 22.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008827/0.1617, allocations: 79.64 kB / 0.698 GB, free: 22.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-05/0.1618, allocations: 23.94 kB / 0.698 GB, free: 22.87 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (68): * Single equations (assignments): 68 * 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.0003784/0.1622, allocations: 276.9 kB / 0.6983 GB, free: 22.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001771/0.1624, allocations: 71.11 kB / 0.6984 GB, free: 22.52 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.1626, allocations: 81.64 kB / 0.6985 GB, free: 22.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.888e-06/0.1626, allocations: 7.984 kB / 0.6985 GB, free: 22.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.1626, allocations: 0 / 0.6985 GB, free: 22.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000283/0.1629, allocations: 192.1 kB / 0.6986 GB, free: 22.22 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.1631, allocations: 11.98 kB / 0.6987 GB, free: 22.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009174/0.164, allocations: 63.94 kB / 0.6987 GB, free: 22.14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.1642, allocations: 35.95 kB / 0.6988 GB, free: 22.11 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004582/0.1688, allocations: 1.098 MB / 0.6998 GB, free: 21 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005796/0.1746, allocations: 1.314 MB / 0.7011 GB, free: 19.67 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001751/0.1764, allocations: 296.3 kB / 0.7014 GB, free: 19.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001572/0.1781, allocations: 427 kB / 0.7018 GB, free: 18.96 MB / 346.7 MB Notification: Performance of Backend: time 1.042e-06/0.1781, allocations: 0 / 0.7018 GB, free: 18.96 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005235/0.1834, allocations: 0.8071 MB / 0.7026 GB, free: 18.15 MB / 346.7 MB Notification: Performance of SimCode: time 0.003328/0.1867, allocations: 2.027 MB / 0.7046 GB, free: 16.07 MB / 346.7 MB Notification: Performance of Templates: time 0.0248/0.2116, allocations: 9.862 MB / 0.7142 GB, free: 6.281 MB / 346.7 MB