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.001039/0.001039, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001533/0.001533, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9715/0.9715, allocations: 177 MB / 204.8 MB, free: 5.559 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.2687/0.2687, allocations: 34.86 MB / 296.3 MB, free: 0.5352 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.693e-06/1.693e-06, allocations: 0 / 378.7 MB, free: 2.109 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.632e-05/2.801e-05, allocations: 6.25 kB / 378.7 MB, free: 2.102 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001207/0.001235, allocations: 0.5265 MB / 379.3 MB, free: 1.574 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004314/0.001666, allocations: 219.5 kB / 379.5 MB, free: 1.359 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.704e-05/0.001693, allocations: 4 kB / 379.5 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001564/0.00185, allocations: 3.938 kB / 379.5 MB, free: 1.352 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.604e-05/0.001876, allocations: 15.92 kB / 379.5 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.00216, allocations: 43.88 kB / 379.6 MB, free: 1.293 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.47e-05/0.002225, allocations: 15.98 kB / 379.6 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.862e-05/0.002263, allocations: 0 / 379.6 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.636e-05/0.0023, allocations: 15.97 kB / 379.6 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.002409, allocations: 27.91 kB / 379.6 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.002428, allocations: 0 / 379.6 MB, free: 1.234 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.002546, allocations: 59.83 kB / 379.7 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.094e-05/0.002587, allocations: 15.97 kB / 379.7 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/0.00262, allocations: 15.92 kB / 379.7 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.002782, allocations: 75.83 kB / 379.8 MB, free: 1.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.002785, allocations: 0 / 379.8 MB, free: 1.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.002786, allocations: 0 / 379.8 MB, free: 1.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.303e-06/0.002793, allocations: 3.938 kB / 379.8 MB, free: 1.066 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004342/0.003228, allocations: 376.5 kB / 380.1 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.003271, allocations: 8.031 kB / 380.2 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.714e-05/0.003318, allocations: 12.89 kB / 380.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.128e-05/0.00341, allocations: 116.5 kB / 380.3 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.003423, allocations: 8.375 kB / 380.3 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.003449, allocations: 384 / 380.3 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.003583, allocations: 87.86 kB / 380.4 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.003593, allocations: 192 / 380.4 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.003605, allocations: 8.344 kB / 380.4 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.197e-05/0.003637, allocations: 8.375 kB / 380.4 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.758e-05/0.003695, allocations: 39.91 kB / 380.4 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001392/0.003834, allocations: 124.6 kB / 380.6 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.004018, allocations: 87.34 kB / 380.6 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.365e-05/0.004062, allocations: 31.73 kB / 380.7 MB, free: 52 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.206e-05/0.004104, allocations: 12 kB / 380.7 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.839e-05/0.004142, allocations: 49.44 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.142e-06/0.004144, allocations: 0 / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.002029/0.006173, allocations: 1.478 MB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.006205, allocations: 59.64 kB / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.266e-05/0.006278, allocations: 149.9 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.006304, allocations: 29.7 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.849e-05/0.006342, allocations: 131.4 kB / 382.6 MB, free: 14.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.202e-05/0.006424, allocations: 107.1 kB / 382.7 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.006531, allocations: 95.31 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.006648, allocations: 0.4923 MB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.006895, allocations: 351.9 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002434/0.007139, allocations: 355.9 kB / 384 MB, free: 12.67 MB / 362.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.0008073/0.007946, allocations: 1.071 MB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.007948, allocations: 4 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008367/0.008785, allocations: 0.8936 MB / 385.9 MB, free: 10.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.008804, allocations: 11.94 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008429/0.009647, allocations: 0.8163 MB / 386.7 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003969/0.01004, allocations: 179.5 kB / 386.9 MB, free: 9.676 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.01017, allocations: 63.89 kB / 387 MB, free: 9.613 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005664/0.01074, allocations: 0.9171 MB / 387.9 MB, free: 8.664 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.688e-05/0.0108, allocations: 8 kB / 387.9 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.065e-05/0.01086, allocations: 71.97 kB / 388 MB, free: 8.586 MB / 362.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.000463/0.01132, allocations: 172.5 kB / 388.1 MB, free: 8.406 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/0.01137, allocations: 27.92 kB / 388.2 MB, free: 8.379 MB / 362.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.0007743/0.01214, allocations: 0.6286 MB / 388.8 MB, free: 7.754 MB / 362.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.921302044764161]