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.001513/0.001513, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001559/0.001559, allocations: 216.3 kB / 23.75 MB, free: 4.668 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.517/1.517, allocations: 230.6 MB / 257.5 MB, free: 7.984 MB / 206.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.2517/0.2517, allocations: 46.93 MB / 360.8 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002375/0.002375, allocations: 63.91 kB / 0.4966 GB, free: 7.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3975, allocations: 66.03 MB / 0.5611 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001798/0.3993, allocations: 0.5186 MB / 0.5616 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005929/0.3999, allocations: 227.4 kB / 0.5618 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.7e-05/0.3999, allocations: 3.938 kB / 0.5618 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000164/0.4001, allocations: 4 kB / 0.5618 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.754e-05/0.4001, allocations: 3.984 kB / 0.5618 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003344/0.4005, allocations: 51.83 kB / 0.5619 GB, free: 3.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.406e-05/0.4005, allocations: 19.92 kB / 0.5619 GB, free: 3.602 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.42e-05/0.4006, allocations: 3.984 kB / 0.5619 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.497e-05/0.4006, allocations: 12 kB / 0.5619 GB, free: 3.586 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.4008, allocations: 27.89 kB / 0.562 GB, free: 3.559 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.4008, allocations: 8 kB / 0.562 GB, free: 3.551 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.4009, allocations: 51.94 kB / 0.562 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.376e-05/0.4009, allocations: 8 kB / 0.562 GB, free: 3.492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.206e-05/0.401, allocations: 19.86 kB / 0.562 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.4012, allocations: 78.05 kB / 0.5621 GB, free: 3.402 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4012, allocations: 0 / 0.5621 GB, free: 3.402 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4012, allocations: 0 / 0.5621 GB, free: 3.402 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.4012, allocations: 0 / 0.5621 GB, free: 3.402 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.0005723/0.4018, allocations: 274.2 kB / 0.5624 GB, free: 3.102 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.4018, allocations: 8.031 kB / 0.5624 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.013e-05/0.4018, allocations: 12.89 kB / 0.5624 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.402, allocations: 110.5 kB / 0.5625 GB, free: 2.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.402, allocations: 8.359 kB / 0.5625 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.402, allocations: 4.375 kB / 0.5625 GB, free: 2.938 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002443/0.4023, allocations: 96.97 kB / 0.5626 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.4023, allocations: 192 / 0.5626 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.4023, allocations: 3.938 kB / 0.5626 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.392e-05/0.4023, allocations: 19.94 kB / 0.5626 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.4025, allocations: 63.94 kB / 0.5627 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002277/0.4027, allocations: 168.6 kB / 0.5628 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/0.403, allocations: 114.7 kB / 0.563 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.624e-05/0.4031, allocations: 57.02 kB / 0.563 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.44e-05/0.4031, allocations: 11.98 kB / 0.563 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.4032, allocations: 34.56 kB / 0.5631 GB, free: 2.312 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.332e-06/0.4032, allocations: 4 kB / 0.5631 GB, free: 2.309 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.00355/0.4067, allocations: 2.221 MB / 0.5652 GB, free: 56 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.563e-05/0.4068, allocations: 55.64 kB / 0.5653 GB, free: 15.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.952e-05/0.4069, allocations: 89.86 kB / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.4069, allocations: 29.7 kB / 0.5654 GB, free: 15.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.292e-05/0.407, allocations: 80.64 kB / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.4071, allocations: 107.1 kB / 0.5656 GB, free: 15.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.4072, allocations: 93.64 kB / 0.5657 GB, free: 15.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.4074, allocations: 330.9 kB / 0.566 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006652/0.4081, allocations: 0.5778 MB / 0.5665 GB, free: 14.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006728/0.4087, allocations: 0.5817 MB / 0.5671 GB, free: 14.08 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.002783/0.4115, allocations: 2.06 MB / 0.5691 GB, free: 12.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4115, allocations: 0 / 0.5691 GB, free: 12.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002084/0.4136, allocations: 1.71 MB / 0.5708 GB, free: 10.3 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.4136, allocations: 4 kB / 0.5708 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002089/0.4157, allocations: 1.52 MB / 0.5723 GB, free: 8.77 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007565/0.4165, allocations: 408.5 kB / 0.5727 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002371/0.4167, allocations: 67.89 kB / 0.5727 GB, free: 8.301 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.418, allocations: 1.181 MB / 0.5739 GB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.4181, allocations: 8 kB / 0.5739 GB, free: 7.086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.698e-05/0.4182, allocations: 68 kB / 0.574 GB, free: 7.02 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.0002517/0.4185, allocations: 145.8 kB / 0.5741 GB, free: 6.867 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.125e-05/0.4185, allocations: 7.953 kB / 0.5741 GB, free: 6.859 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.00163/0.4201, allocations: 0.8859 MB / 0.575 GB, free: 5.965 MB / 414.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.334591274149716] Failed to read output from testmodel.py, exit status != 0: ['time', 'xIntegrated'] 0.4295641598291695 0.44323441 0.038952812 Calling exit ...