Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001342/0.001342, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001424/0.001424, allocations: 210.7 kB / 23.73 MB, free: 4.387 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.531/1.531, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2267/0.2267, allocations: 44.94 MB / 358.8 MB, free: 6.07 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 63.91 kB / 0.4935 GB, free: 10.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4078, allocations: 65.47 MB / 0.5574 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001787/0.4096, allocations: 0.5051 MB / 0.5579 GB, free: 7.016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005752/0.4102, allocations: 219.3 kB / 0.5581 GB, free: 6.801 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.601e-05/0.4102, allocations: 0 / 0.5581 GB, free: 6.801 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.4104, allocations: 4 kB / 0.5581 GB, free: 6.797 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.765e-05/0.4104, allocations: 7.969 kB / 0.5582 GB, free: 6.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003177/0.4107, allocations: 47.84 kB / 0.5582 GB, free: 6.742 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.536e-05/0.4108, allocations: 23.97 kB / 0.5582 GB, free: 6.719 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.591e-05/0.4108, allocations: 3.984 kB / 0.5582 GB, free: 6.715 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.536e-05/0.4109, allocations: 11.94 kB / 0.5582 GB, free: 6.703 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.411, allocations: 23.97 kB / 0.5583 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.411, allocations: 0 / 0.5583 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.4112, allocations: 51.95 kB / 0.5583 GB, free: 6.629 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.946e-05/0.4112, allocations: 15.92 kB / 0.5583 GB, free: 6.613 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.4112, allocations: 15.91 kB / 0.5583 GB, free: 6.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.4114, allocations: 78.05 kB / 0.5584 GB, free: 6.527 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.4114, allocations: 0 / 0.5584 GB, free: 6.527 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4114, allocations: 0 / 0.5584 GB, free: 6.527 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.4114, allocations: 4 kB / 0.5584 GB, free: 6.523 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.0005486/0.412, allocations: 274.2 kB / 0.5587 GB, free: 6.223 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.412, allocations: 8.031 kB / 0.5587 GB, free: 6.215 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.412, allocations: 8.891 kB / 0.5587 GB, free: 6.207 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.4122, allocations: 106.5 kB / 0.5588 GB, free: 6.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.4122, allocations: 4.375 kB / 0.5588 GB, free: 6.074 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.4122, allocations: 8.359 kB / 0.5588 GB, free: 6.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.4124, allocations: 115.9 kB / 0.5589 GB, free: 5.941 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.4124, allocations: 192 / 0.5589 GB, free: 5.941 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.4125, allocations: 7.922 kB / 0.5589 GB, free: 5.934 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.399e-05/0.4125, allocations: 19.98 kB / 0.559 GB, free: 5.914 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.4126, allocations: 67.89 kB / 0.559 GB, free: 5.848 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002181/0.4128, allocations: 145.2 kB / 0.5592 GB, free: 5.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.4131, allocations: 114.8 kB / 0.5593 GB, free: 5.555 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.432e-05/0.4132, allocations: 56.89 kB / 0.5593 GB, free: 5.496 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.51e-05/0.4133, allocations: 8 kB / 0.5593 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.4133, allocations: 34.56 kB / 0.5594 GB, free: 5.445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/0.4133, allocations: 3.938 kB / 0.5594 GB, free: 5.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.003907/0.4172, allocations: 2.209 MB / 0.5615 GB, free: 3.203 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.4173, allocations: 55.64 kB / 0.5616 GB, free: 3.137 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.713e-05/0.4174, allocations: 101.8 kB / 0.5617 GB, free: 3.027 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.4174, allocations: 29.7 kB / 0.5617 GB, free: 2.992 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.394e-05/0.4175, allocations: 84.75 kB / 0.5618 GB, free: 2.906 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.4176, allocations: 103.1 kB / 0.5619 GB, free: 2.805 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.4177, allocations: 93.66 kB / 0.562 GB, free: 2.707 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.4179, allocations: 322.8 kB / 0.5623 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006693/0.4186, allocations: 0.5817 MB / 0.5628 GB, free: 1.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006738/0.4192, allocations: 0.5778 MB / 0.5634 GB, free: 1.223 MB / 398.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.002828/0.4221, allocations: 2.064 MB / 0.5654 GB, free: 15.16 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.4221, allocations: 4 kB / 0.5654 GB, free: 15.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002111/0.4242, allocations: 1.706 MB / 0.5671 GB, free: 13.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.4242, allocations: 4 kB / 0.5671 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002072/0.4263, allocations: 1.532 MB / 0.5686 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007725/0.4271, allocations: 412.5 kB / 0.569 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/0.4273, allocations: 59.89 kB / 0.569 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.4287, allocations: 1.185 MB / 0.5702 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.4288, allocations: 4 kB / 0.5702 GB, free: 10.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.12e-05/0.4289, allocations: 71.97 kB / 0.5703 GB, free: 10.15 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.0002237/0.4291, allocations: 141.7 kB / 0.5704 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.19e-05/0.4291, allocations: 8.016 kB / 0.5704 GB, free: 9.992 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.001545/0.4307, allocations: 0.8859 MB / 0.5713 GB, free: 9.098 MB / 414.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.2327204942703247] Failed to read output from testmodel.py, exit status != 0: ['time', 'xIntegrated'] 0.4396955091506243 0.45522436800000005 0.040708635 Calling exit ...