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.0008683/0.0008683, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004192/0.004192, allocations: 162.2 kB / 24.7 MB, free: 9.426 MB / 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 0.8766/0.8766, allocations: 177.2 MB / 205 MB, free: 5.355 MB / 186.7 MB " [Timeout remaining time 179] 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.2339/0.2339, allocations: 34.26 MB / 295.7 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 180] 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.754e-06/1.754e-06, allocations: 0 / 443.4 MB, free: 1.207 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.275e-05, allocations: 6.281 kB / 443.4 MB, free: 1.199 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.0009614/0.0009842, allocations: 0.505 MB / 443.9 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003655/0.00135, allocations: 211.4 kB / 444.1 MB, free: 500 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.361e-05/0.001373, allocations: 3.938 kB / 444.1 MB, free: 496 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.001515, allocations: 15.88 kB / 444.2 MB, free: 480 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 2.178e-05/0.001537, allocations: 0 / 444.2 MB, free: 480 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.001791, allocations: 47.88 kB / 444.2 MB, free: 432 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.806e-05/0.001849, allocations: 19.92 kB / 444.2 MB, free: 412 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.909e-05/0.001888, allocations: 3.984 kB / 444.2 MB, free: 408 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.475e-05/0.001923, allocations: 15.92 kB / 444.2 MB, free: 392 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.858e-05/0.002021, allocations: 19.97 kB / 444.3 MB, free: 372 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.002038, allocations: 4 kB / 444.3 MB, free: 368 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.672e-05/0.002125, allocations: 51.94 kB / 444.3 MB, free: 316 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.026e-05/0.002155, allocations: 11.98 kB / 444.3 MB, free: 304 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.156e-05/0.002176, allocations: 15.92 kB / 444.3 MB, free: 288 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001374/0.002314, allocations: 87.69 kB / 444.4 MB, free: 200 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.002316, allocations: 0 / 444.4 MB, free: 200 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.002317, allocations: 0 / 444.4 MB, free: 200 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.002321, allocations: 0 / 444.4 MB, free: 200 kB / 410.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.1778/0.1802, allocations: 272.3 kB / 444.7 MB, free: 44.32 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1802, allocations: 10.59 kB / 444.7 MB, free: 44.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.071e-05/0.1802, allocations: 6.922 kB / 444.7 MB, free: 44.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.172e-05/0.1803, allocations: 109.8 kB / 444.8 MB, free: 44.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1803, allocations: 3.75 kB / 444.8 MB, free: 44.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.1803, allocations: 7.844 kB / 444.8 MB, free: 44.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.1805, allocations: 122.1 kB / 445 MB, free: 44.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1805, allocations: 2.938 kB / 445 MB, free: 44.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.1805, allocations: 3.656 kB / 445 MB, free: 44.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.1805, allocations: 11.06 kB / 445 MB, free: 44.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.177e-05/0.1806, allocations: 75.34 kB / 445 MB, free: 44.13 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001165/0.1807, allocations: 132.3 kB / 445.2 MB, free: 44.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.1809, allocations: 128 kB / 445.3 MB, free: 43.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.932e-05/0.181, allocations: 55.53 kB / 445.3 MB, free: 43.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.253e-05/0.181, allocations: 11.3 kB / 445.4 MB, free: 43.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.325e-05/0.181, allocations: 33.84 kB / 445.4 MB, free: 43.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.492e-06/0.181, allocations: 0.7188 kB / 445.4 MB, free: 43.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.001937/0.183, allocations: 2.217 MB / 447.6 MB, free: 43.68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.183, allocations: 57.36 kB / 447.7 MB, free: 43.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.482e-05/0.183, allocations: 89.86 kB / 447.8 MB, free: 43.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.183, allocations: 32.52 kB / 447.8 MB, free: 43.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.041e-05/0.1831, allocations: 80.64 kB / 447.9 MB, free: 43.4 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.405e-05/0.1831, allocations: 100.9 kB / 448 MB, free: 43.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.576e-05/0.1832, allocations: 96.66 kB / 448.1 MB, free: 43.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.144e-05/0.1832, allocations: 320.9 kB / 448.4 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/0.1835, allocations: 0.5787 MB / 449 MB, free: 42.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003051/0.1838, allocations: 0.5846 MB / 449.5 MB, free: 42.75 MB / 410.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.001275/0.1851, allocations: 2.059 MB / 451.6 MB, free: 42.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1851, allocations: 0 / 451.6 MB, free: 42.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009996/0.1861, allocations: 1.71 MB / 453.3 MB, free: 42.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1861, allocations: 9.469 kB / 453.3 MB, free: 42.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001003/0.1871, allocations: 1.527 MB / 454.8 MB, free: 41.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004043/0.1875, allocations: 413.8 kB / 455.2 MB, free: 41.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.1876, allocations: 58.62 kB / 455.3 MB, free: 41.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000625/0.1883, allocations: 1.192 MB / 456.5 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.187e-05/0.1883, allocations: 3.219 kB / 456.5 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.964e-05/0.1884, allocations: 69.3 kB / 456.6 MB, free: 41.13 MB / 410.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.0001472/0.1885, allocations: 140.6 kB / 456.7 MB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.1885, allocations: 14.52 kB / 456.7 MB, free: 41 MB / 410.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.0007671/0.1893, allocations: 0.8987 MB / 457.6 MB, free: 40.7 MB / 410.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.9459855826571584] Failed to read output from testmodel.py, exit status != 0: ['time', 'xIntegrated'] 0.19395195320248604 0.20022277300000002 0.19630270300000002 Calling exit ...