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.001649/0.001649, allocations: 73.72 kB / 21.24 MB, free: 0.5547 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.002197/0.002197, allocations: 160.8 kB / 24.5 MB, free: 3.715 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.494/1.494, allocations: 177.2 MB / 204.9 MB, free: 8.992 MB / 190.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.2117/0.2117, allocations: 32.81 MB / 294.1 MB, free: 16 kB / 270.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.003138/0.003138, allocations: 63.84 kB / 440.5 MB, free: 9.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.4069, allocations: 65.44 MB / 0.4941 GB, free: 31.38 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001536/0.4085, allocations: 0.5124 MB / 0.4946 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000489/0.409, allocations: 211.6 kB / 0.4948 GB, free: 30.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.21e-05/0.409, allocations: 0 / 0.4948 GB, free: 30.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.4091, allocations: 11.27 kB / 0.4948 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.45e-05/0.4091, allocations: 7.062 kB / 0.4949 GB, free: 30.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000289/0.4094, allocations: 56.98 kB / 0.4949 GB, free: 30.9 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.68e-05/0.4095, allocations: 16.47 kB / 0.4949 GB, free: 30.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.888e-05/0.4095, allocations: 3.156 kB / 0.4949 GB, free: 30.9 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.014e-05/0.4095, allocations: 6.656 kB / 0.4949 GB, free: 30.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.904e-05/0.4096, allocations: 28 kB / 0.495 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.4097, allocations: 3.156 kB / 0.495 GB, free: 30.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.4098, allocations: 50.11 kB / 0.495 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.279e-05/0.4098, allocations: 13.73 kB / 0.495 GB, free: 30.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.64e-05/0.4098, allocations: 18.33 kB / 0.495 GB, free: 30.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.4099, allocations: 72.61 kB / 0.4951 GB, free: 30.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.41, allocations: 0 / 0.4951 GB, free: 30.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.41, allocations: 0 / 0.4951 GB, free: 30.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.41, allocations: 0 / 0.4951 GB, free: 30.84 MB / 446.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.0003973/0.4104, allocations: 279 kB / 0.4954 GB, free: 30.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.904e-05/0.4104, allocations: 13.06 kB / 0.4954 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.4104, allocations: 8.078 kB / 0.4954 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.835e-05/0.4105, allocations: 117 kB / 0.4955 GB, free: 30.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.4105, allocations: 4.375 kB / 0.4955 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.4105, allocations: 11.45 kB / 0.4955 GB, free: 30.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.4107, allocations: 115.5 kB / 0.4956 GB, free: 30.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.4107, allocations: 3.281 kB / 0.4956 GB, free: 30.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.4107, allocations: 3.938 kB / 0.4956 GB, free: 30.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.617e-05/0.4107, allocations: 20.42 kB / 0.4957 GB, free: 30.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.803e-05/0.4108, allocations: 63.14 kB / 0.4957 GB, free: 30.31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000136/0.411, allocations: 134.7 kB / 0.4958 GB, free: 30.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.4112, allocations: 115.4 kB / 0.496 GB, free: 30.13 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.432e-05/0.4112, allocations: 56.25 kB / 0.496 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.676e-05/0.4113, allocations: 9.328 kB / 0.496 GB, free: 30.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.574e-05/0.4113, allocations: 41.66 kB / 0.4961 GB, free: 30.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.763e-06/0.4113, allocations: 0 / 0.4961 GB, free: 30.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=30): time 0.002642/0.4139, allocations: 2.214 MB / 0.4982 GB, free: 29.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.454e-05/0.414, allocations: 54.86 kB / 0.4983 GB, free: 29.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.069e-05/0.414, allocations: 93.86 kB / 0.4984 GB, free: 29.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.414, allocations: 33.05 kB / 0.4984 GB, free: 29.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.568e-05/0.414, allocations: 80.64 kB / 0.4985 GB, free: 29.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.576e-05/0.4141, allocations: 103 kB / 0.4986 GB, free: 29.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.4142, allocations: 93.62 kB / 0.4987 GB, free: 29.08 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.215e-05/0.4143, allocations: 328.8 kB / 0.499 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004472/0.4147, allocations: 0.5745 MB / 0.4995 GB, free: 28.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004295/0.4152, allocations: 0.5792 MB / 0.5001 GB, free: 28.54 MB / 446.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.001972/0.4171, allocations: 2.063 MB / 0.5021 GB, free: 28.12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.4172, allocations: 4 kB / 0.5021 GB, free: 28.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00135/0.4185, allocations: 1.709 MB / 0.5038 GB, free: 27.8 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.4185, allocations: 6.219 kB / 0.5038 GB, free: 27.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001758/0.4203, allocations: 1.529 MB / 0.5053 GB, free: 27.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006336/0.4209, allocations: 410.3 kB / 0.5057 GB, free: 27.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.4211, allocations: 68.39 kB / 0.5057 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009276/0.422, allocations: 1.186 MB / 0.5069 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.4222, allocations: 5.25 kB / 0.5069 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-05/0.4222, allocations: 66.81 kB / 0.507 GB, free: 26.89 MB / 446.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.0001525/0.4224, allocations: 148.2 kB / 0.5071 GB, free: 26.76 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/0.4224, allocations: 9.609 kB / 0.5071 GB, free: 26.76 MB / 446.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.001266/0.4237, allocations: 0.8941 MB / 0.508 GB, free: 26.41 MB / 446.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.071337597910315] Failed to read output from testmodel.py, exit status != 0: ['time', 'xIntegrated'] 0.4327203150605783 0.44164879700000004 0.029301427 Calling exit ...