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.001284/0.001284, allocations: 75.69 kB / 21.7 MB, free: 2.848 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.0009878/0.0009878, allocations: 165.1 kB / 24.99 MB, free: 8.797 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 1.016/1.016, allocations: 177 MB / 205.2 MB, free: 5.586 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.3096/0.3096, allocations: 34.87 MB / 296.6 MB, free: 0.5625 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 2.064e-06/2.064e-06, allocations: 0 / 378.7 MB, free: 2.438 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.209e-05/4.415e-05, allocations: 8.5 kB / 378.7 MB, free: 2.43 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.002432/0.002477, allocations: 0.524 MB / 379.3 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006865/0.003163, allocations: 219.5 kB / 379.5 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.551e-05/0.003219, allocations: 4 kB / 379.5 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002192/0.003438, allocations: 7.938 kB / 379.5 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.463e-05/0.003472, allocations: 3.984 kB / 379.5 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.003936, allocations: 51.83 kB / 379.5 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.983e-05/0.004036, allocations: 15.97 kB / 379.5 MB, free: 1.605 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.003e-05/0.004096, allocations: 3.984 kB / 379.6 MB, free: 1.602 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.025e-05/0.004146, allocations: 19.92 kB / 379.6 MB, free: 1.582 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.004295, allocations: 23.91 kB / 379.6 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.004319, allocations: 4 kB / 379.6 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.004492, allocations: 51.89 kB / 379.6 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.823e-05/0.00454, allocations: 19.97 kB / 379.7 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.894e-05/0.004579, allocations: 7.922 kB / 379.7 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.004809, allocations: 75.83 kB / 379.7 MB, free: 1.402 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.004813, allocations: 0 / 379.7 MB, free: 1.402 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.004815, allocations: 4 kB / 379.8 MB, free: 1.398 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.004822, allocations: 0 / 379.8 MB, free: 1.398 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.000655/0.005477, allocations: 380.5 kB / 380.1 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/0.005538, allocations: 11.97 kB / 380.1 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.487e-05/0.005622, allocations: 8.891 kB / 380.1 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.005779, allocations: 120.5 kB / 380.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.005797, allocations: 384 / 380.3 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/0.005837, allocations: 4.375 kB / 380.3 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.006046, allocations: 87.84 kB / 380.4 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.006064, allocations: 192 / 380.4 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.751e-05/0.006081, allocations: 4.375 kB / 380.4 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.038e-05/0.006142, allocations: 12.36 kB / 380.4 MB, free: 0.707 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001078/0.006249, allocations: 42.02 kB / 380.4 MB, free: 0.668 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002215/0.006471, allocations: 128.6 kB / 380.5 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/0.006774, allocations: 83.22 kB / 380.6 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.689e-05/0.006851, allocations: 39.8 kB / 380.7 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.97e-05/0.006921, allocations: 11.98 kB / 380.7 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/0.00696, allocations: 41.39 kB / 380.7 MB, free: 316 kB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 3.627e-06/0.006964, allocations: 0 / 380.7 MB, free: 316 kB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.002957/0.009921, allocations: 1.481 MB / 382.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.009976, allocations: 55.64 kB / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.01011, allocations: 153.9 kB / 382.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.817e-05/0.01017, allocations: 29.7 kB / 382.4 MB, free: 14.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.184e-05/0.01023, allocations: 135.4 kB / 382.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.01039, allocations: 107.1 kB / 382.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/0.01058, allocations: 95.31 kB / 382.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000202/0.01078, allocations: 0.4962 MB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004473/0.01123, allocations: 347.9 kB / 383.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000437/0.01167, allocations: 351.9 kB / 383.9 MB, free: 12.99 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.001394/0.01306, allocations: 1.075 MB / 385 MB, free: 11.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.01306, allocations: 0 / 385 MB, free: 11.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001312/0.01438, allocations: 0.9013 MB / 385.9 MB, free: 11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.0144, allocations: 4 kB / 385.9 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001559/0.01596, allocations: 0.8125 MB / 386.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007278/0.01669, allocations: 179.5 kB / 386.9 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.01697, allocations: 59.91 kB / 387 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/0.01808, allocations: 0.9287 MB / 387.9 MB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.01821, allocations: 4 kB / 387.9 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.01831, allocations: 71.97 kB / 388 MB, free: 8.91 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.0003336/0.01865, allocations: 172.6 kB / 388.1 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.089e-05/0.01874, allocations: 19.89 kB / 388.2 MB, free: 8.711 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.001311/0.02005, allocations: 0.6403 MB / 388.8 MB, free: 8.074 MB / 362.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.051724284188822]