Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestInterpolateTimeVarying.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.005251/0.005251, allocations: 109.4 kB / 21.98 MB, free: 5.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001386/0.001386, allocations: 220.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 230.5 MB / 258.9 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2313/0.2313, allocations: 46.93 MB / 362.3 MB, free: 4.215 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestInterpolateTimeVarying") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 79.86 kB / 0.4982 GB, free: 7.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3526, allocations: 66.09 MB / 0.5627 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001677/0.3543, allocations: 0.507 MB / 0.5632 GB, free: 3.762 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005538/0.3549, allocations: 231.3 kB / 0.5634 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.633e-05/0.3549, allocations: 0 / 0.5634 GB, free: 3.535 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.355, allocations: 8 kB / 0.5634 GB, free: 3.527 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.533e-05/0.3551, allocations: 3.984 kB / 0.5634 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.3554, allocations: 55.77 kB / 0.5635 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.863e-05/0.3554, allocations: 19.92 kB / 0.5635 GB, free: 3.449 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.548e-05/0.3555, allocations: 3.984 kB / 0.5635 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.415e-05/0.3555, allocations: 8 kB / 0.5635 GB, free: 3.438 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.3556, allocations: 27.89 kB / 0.5636 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.3556, allocations: 4 kB / 0.5636 GB, free: 3.406 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.3558, allocations: 59.88 kB / 0.5636 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.173e-05/0.3558, allocations: 8 kB / 0.5636 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.3558, allocations: 23.86 kB / 0.5636 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.356, allocations: 70.11 kB / 0.5637 GB, free: 3.254 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.356, allocations: 0 / 0.5637 GB, free: 3.254 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.356, allocations: 0 / 0.5637 GB, free: 3.254 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.356, allocations: 0 / 0.5637 GB, free: 3.254 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.0004915/0.3565, allocations: 278.2 kB / 0.564 GB, free: 2.949 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.3565, allocations: 8.031 kB / 0.564 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.37e-05/0.3566, allocations: 12.88 kB / 0.564 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.3567, allocations: 106.5 kB / 0.5641 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.3567, allocations: 8.375 kB / 0.5641 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.3567, allocations: 384 / 0.5641 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.3569, allocations: 102.1 kB / 0.5642 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.3569, allocations: 192 / 0.5642 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.3569, allocations: 3.938 kB / 0.5642 GB, free: 2.684 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.847e-05/0.357, allocations: 8 kB / 0.5642 GB, free: 2.676 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.3571, allocations: 71.94 kB / 0.5643 GB, free: 2.605 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002257/0.3573, allocations: 164.6 kB / 0.5644 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.3576, allocations: 118.4 kB / 0.5646 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.41e-05/0.3577, allocations: 60.95 kB / 0.5646 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.792e-05/0.3577, allocations: 11.98 kB / 0.5646 GB, free: 2.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.3577, allocations: 34.56 kB / 0.5647 GB, free: 2.164 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.3578, allocations: 4 kB / 0.5647 GB, free: 2.16 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.003448/0.3612, allocations: 2.221 MB / 0.5668 GB, free: 15.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.3612, allocations: 51.64 kB / 0.5669 GB, free: 15.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.036e-05/0.3613, allocations: 97.86 kB / 0.567 GB, free: 15.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.3614, allocations: 29.7 kB / 0.567 GB, free: 15.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.3614, allocations: 80.64 kB / 0.5671 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.3615, allocations: 103.1 kB / 0.5672 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000147/0.3617, allocations: 97.64 kB / 0.5673 GB, free: 15.42 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.3618, allocations: 326.8 kB / 0.5676 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006757/0.3625, allocations: 0.5778 MB / 0.5681 GB, free: 14.51 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006566/0.3632, allocations: 0.5856 MB / 0.5687 GB, free: 13.93 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.002666/0.3658, allocations: 2.06 MB / 0.5707 GB, free: 11.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3658, allocations: 0 / 0.5707 GB, free: 11.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002028/0.3678, allocations: 1.71 MB / 0.5724 GB, free: 10.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.3679, allocations: 4 kB / 0.5724 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002031/0.3699, allocations: 1.524 MB / 0.5739 GB, free: 8.613 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007332/0.3706, allocations: 408.5 kB / 0.5743 GB, free: 8.211 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002271/0.3709, allocations: 63.89 kB / 0.5743 GB, free: 8.148 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.3721, allocations: 1.185 MB / 0.5755 GB, free: 6.938 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.3722, allocations: 4 kB / 0.5755 GB, free: 6.934 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.911e-05/0.3723, allocations: 71.95 kB / 0.5756 GB, free: 6.863 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.0002113/0.3725, allocations: 137.7 kB / 0.5757 GB, free: 6.719 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.3725, allocations: 8.016 kB / 0.5757 GB, free: 6.711 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.001569/0.3741, allocations: 0.8937 MB / 0.5766 GB, free: 5.809 MB / 414.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.062950628111139] Failed to read output from testmodel.py, exit status != 0: ['time', 'xIntegrated'] 0.38273655087687075 0.397113032 0.038092453000000005 Calling exit ...