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.001429/0.001429, allocations: 84.34 kB / 20.95 MB, free: 3.453 MB / 18.57 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.001547/0.001547, allocations: 169.3 kB / 24.27 MB, free: 144 kB / 18.57 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: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 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.3759/0.3759, allocations: 34.26 MB / 295.3 MB, free: 0.668 MB / 266.7 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 1.593e-06/1.593e-06, allocations: 0 / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.173e-05/3.332e-05, allocations: 2.312 kB / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001623/0.001656, allocations: 0.5089 MB / 377.8 MB, free: 2.469 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006205/0.002276, allocations: 219.3 kB / 378 MB, free: 2.254 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.61e-05/0.002303, allocations: 0 / 378 MB, free: 2.254 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001828/0.002485, allocations: 11.92 kB / 378 MB, free: 2.242 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.523e-05/0.002521, allocations: 7.922 kB / 378 MB, free: 2.234 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.002875, allocations: 39.89 kB / 378 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.264e-05/0.002968, allocations: 27.91 kB / 378.1 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.714e-05/0.003015, allocations: 3.984 kB / 378.1 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.058e-05/0.003065, allocations: 19.98 kB / 378.1 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.003203, allocations: 19.95 kB / 378.1 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.493e-05/0.003228, allocations: 4 kB / 378.1 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.003368, allocations: 47.95 kB / 378.2 MB, free: 2.074 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.583e-05/0.003414, allocations: 15.92 kB / 378.2 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.078e-05/0.003455, allocations: 15.92 kB / 378.2 MB, free: 2.043 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.003653, allocations: 79.7 kB / 378.3 MB, free: 1.965 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.003656, allocations: 0 / 378.3 MB, free: 1.965 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.003657, allocations: 0 / 378.3 MB, free: 1.965 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.003662, allocations: 0 / 378.3 MB, free: 1.965 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.0006494/0.004312, allocations: 282.2 kB / 378.6 MB, free: 1.656 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.004359, allocations: 8.031 kB / 378.6 MB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.49e-05/0.004434, allocations: 8.922 kB / 378.6 MB, free: 1.641 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.004591, allocations: 113.7 kB / 378.7 MB, free: 1.504 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.274e-05/0.004613, allocations: 4.375 kB / 378.7 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.281e-05/0.004656, allocations: 8.312 kB / 378.7 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.004958, allocations: 119.4 kB / 378.8 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.004973, allocations: 192 / 378.8 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.004989, allocations: 384 / 378.8 MB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.994e-05/0.005029, allocations: 12.38 kB / 378.8 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001632/0.005192, allocations: 71.88 kB / 378.9 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002686/0.005461, allocations: 137.1 kB / 379 MB, free: 1.121 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003664/0.005827, allocations: 118.8 kB / 379.1 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.005929, allocations: 56.89 kB / 379.2 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.01e-05/0.005989, allocations: 15.84 kB / 379.2 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.006029, allocations: 34.56 kB / 379.2 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.00603, allocations: 0 / 379.2 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.004181/0.01021, allocations: 2.229 MB / 381.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.457e-05/0.01027, allocations: 55.64 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.434e-05/0.01036, allocations: 93.86 kB / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.715e-05/0.01041, allocations: 29.7 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/0.01046, allocations: 80.64 kB / 381.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.0106, allocations: 99.12 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/0.01077, allocations: 93.78 kB / 381.9 MB, free: 14.13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.01095, allocations: 326.8 kB / 382.2 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007554/0.01171, allocations: 0.5817 MB / 382.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007463/0.01245, allocations: 0.5778 MB / 383.4 MB, free: 12.64 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.003137/0.01559, allocations: 2.052 MB / 385.5 MB, free: 10.59 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01559, allocations: 0 / 385.5 MB, free: 10.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00238/0.01797, allocations: 1.718 MB / 387.2 MB, free: 8.863 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/0.018, allocations: 8 kB / 387.2 MB, free: 8.855 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002386/0.02038, allocations: 1.532 MB / 388.7 MB, free: 7.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000964/0.02135, allocations: 424.5 kB / 389.1 MB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.0216, allocations: 63.89 kB / 389.2 MB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/0.02318, allocations: 1.192 MB / 390.4 MB, free: 5.621 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.02331, allocations: 4 kB / 390.4 MB, free: 5.617 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.02341, allocations: 68 kB / 390.4 MB, free: 5.551 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.0002647/0.02367, allocations: 145.8 kB / 390.6 MB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.051e-05/0.02376, allocations: 19.89 kB / 390.6 MB, free: 5.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.001827/0.02558, allocations: 0.8865 MB / 391.5 MB, free: 4.496 MB / 362.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.603839156916365]