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.001291/0.001291, allocations: 112.5 kB / 21.19 MB, free: 0.7578 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.001345/0.001345, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.395/1.395, allocations: 230.6 MB / 258.3 MB, free: 8.227 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.223/0.223, allocations: 46.94 MB / 361.6 MB, free: 4.297 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.002192/0.002192, allocations: 71.89 kB / 0.4974 GB, free: 7.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3445, allocations: 66.02 MB / 0.5619 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001709/0.3462, allocations: 0.5226 MB / 0.5624 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005295/0.3468, allocations: 219.4 kB / 0.5626 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.357e-05/0.3468, allocations: 0 / 0.5626 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.3469, allocations: 15.91 kB / 0.5626 GB, free: 3.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.473e-05/0.3469, allocations: 3.938 kB / 0.5626 GB, free: 3.652 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002877/0.3472, allocations: 55.83 kB / 0.5626 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.094e-05/0.3473, allocations: 23.91 kB / 0.5627 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.989e-05/0.3473, allocations: 4 kB / 0.5627 GB, free: 3.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.59e-05/0.3474, allocations: 7.984 kB / 0.5627 GB, free: 3.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.3475, allocations: 23.92 kB / 0.5627 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.3475, allocations: 0 / 0.5627 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.3476, allocations: 63.88 kB / 0.5628 GB, free: 3.477 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.45e-05/0.3476, allocations: 15.97 kB / 0.5628 GB, free: 3.461 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.299e-05/0.3477, allocations: 15.88 kB / 0.5628 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.3478, allocations: 71.42 kB / 0.5629 GB, free: 3.379 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3478, allocations: 0 / 0.5629 GB, free: 3.379 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3478, allocations: 0 / 0.5629 GB, free: 3.379 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.3478, allocations: 4 kB / 0.5629 GB, free: 3.375 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.0004962/0.3483, allocations: 276.9 kB / 0.5631 GB, free: 3.074 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.3484, allocations: 8.031 kB / 0.5631 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.36e-05/0.3484, allocations: 8.891 kB / 0.5631 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.3485, allocations: 114.4 kB / 0.5633 GB, free: 2.922 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.3485, allocations: 4.375 kB / 0.5633 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.3486, allocations: 384 / 0.5633 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.3488, allocations: 90.22 kB / 0.5633 GB, free: 2.824 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3488, allocations: 4.188 kB / 0.5634 GB, free: 2.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.3488, allocations: 7.938 kB / 0.5634 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.288e-05/0.3488, allocations: 11.98 kB / 0.5634 GB, free: 2.801 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.3489, allocations: 67.95 kB / 0.5634 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002172/0.3492, allocations: 168.6 kB / 0.5636 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.3495, allocations: 118.8 kB / 0.5637 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.451e-05/0.3495, allocations: 56.95 kB / 0.5638 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.402e-05/0.3496, allocations: 8 kB / 0.5638 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.912e-05/0.3496, allocations: 38.5 kB / 0.5638 GB, free: 2.289 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.3496, allocations: 0 / 0.5638 GB, free: 2.289 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.003455/0.3531, allocations: 2.216 MB / 0.566 GB, free: 44 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.612e-05/0.3532, allocations: 51.64 kB / 0.566 GB, free: 15.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.723e-05/0.3532, allocations: 105.8 kB / 0.5661 GB, free: 15.87 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.3533, allocations: 29.7 kB / 0.5662 GB, free: 15.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.3533, allocations: 80.64 kB / 0.5662 GB, free: 15.75 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.3534, allocations: 103.2 kB / 0.5663 GB, free: 15.65 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.3536, allocations: 93.66 kB / 0.5664 GB, free: 15.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.3538, allocations: 322.8 kB / 0.5667 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006451/0.3544, allocations: 0.5817 MB / 0.5673 GB, free: 14.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000638/0.3551, allocations: 0.5778 MB / 0.5679 GB, free: 14.07 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.002697/0.3577, allocations: 2.064 MB / 0.5699 GB, free: 12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.3578, allocations: 0 / 0.5699 GB, free: 12 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002002/0.3598, allocations: 1.714 MB / 0.5715 GB, free: 10.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3598, allocations: 4 kB / 0.5715 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002058/0.3618, allocations: 1.516 MB / 0.573 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007388/0.3626, allocations: 412.5 kB / 0.5734 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.3628, allocations: 59.89 kB / 0.5735 GB, free: 8.289 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.3642, allocations: 1.181 MB / 0.5746 GB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001101/0.3643, allocations: 12.09 kB / 0.5746 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-05/0.3644, allocations: 71.97 kB / 0.5747 GB, free: 7 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.0002033/0.3646, allocations: 144.1 kB / 0.5749 GB, free: 6.852 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.3646, allocations: 7.953 kB / 0.5749 GB, free: 6.844 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.001545/0.3662, allocations: 0.8858 MB / 0.5757 GB, free: 5.949 MB / 414.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.9555118300486356] Failed to read output from testmodel.py, exit status != 0: ['time', 'xIntegrated'] 0.3748582729604095 0.389448967 0.038432917000000004 Calling exit ...