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.001799/0.001799, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.002367/0.002367, allocations: 206.1 kB / 23.72 MB, free: 4.391 MB / 14.72 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 1.47/1.47, allocations: 230.5 MB / 257.4 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.2513/0.2513, allocations: 46.94 MB / 360.8 MB, free: 4.051 MB / 286.1 MB " [Timeout remaining time 179] 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 0.00269/0.00269, allocations: 79.86 kB / 0.4966 GB, free: 7.098 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4002/0.4029, allocations: 66.09 MB / 0.5612 GB, free: 4.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001765/0.4047, allocations: 0.5071 MB / 0.5617 GB, free: 3.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006048/0.4053, allocations: 215.4 kB / 0.5619 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.452e-05/0.4053, allocations: 0 / 0.5619 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001517/0.4055, allocations: 3.984 kB / 0.5619 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.914e-05/0.4055, allocations: 4 kB / 0.5619 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.4058, allocations: 51.81 kB / 0.5619 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.608e-05/0.4059, allocations: 27.92 kB / 0.5619 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.731e-05/0.4059, allocations: 0 / 0.5619 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.141e-05/0.406, allocations: 4 kB / 0.5619 GB, free: 3.211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.4061, allocations: 27.91 kB / 0.562 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.4061, allocations: 3.984 kB / 0.562 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.4062, allocations: 55.88 kB / 0.562 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.001e-05/0.4063, allocations: 12 kB / 0.562 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.4063, allocations: 19.86 kB / 0.5621 GB, free: 3.094 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.4065, allocations: 70.17 kB / 0.5621 GB, free: 3.031 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.4065, allocations: 3.984 kB / 0.5621 GB, free: 3.027 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4065, allocations: 4 kB / 0.5621 GB, free: 3.023 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.318e-06/0.4065, allocations: 3.938 kB / 0.5621 GB, free: 3.02 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.0005108/0.407, allocations: 274.2 kB / 0.5624 GB, free: 2.719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.407, allocations: 12.02 kB / 0.5624 GB, free: 2.707 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.4071, allocations: 8.891 kB / 0.5624 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.4072, allocations: 106.5 kB / 0.5625 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.4072, allocations: 4.375 kB / 0.5625 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.4072, allocations: 384 / 0.5625 GB, free: 2.566 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.4074, allocations: 127.8 kB / 0.5627 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.4075, allocations: 192 / 0.5627 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.4075, allocations: 11.88 kB / 0.5627 GB, free: 2.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.498e-05/0.4075, allocations: 8 kB / 0.5627 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.4076, allocations: 67.94 kB / 0.5627 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002221/0.4079, allocations: 137.2 kB / 0.5629 GB, free: 2.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003638/0.4082, allocations: 120.9 kB / 0.563 GB, free: 2.055 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.4083, allocations: 56.89 kB / 0.563 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.24e-05/0.4084, allocations: 4 kB / 0.563 GB, free: 1.992 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.364e-05/0.4084, allocations: 34.56 kB / 0.5631 GB, free: 1.949 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.4084, allocations: 0 / 0.5631 GB, free: 1.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.003603/0.412, allocations: 2.227 MB / 0.5652 GB, free: 15.69 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/0.4121, allocations: 55.64 kB / 0.5653 GB, free: 15.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.17e-05/0.4121, allocations: 89.86 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.743e-05/0.4122, allocations: 33.7 kB / 0.5654 GB, free: 15.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.4122, allocations: 80.77 kB / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.4124, allocations: 107.1 kB / 0.5656 GB, free: 15.3 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.4125, allocations: 89.64 kB / 0.5657 GB, free: 15.21 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.4127, allocations: 326.8 kB / 0.566 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000681/0.4134, allocations: 0.5856 MB / 0.5666 GB, free: 14.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000659/0.414, allocations: 0.5778 MB / 0.5671 GB, free: 13.71 MB / 414.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.002789/0.4168, allocations: 2.06 MB / 0.5691 GB, free: 11.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4168, allocations: 0 / 0.5691 GB, free: 11.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002041/0.4189, allocations: 1.706 MB / 0.5708 GB, free: 9.938 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.4189, allocations: 4 kB / 0.5708 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00211/0.421, allocations: 1.532 MB / 0.5723 GB, free: 8.398 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007751/0.4218, allocations: 408.5 kB / 0.5727 GB, free: 7.996 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.422, allocations: 67.89 kB / 0.5728 GB, free: 7.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/0.4233, allocations: 1.189 MB / 0.5739 GB, free: 6.715 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001171/0.4234, allocations: 8.031 kB / 0.5739 GB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.035e-05/0.4235, allocations: 67.97 kB / 0.574 GB, free: 6.641 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.0002875/0.4237, allocations: 141.7 kB / 0.5741 GB, free: 6.492 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/0.4238, allocations: 8.016 kB / 0.5741 GB, free: 6.484 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.001549/0.4253, allocations: 0.8936 MB / 0.575 GB, free: 5.582 MB / 414.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.222732897847891] Failed to read output from testmodel.py, exit status != 0: ['time', 'xIntegrated'] 0.4351563584059477 0.45086291799999995 0.04124870799999994 Calling exit ...