Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile.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.Utilities.TestReadFile,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Utilities.TestReadFile") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004443/0.004448, allocations: 362.1 kB / 15.96 MB, free: 6.184 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 4.303/4.303, allocations: 388.9 MB / 405.6 MB, free: 9.652 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.003571/0.003571, allocations: 223 kB / 451 MB, free: 145 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.5981/0.5981, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006678/0.000668, allocations: 8 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1311, allocations: 54.88 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestReadFile): time 0.0007193/0.1319, allocations: 216.4 kB / 0.6803 GB, free: 41.45 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001596/0.1335, allocations: 0.7303 MB / 0.681 GB, free: 40.71 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.322e-05/0.1335, allocations: 0 / 0.681 GB, free: 40.71 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.216e-05/0.1336, allocations: 0 / 0.681 GB, free: 40.71 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001618/0.1337, allocations: 0 / 0.681 GB, free: 40.71 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000351/0.1341, allocations: 47.88 kB / 0.6811 GB, free: 40.67 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 3.542e-05/0.1342, allocations: 4 kB / 0.6811 GB, free: 40.66 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.1342, allocations: 0 / 0.6811 GB, free: 40.66 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.993e-05/0.1343, allocations: 0 / 0.6811 GB, free: 40.66 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.358e-05/0.1344, allocations: 8 kB / 0.6811 GB, free: 40.66 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.1344, allocations: 3.938 kB / 0.6811 GB, free: 40.65 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.1346, allocations: 47.95 kB / 0.6811 GB, free: 40.61 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.423e-06/0.1346, allocations: 0 / 0.6811 GB, free: 40.61 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.424e-05/0.1346, allocations: 25.7 kB / 0.6811 GB, free: 40.57 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001224/0.1348, allocations: 31.95 kB / 0.6812 GB, free: 40.54 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1348, allocations: 0 / 0.6812 GB, free: 40.54 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1348, allocations: 4 kB / 0.6812 GB, free: 40.54 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1348, allocations: 0 / 0.6812 GB, free: 40.54 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003032/0.1351, allocations: 360.9 kB / 0.6815 GB, free: 40.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.1352, allocations: 8.031 kB / 0.6815 GB, free: 40.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.1353, allocations: 3.953 kB / 0.6815 GB, free: 40.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.1354, allocations: 171.1 kB / 0.6817 GB, free: 39.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.1354, allocations: 3.938 kB / 0.6817 GB, free: 39.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.1355, allocations: 0 / 0.6817 GB, free: 39.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.556e-05/0.1356, allocations: 33.64 kB / 0.6817 GB, free: 39.87 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1356, allocations: 0 / 0.6817 GB, free: 39.87 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.1356, allocations: 0 / 0.6817 GB, free: 39.87 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1356, allocations: 0 / 0.6817 GB, free: 39.87 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.513e-05/0.1357, allocations: 7.953 kB / 0.6817 GB, free: 39.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001409/0.1358, allocations: 153.7 kB / 0.6819 GB, free: 39.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.548e-05/0.1359, allocations: 14.58 kB / 0.6819 GB, free: 39.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.29e-05/0.1359, allocations: 4.859 kB / 0.6819 GB, free: 39.63 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-06/0.1359, allocations: 4.094 kB / 0.6819 GB, free: 39.63 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.136, allocations: 60.2 kB / 0.682 GB, free: 39.55 MB / 346.7 MB Notification: Performance of pre-optimization done (n=1): time 2.164e-06/0.136, allocations: 4 kB / 0.682 GB, free: 39.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001997/0.1362, allocations: 67.39 kB / 0.682 GB, free: 39.47 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.1363, allocations: 77.11 kB / 0.6821 GB, free: 39.38 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.859e-05/0.1363, allocations: 93.86 kB / 0.6822 GB, free: 39.28 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.1364, allocations: 25.7 kB / 0.6822 GB, free: 39.25 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.198e-05/0.1364, allocations: 80.14 kB / 0.6823 GB, free: 39.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.1364, allocations: 3.984 kB / 0.6823 GB, free: 39.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/0.1365, allocations: 0 / 0.6823 GB, free: 39.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.708e-05/0.1365, allocations: 319 kB / 0.6826 GB, free: 38.84 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/0.1366, allocations: 8 kB / 0.6826 GB, free: 38.83 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.169e-05/0.1366, allocations: 3.984 kB / 0.6826 GB, free: 38.83 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.876e-05/0.1366, allocations: 29.64 kB / 0.6827 GB, free: 38.79 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1366, allocations: 0 / 0.6827 GB, free: 38.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001038/0.1368, allocations: 59.41 kB / 0.6827 GB, free: 38.72 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.018e-05/0.1368, allocations: 33.7 kB / 0.6827 GB, free: 38.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1368, allocations: 0 / 0.6827 GB, free: 38.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.1369, allocations: 0 / 0.6827 GB, free: 38.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.954e-06/0.1369, allocations: 4.094 kB / 0.6827 GB, free: 38.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.1369, allocations: 3.984 kB / 0.6827 GB, free: 38.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.795e-05/0.1369, allocations: 3.938 kB / 0.6828 GB, free: 38.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.137, allocations: 0 / 0.6828 GB, free: 38.67 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 8.213e-05/0.1371, allocations: 140.3 kB / 0.6829 GB, free: 38.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.1371, allocations: 7.984 kB / 0.6829 GB, free: 38.51 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.313e-05/0.1371, allocations: 7.078 kB / 0.6829 GB, free: 38.51 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1371, allocations: 0 / 0.6829 GB, free: 38.51 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1372, allocations: 4 kB / 0.6829 GB, free: 38.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.587e-05/0.1372, allocations: 81.39 kB / 0.683 GB, free: 38.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.1372, allocations: 3.984 kB / 0.683 GB, free: 38.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.045e-05/0.1373, allocations: 3.953 kB / 0.683 GB, free: 38.4 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.055e-05/0.1373, allocations: 0 / 0.683 GB, free: 38.4 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001604/0.1375, allocations: 202 kB / 0.6832 GB, free: 38.18 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001584/0.1376, allocations: 244.5 kB / 0.6834 GB, free: 37.91 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.441e-05/0.1377, allocations: 0 / 0.6834 GB, free: 37.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.376e-05/0.1377, allocations: 79.28 kB / 0.6835 GB, free: 37.84 MB / 346.7 MB Notification: Performance of Backend: time 9.42e-07/0.1377, allocations: 0 / 0.6835 GB, free: 37.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.1388, allocations: 227.6 kB / 0.6837 GB, free: 37.62 MB / 346.7 MB Notification: Performance of SimCode: time 0.0003264/0.1391, allocations: 0.5814 MB / 0.6843 GB, free: 36.98 MB / 346.7 MB Notification: Performance of Templates: time 0.00451/0.1437, allocations: 0.6159 MB / 0.6849 GB, free: 36.37 MB / 346.7 MB