Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001165/0.001165, allocations: 88.28 kB / 21.44 MB, free: 3.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003743/0.003743, allocations: 154.5 kB / 24.69 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8752/0.8752, allocations: 177 MB / 204.9 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2595/0.2595, allocations: 34.24 MB / 295.6 MB, free: 0.7031 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 443.4 MB, free: 1.109 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.485e-05, allocations: 4.812 kB / 443.4 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001027/0.001051, allocations: 0.5128 MB / 443.9 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004264/0.001478, allocations: 207.4 kB / 444.1 MB, free: 400 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.306e-05/0.001501, allocations: 4 kB / 444.1 MB, free: 396 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.001643, allocations: 7.875 kB / 444.1 MB, free: 388 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.426e-05/0.001667, allocations: 7.922 kB / 444.1 MB, free: 380 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.00194, allocations: 47.83 kB / 444.2 MB, free: 332 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 6.449e-05/0.002005, allocations: 15.98 kB / 444.2 MB, free: 316 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.145e-05/0.002046, allocations: 11.98 kB / 444.2 MB, free: 304 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.501e-05/0.002081, allocations: 11.98 kB / 444.2 MB, free: 292 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.002186, allocations: 27.91 kB / 444.2 MB, free: 264 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.002201, allocations: 0 / 444.2 MB, free: 264 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.113e-05/0.002292, allocations: 51.88 kB / 444.3 MB, free: 212 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.337e-05/0.002325, allocations: 15.98 kB / 444.3 MB, free: 196 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.399e-05/0.002349, allocations: 11.94 kB / 444.3 MB, free: 184 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.002497, allocations: 83.73 kB / 444.4 MB, free: 100 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.002501, allocations: 4 kB / 444.4 MB, free: 96 kB / 410.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.002502, allocations: 0 / 444.4 MB, free: 96 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.002507, allocations: 0 / 444.4 MB, free: 96 kB / 410.7 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.1901/0.1926, allocations: 275.9 kB / 444.7 MB, free: 44.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.1927, allocations: 10.69 kB / 444.7 MB, free: 44.37 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.1927, allocations: 7.172 kB / 444.7 MB, free: 44.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.114e-05/0.1928, allocations: 110.1 kB / 444.8 MB, free: 44.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1928, allocations: 3.25 kB / 444.8 MB, free: 44.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.1928, allocations: 7.75 kB / 444.8 MB, free: 44.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.1929, allocations: 118.4 kB / 444.9 MB, free: 44.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.193, allocations: 192 / 444.9 MB, free: 44.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.193, allocations: 384 / 444.9 MB, free: 44.18 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.193, allocations: 15.02 kB / 444.9 MB, free: 44.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.414e-05/0.1931, allocations: 72.45 kB / 445 MB, free: 44.18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001159/0.1932, allocations: 139.4 kB / 445.2 MB, free: 44.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.1934, allocations: 117 kB / 445.3 MB, free: 44.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.111e-05/0.1934, allocations: 57.98 kB / 445.3 MB, free: 44.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.267e-05/0.1935, allocations: 17.48 kB / 445.3 MB, free: 44.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.357e-05/0.1935, allocations: 32.44 kB / 445.4 MB, free: 43.98 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.783e-06/0.1935, allocations: 2.906 kB / 445.4 MB, free: 43.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.001902/0.1954, allocations: 2.214 MB / 447.6 MB, free: 43.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.314e-05/0.1954, allocations: 54.52 kB / 447.6 MB, free: 43.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.18e-05/0.1955, allocations: 94.83 kB / 447.7 MB, free: 43.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.1955, allocations: 33.08 kB / 447.8 MB, free: 43.35 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.598e-06/0.1955, allocations: 80.64 kB / 447.8 MB, free: 43.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.1955, allocations: 102.1 kB / 447.9 MB, free: 43.19 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.69e-05/0.1956, allocations: 97.2 kB / 448 MB, free: 43.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.922e-05/0.1956, allocations: 321 kB / 448.4 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003215/0.196, allocations: 0.5774 MB / 448.9 MB, free: 42.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003232/0.1963, allocations: 0.5903 MB / 449.5 MB, free: 42.62 MB / 410.7 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.001417/0.1977, allocations: 2.051 MB / 451.6 MB, free: 42.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1977, allocations: 0 / 451.6 MB, free: 42.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001046/0.1988, allocations: 1.71 MB / 453.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1988, allocations: 3.25 kB / 453.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001016/0.1998, allocations: 1.532 MB / 454.8 MB, free: 41.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004023/0.2002, allocations: 409.1 kB / 455.2 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.2003, allocations: 60.28 kB / 455.3 MB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006081/0.2009, allocations: 1.193 MB / 456.5 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.127e-05/0.201, allocations: 7.375 kB / 456.5 MB, free: 41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.424e-05/0.201, allocations: 68.91 kB / 456.5 MB, free: 40.99 MB / 410.7 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.0001327/0.2011, allocations: 137.3 kB / 456.7 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.2012, allocations: 14.55 kB / 456.7 MB, free: 40.86 MB / 410.7 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.0007722/0.2019, allocations: 0.8899 MB / 457.6 MB, free: 40.54 MB / 410.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.016343092545867] Failed to read output from testmodel.py, exit status != 0: ['time', 'xIntegrated'] 0.20664734859019518 0.21336612200000002 0.20920147300000003 Calling exit ...