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.00126/0.00126, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001397/0.001397, allocations: 209.2 kB / 24.47 MB, free: 3.977 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.407/1.407, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.2357/0.2357, allocations: 46.95 MB / 361.6 MB, free: 4.031 MB / 286.1 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 0.001985/0.001985, allocations: 67.88 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3745, allocations: 66.04 MB / 0.5618 GB, free: 4.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.00169/0.3762, allocations: 0.5109 MB / 0.5623 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005642/0.3768, allocations: 207.5 kB / 0.5625 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.194e-05/0.3768, allocations: 0 / 0.5625 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001418/0.3769, allocations: 15.92 kB / 0.5625 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.947e-05/0.377, allocations: 4 kB / 0.5625 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000313/0.3773, allocations: 47.89 kB / 0.5626 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.333e-05/0.3774, allocations: 23.91 kB / 0.5626 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.063e-05/0.3774, allocations: 0 / 0.5626 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.569e-05/0.3774, allocations: 11.92 kB / 0.5626 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.3775, allocations: 19.98 kB / 0.5626 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.3776, allocations: 4 kB / 0.5626 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.3777, allocations: 59.88 kB / 0.5627 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.765e-05/0.3777, allocations: 19.97 kB / 0.5627 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.429e-05/0.3778, allocations: 11.88 kB / 0.5627 GB, free: 3.262 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.3779, allocations: 71.48 kB / 0.5628 GB, free: 3.195 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3779, allocations: 0 / 0.5628 GB, free: 3.195 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3779, allocations: 0 / 0.5628 GB, free: 3.195 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.3779, allocations: 0 / 0.5628 GB, free: 3.195 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.0005053/0.3785, allocations: 276.9 kB / 0.563 GB, free: 2.895 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.3785, allocations: 8.031 kB / 0.563 GB, free: 2.887 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/0.3785, allocations: 8.891 kB / 0.5631 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.3786, allocations: 114.4 kB / 0.5632 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.3787, allocations: 4.375 kB / 0.5632 GB, free: 2.738 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.3787, allocations: 4.375 kB / 0.5632 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000214/0.3789, allocations: 115.9 kB / 0.5633 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3789, allocations: 192 / 0.5633 GB, free: 2.609 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.3789, allocations: 11.92 kB / 0.5633 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.018e-05/0.379, allocations: 11.98 kB / 0.5633 GB, free: 2.586 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001227/0.3791, allocations: 67.89 kB / 0.5634 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002012/0.3793, allocations: 137.2 kB / 0.5635 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.3796, allocations: 114.8 kB / 0.5636 GB, free: 2.234 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.474e-05/0.3796, allocations: 56.89 kB / 0.5637 GB, free: 2.176 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.325e-05/0.3797, allocations: 15.94 kB / 0.5637 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.989e-05/0.3797, allocations: 38.55 kB / 0.5637 GB, free: 2.113 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.3797, allocations: 0 / 0.5637 GB, free: 2.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.003704/0.3834, allocations: 2.212 MB / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.3835, allocations: 59.64 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.032e-05/0.3836, allocations: 101.8 kB / 0.566 GB, free: 15.69 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.326e-05/0.3836, allocations: 29.7 kB / 0.5661 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.723e-05/0.3836, allocations: 80.64 kB / 0.5661 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.3838, allocations: 99.12 kB / 0.5662 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.3839, allocations: 97.64 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3841, allocations: 326.8 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006701/0.3848, allocations: 0.5739 MB / 0.5672 GB, free: 14.47 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006959/0.3855, allocations: 0.5817 MB / 0.5678 GB, free: 13.89 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.002664/0.3881, allocations: 2.064 MB / 0.5698 GB, free: 11.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.3881, allocations: 0 / 0.5698 GB, free: 11.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002056/0.3902, allocations: 1.71 MB / 0.5715 GB, free: 10.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.3902, allocations: 4 kB / 0.5715 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002034/0.3922, allocations: 1.532 MB / 0.573 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007623/0.393, allocations: 420.5 kB / 0.5734 GB, free: 8.152 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000224/0.3932, allocations: 59.95 kB / 0.5734 GB, free: 8.094 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.3945, allocations: 1.181 MB / 0.5746 GB, free: 6.887 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.3947, allocations: 4 kB / 0.5746 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.3948, allocations: 76.06 kB / 0.5746 GB, free: 6.809 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.0002682/0.395, allocations: 140.7 kB / 0.5748 GB, free: 6.664 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.137e-05/0.3951, allocations: 11.95 kB / 0.5748 GB, free: 6.652 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.001691/0.3968, allocations: 0.882 MB / 0.5756 GB, free: 5.762 MB / 414.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.986117523993016] Failed to read output from testmodel.py, exit status != 0: ['time', 'xIntegrated'] 0.4052800049976213 0.4189865 0.038145202 Calling exit ...