Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 104.3 kB / 20.45 MB, free: 1.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001754/0.001754, allocations: 209.3 kB / 23.74 MB, free: 4.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 207.7 MB / 234.6 MB, free: 9.777 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2462/0.2462, allocations: 44.26 MB / 331.1 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002323/0.002323, allocations: 72.33 kB / 468.7 MB, free: 3.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1276, allocations: 61.04 MB / 0.5174 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001765/0.1294, allocations: 0.5259 MB / 0.5179 GB, free: 6.164 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005615/0.13, allocations: 216.3 kB / 0.5181 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.398e-05/0.13, allocations: 4 kB / 0.5181 GB, free: 5.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.1301, allocations: 7.984 kB / 0.5181 GB, free: 5.938 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.714e-05/0.1301, allocations: 7.922 kB / 0.5181 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003015/0.1304, allocations: 43.89 kB / 0.5181 GB, free: 5.887 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.748e-05/0.1305, allocations: 23.91 kB / 0.5182 GB, free: 5.863 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.1306, allocations: 4 kB / 0.5182 GB, free: 5.859 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.857e-05/0.1306, allocations: 15.92 kB / 0.5182 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.1307, allocations: 19.98 kB / 0.5182 GB, free: 5.824 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.1307, allocations: 4 kB / 0.5182 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.1308, allocations: 55.94 kB / 0.5183 GB, free: 5.766 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.558e-05/0.1309, allocations: 15.91 kB / 0.5183 GB, free: 5.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.057e-05/0.1309, allocations: 11.94 kB / 0.5183 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.1311, allocations: 71.7 kB / 0.5184 GB, free: 5.668 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1311, allocations: 4 kB / 0.5184 GB, free: 5.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1311, allocations: 0 / 0.5184 GB, free: 5.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.1311, allocations: 0 / 0.5184 GB, free: 5.664 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000484/0.1316, allocations: 278.2 kB / 0.5186 GB, free: 5.359 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.1316, allocations: 8.031 kB / 0.5186 GB, free: 5.352 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.1316, allocations: 8.891 kB / 0.5186 GB, free: 5.344 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.1318, allocations: 118.4 kB / 0.5188 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.1318, allocations: 384 / 0.5188 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.1319, allocations: 384 / 0.5188 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002102/0.1321, allocations: 119.9 kB / 0.5189 GB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.1321, allocations: 192 / 0.5189 GB, free: 5.074 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.1321, allocations: 7.938 kB / 0.5189 GB, free: 5.066 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-05/0.1321, allocations: 11.98 kB / 0.5189 GB, free: 5.055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.1322, allocations: 63.95 kB / 0.5189 GB, free: 4.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001977/0.1324, allocations: 137.2 kB / 0.5191 GB, free: 4.828 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.1327, allocations: 118.8 kB / 0.5192 GB, free: 4.703 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.018e-05/0.1328, allocations: 62.64 kB / 0.5193 GB, free: 4.641 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.958e-05/0.1329, allocations: 11.94 kB / 0.5193 GB, free: 4.629 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.1329, allocations: 38.5 kB / 0.5193 GB, free: 4.582 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.262e-06/0.1329, allocations: 0 / 0.5193 GB, free: 4.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.003786/0.1367, allocations: 2.218 MB / 0.5215 GB, free: 2.336 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.1367, allocations: 55.64 kB / 0.5215 GB, free: 2.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.757e-05/0.1368, allocations: 97.86 kB / 0.5216 GB, free: 2.164 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.1369, allocations: 29.7 kB / 0.5216 GB, free: 2.129 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/0.1369, allocations: 84.58 kB / 0.5217 GB, free: 2.043 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.137, allocations: 103.1 kB / 0.5218 GB, free: 1.941 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001483/0.1372, allocations: 97.64 kB / 0.5219 GB, free: 1.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.1374, allocations: 326.8 kB / 0.5222 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006843/0.138, allocations: 0.5739 MB / 0.5228 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006884/0.1387, allocations: 0.5856 MB / 0.5234 GB, free: 360 kB / 398.1 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.002829/0.1416, allocations: 2.048 MB / 0.5254 GB, free: 14.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1416, allocations: 0 / 0.5254 GB, free: 14.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002124/0.1437, allocations: 1.714 MB / 0.527 GB, free: 12.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1437, allocations: 4 kB / 0.527 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002075/0.1458, allocations: 1.528 MB / 0.5285 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000778/0.1466, allocations: 424.4 kB / 0.5289 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.1468, allocations: 59.95 kB / 0.529 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001317/0.1481, allocations: 1.185 MB / 0.5301 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.1482, allocations: 8.062 kB / 0.5302 GB, free: 9.348 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.752e-05/0.1483, allocations: 72 kB / 0.5302 GB, free: 9.277 MB / 414.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: tabx[2] = 1.0 + 0.1 * time. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002048/0.1485, allocations: 133.8 kB / 0.5303 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.498e-05/0.1486, allocations: 15.91 kB / 0.5304 GB, free: 9.121 MB / 414.1 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.1501, allocations: 0.8821 MB / 0.5312 GB, free: 8.238 MB / 414.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.208142423070967] Failed to read output from testmodel.py, exit status != 0: ['time', 'xIntegrated'] 0.15892978897318244 0.419385698 0.284111497 Calling exit ...