Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001366/0.001366, allocations: 82.36 kB / 20.68 MB, free: 1.027 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.001482/0.001482, allocations: 167.9 kB / 23.96 MB, free: 4.148 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2228/0.2228, allocations: 34.29 MB / 295 MB, free: 14.56 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.255e-06/2.255e-06, allocations: 0 / 442.7 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.031e-05/4.256e-05, allocations: 2.281 kB / 442.7 MB, free: 5.41 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.00179/0.001833, allocations: 0.5316 MB / 443.2 MB, free: 4.883 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006058/0.002438, allocations: 207.4 kB / 443.4 MB, free: 4.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.372e-05/0.002462, allocations: 0 / 443.4 MB, free: 4.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.002622, allocations: 4 kB / 443.4 MB, free: 4.676 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.791e-05/0.00265, allocations: 7.922 kB / 443.4 MB, free: 4.668 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003371/0.002987, allocations: 47.83 kB / 443.4 MB, free: 4.621 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 7.504e-05/0.003062, allocations: 19.92 kB / 443.5 MB, free: 4.602 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.749e-05/0.003109, allocations: 3.984 kB / 443.5 MB, free: 4.598 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.161e-05/0.003151, allocations: 19.97 kB / 443.5 MB, free: 4.578 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.003254, allocations: 19.98 kB / 443.5 MB, free: 4.559 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.003275, allocations: 4 kB / 443.5 MB, free: 4.555 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.003397, allocations: 47.94 kB / 443.6 MB, free: 4.508 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.311e-05/0.00344, allocations: 19.92 kB / 443.6 MB, free: 4.488 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.173e-05/0.003471, allocations: 11.92 kB / 443.6 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.003648, allocations: 79.81 kB / 443.7 MB, free: 4.398 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.00365, allocations: 0 / 443.7 MB, free: 4.398 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.01e-07/0.003651, allocations: 3.938 kB / 443.7 MB, free: 4.395 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.003659, allocations: 0 / 443.7 MB, free: 4.395 MB / 366.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.0004716/0.004131, allocations: 278.2 kB / 443.9 MB, free: 4.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.004167, allocations: 8.031 kB / 444 MB, free: 4.082 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.004208, allocations: 12.89 kB / 444 MB, free: 4.07 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.004323, allocations: 105.7 kB / 444.1 MB, free: 3.941 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.00433, allocations: 4.375 kB / 444.1 MB, free: 3.938 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.004357, allocations: 4.375 kB / 444.1 MB, free: 3.934 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002086/0.004565, allocations: 119.9 kB / 444.2 MB, free: 3.805 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.004577, allocations: 192 / 444.2 MB, free: 3.805 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.004588, allocations: 384 / 444.2 MB, free: 3.805 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.193e-05/0.00462, allocations: 24.3 kB / 444.2 MB, free: 3.781 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.00475, allocations: 75.81 kB / 444.3 MB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002269/0.004977, allocations: 137.2 kB / 444.4 MB, free: 3.543 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.005282, allocations: 122.8 kB / 444.5 MB, free: 3.414 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.534e-05/0.005378, allocations: 52.91 kB / 444.6 MB, free: 3.359 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.044e-05/0.005428, allocations: 11.98 kB / 444.6 MB, free: 3.348 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.005466, allocations: 34.56 kB / 444.6 MB, free: 3.305 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.005468, allocations: 0 / 444.6 MB, free: 3.305 MB / 366.1 MB Notification: Performance of matching and sorting (n=30): time 0.003742/0.009209, allocations: 2.209 MB / 446.9 MB, free: 1.066 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.009254, allocations: 55.64 kB / 446.9 MB, free: 1 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.877e-05/0.009343, allocations: 101.8 kB / 447 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.967e-05/0.009392, allocations: 29.7 kB / 447 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/0.009435, allocations: 80.64 kB / 447.1 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.009555, allocations: 95.14 kB / 447.2 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.009721, allocations: 101.6 kB / 447.3 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.00988, allocations: 322.8 kB / 447.6 MB, free: 256 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2086/0.2185, allocations: 0.5727 MB / 448.2 MB, free: 19.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000639/0.2191, allocations: 0.5795 MB / 448.8 MB, free: 19.11 MB / 366.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.002543/0.2217, allocations: 2.058 MB / 450.8 MB, free: 18.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2217, allocations: 0 / 450.8 MB, free: 18.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001976/0.2236, allocations: 1.711 MB / 452.5 MB, free: 18.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.2237, allocations: 5.375 kB / 452.5 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002041/0.2257, allocations: 1.526 MB / 454.1 MB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008411/0.2265, allocations: 415.6 kB / 454.5 MB, free: 18.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.2268, allocations: 59.89 kB / 454.5 MB, free: 18.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.2281, allocations: 1.185 MB / 455.7 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.2282, allocations: 9.688 kB / 455.7 MB, free: 17.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.461e-05/0.2283, allocations: 71.86 kB / 455.8 MB, free: 17.51 MB / 366.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.0001956/0.2285, allocations: 132.8 kB / 455.9 MB, free: 17.39 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.658e-05/0.2285, allocations: 14.44 kB / 455.9 MB, free: 17.39 MB / 366.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.001484/0.23, allocations: 0.8851 MB / 456.8 MB, free: 17.07 MB / 366.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.81100632250309] Failed to read output from testmodel.py, exit status != 0: ['time', 'xIntegrated'] 0.23829851672053337 0.251335706 0.245196882 Calling exit ...