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.001803/0.001803, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.002257/0.002257, allocations: 215.5 kB / 24.48 MB, free: 3.957 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.511/1.511, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.2325/0.2325, allocations: 46.96 MB / 361.6 MB, free: 4.051 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.001987/0.001987, allocations: 67.91 kB / 0.4973 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3959, allocations: 66.04 MB / 0.5618 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001966/0.3979, allocations: 0.5031 MB / 0.5623 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005833/0.3985, allocations: 211.4 kB / 0.5625 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.052e-05/0.3985, allocations: 0 / 0.5625 GB, free: 3.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.3987, allocations: 7.938 kB / 0.5625 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.111e-05/0.3987, allocations: 3.984 kB / 0.5625 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003097/0.399, allocations: 55.89 kB / 0.5626 GB, free: 3.402 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.611e-05/0.3991, allocations: 23.84 kB / 0.5626 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.777e-05/0.3991, allocations: 4 kB / 0.5626 GB, free: 3.375 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.56e-05/0.3992, allocations: 7.984 kB / 0.5626 GB, free: 3.367 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.3993, allocations: 27.91 kB / 0.5626 GB, free: 3.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.3993, allocations: 4 kB / 0.5626 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.3994, allocations: 51.95 kB / 0.5627 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.48e-05/0.3995, allocations: 7.984 kB / 0.5627 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.3995, allocations: 19.86 kB / 0.5627 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.3997, allocations: 66.17 kB / 0.5628 GB, free: 3.199 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.3997, allocations: 8 kB / 0.5628 GB, free: 3.191 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3997, allocations: 0 / 0.5628 GB, free: 3.191 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.772e-06/0.3997, allocations: 0 / 0.5628 GB, free: 3.191 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.0005472/0.4003, allocations: 278.2 kB / 0.563 GB, free: 2.887 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.4003, allocations: 8.031 kB / 0.563 GB, free: 2.879 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/0.4003, allocations: 8.891 kB / 0.5631 GB, free: 2.871 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.4005, allocations: 118.4 kB / 0.5632 GB, free: 2.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.4005, allocations: 4.375 kB / 0.5632 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.4005, allocations: 384 / 0.5632 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002299/0.4007, allocations: 122.9 kB / 0.5633 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.4007, allocations: 192 / 0.5633 GB, free: 2.598 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.4008, allocations: 7.938 kB / 0.5633 GB, free: 2.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.687e-05/0.4008, allocations: 15.94 kB / 0.5633 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.4009, allocations: 67.89 kB / 0.5634 GB, free: 2.508 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002204/0.4011, allocations: 137.2 kB / 0.5635 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.4015, allocations: 122.8 kB / 0.5636 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.286e-05/0.4015, allocations: 56.89 kB / 0.5637 GB, free: 2.156 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.658e-05/0.4016, allocations: 11.94 kB / 0.5637 GB, free: 2.145 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.4016, allocations: 34.56 kB / 0.5637 GB, free: 2.102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.4016, allocations: 0 / 0.5637 GB, free: 2.102 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.003945/0.4056, allocations: 2.217 MB / 0.5659 GB, free: 15.85 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.566e-05/0.4056, allocations: 55.64 kB / 0.5659 GB, free: 15.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.673e-05/0.4057, allocations: 97.86 kB / 0.566 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.423e-05/0.4058, allocations: 29.7 kB / 0.5661 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.029e-05/0.4058, allocations: 84.77 kB / 0.5661 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.4059, allocations: 103.1 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.4061, allocations: 93.66 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.4063, allocations: 326.8 kB / 0.5666 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007038/0.407, allocations: 0.5778 MB / 0.5672 GB, free: 14.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006878/0.4077, allocations: 0.5817 MB / 0.5678 GB, free: 13.87 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.002815/0.4105, allocations: 2.053 MB / 0.5698 GB, free: 11.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.4105, allocations: 0 / 0.5698 GB, free: 11.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002244/0.4128, allocations: 1.714 MB / 0.5715 GB, free: 10.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/0.4128, allocations: 7.984 kB / 0.5715 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002161/0.4149, allocations: 1.528 MB / 0.573 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008004/0.4157, allocations: 416.5 kB / 0.5734 GB, free: 8.145 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.416, allocations: 51.97 kB / 0.5734 GB, free: 8.094 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.4173, allocations: 1.189 MB / 0.5746 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.4174, allocations: 7.984 kB / 0.5746 GB, free: 6.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.089e-05/0.4175, allocations: 68.02 kB / 0.5746 GB, free: 6.805 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.0002468/0.4177, allocations: 141.7 kB / 0.5748 GB, free: 6.656 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/0.4178, allocations: 12.02 kB / 0.5748 GB, free: 6.645 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.001638/0.4194, allocations: 0.8858 MB / 0.5756 GB, free: 5.75 MB / 414.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.1853533680259716] Failed to read output from testmodel.py, exit status != 0: ['time', 'xIntegrated'] 0.42838511601439677 0.44291821800000003 0.040182151 Calling exit ...