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.00172/0.00172, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.002058/0.002058, allocations: 214.8 kB / 24.49 MB, free: 3.938 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.484/1.484, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2735/0.2735, allocations: 46.97 MB / 361.6 MB, free: 4.012 MB / 286.1 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 0.002048/0.002048, allocations: 63.89 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3536, allocations: 66.03 MB / 0.5618 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.00165/0.3552, allocations: 0.5071 MB / 0.5623 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005629/0.3558, allocations: 215.4 kB / 0.5625 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.239e-05/0.3558, allocations: 0 / 0.5625 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.3559, allocations: 8 kB / 0.5625 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.577e-05/0.3559, allocations: 3.938 kB / 0.5625 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.3562, allocations: 51.88 kB / 0.5626 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.394e-05/0.3563, allocations: 19.92 kB / 0.5626 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.894e-05/0.3563, allocations: 4 kB / 0.5626 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.228e-05/0.3564, allocations: 15.91 kB / 0.5626 GB, free: 3.332 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.3565, allocations: 23.97 kB / 0.5626 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.3565, allocations: 4 kB / 0.5626 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.3566, allocations: 51.95 kB / 0.5627 GB, free: 3.254 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.722e-05/0.3567, allocations: 15.92 kB / 0.5627 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.677e-05/0.3567, allocations: 7.938 kB / 0.5627 GB, free: 3.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.3568, allocations: 75.42 kB / 0.5628 GB, free: 3.16 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3569, allocations: 0 / 0.5628 GB, free: 3.16 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.057e-06/0.3569, allocations: 4 kB / 0.5628 GB, free: 3.156 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.618e-06/0.3569, allocations: 0 / 0.5628 GB, free: 3.156 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.0004934/0.3574, allocations: 272.9 kB / 0.563 GB, free: 2.859 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.3574, allocations: 12.03 kB / 0.5631 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.958e-05/0.3574, allocations: 8.891 kB / 0.5631 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001028/0.3575, allocations: 114.4 kB / 0.5632 GB, free: 2.703 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.3576, allocations: 4.359 kB / 0.5632 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.3576, allocations: 4.375 kB / 0.5632 GB, free: 2.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.3578, allocations: 115.9 kB / 0.5633 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3578, allocations: 192 / 0.5633 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.3578, allocations: 7.938 kB / 0.5633 GB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.214e-05/0.3579, allocations: 19.92 kB / 0.5633 GB, free: 2.543 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.358, allocations: 62.91 kB / 0.5634 GB, free: 2.484 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001967/0.3582, allocations: 137.2 kB / 0.5635 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002661/0.3584, allocations: 118.8 kB / 0.5636 GB, free: 2.195 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.603e-05/0.3585, allocations: 56.89 kB / 0.5637 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.028e-05/0.3586, allocations: 15.92 kB / 0.5637 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.3586, allocations: 34.56 kB / 0.5637 GB, free: 2.078 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.3586, allocations: 3.938 kB / 0.5637 GB, free: 2.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.003644/0.3623, allocations: 2.209 MB / 0.5659 GB, free: 15.83 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.3623, allocations: 59.64 kB / 0.5659 GB, free: 15.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.328e-05/0.3624, allocations: 93.86 kB / 0.566 GB, free: 15.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.245e-05/0.3624, allocations: 29.7 kB / 0.5661 GB, free: 15.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.14e-05/0.3625, allocations: 84.62 kB / 0.5661 GB, free: 15.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.3626, allocations: 103.1 kB / 0.5662 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.3627, allocations: 93.66 kB / 0.5663 GB, free: 15.34 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3629, allocations: 326.8 kB / 0.5666 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007012/0.3636, allocations: 0.5818 MB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006743/0.3643, allocations: 0.5778 MB / 0.5678 GB, free: 13.85 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.002719/0.367, allocations: 2.056 MB / 0.5698 GB, free: 11.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.367, allocations: 0 / 0.5698 GB, free: 11.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002063/0.369, allocations: 1.71 MB / 0.5715 GB, free: 10.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.3691, allocations: 4 kB / 0.5715 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002098/0.3712, allocations: 1.528 MB / 0.573 GB, free: 8.539 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007889/0.3719, allocations: 420.4 kB / 0.5734 GB, free: 8.125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.3722, allocations: 63.89 kB / 0.5734 GB, free: 8.062 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.3735, allocations: 1.185 MB / 0.5746 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.3736, allocations: 4 kB / 0.5746 GB, free: 6.848 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.211e-05/0.3737, allocations: 72 kB / 0.5746 GB, free: 6.777 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.000232/0.3739, allocations: 132.8 kB / 0.5748 GB, free: 6.641 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.693e-05/0.374, allocations: 19.88 kB / 0.5748 GB, free: 6.621 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.001672/0.3756, allocations: 0.8898 MB / 0.5757 GB, free: 5.723 MB / 414.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode DAEmode: The model ModelicaTest.Math.TestInterpolateTimeVarying could not be translated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.124259814998368] Failed to read output from testmodel.py, exit status != 0: ['time', 'xIntegrated'] 0.3847432080001454 0.398876478 0.038961843 Calling exit ...