Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001073/0.001073, allocations: 77.88 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001689/0.001689, allocations: 168.7 kB / 24.82 MB, free: 8.918 MB / 18.57 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 0.9798/0.9798, allocations: 177.2 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2635/0.2635, allocations: 32.81 MB / 294.6 MB, free: 1.242 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 376.5 MB, free: 4.43 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.946e-05/3.164e-05, allocations: 6.312 kB / 376.5 MB, free: 4.422 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001836/0.001868, allocations: 0.5357 MB / 377 MB, free: 3.883 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006101/0.002478, allocations: 211.5 kB / 377.2 MB, free: 3.676 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.282e-05/0.002511, allocations: 0 / 377.2 MB, free: 3.676 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001722/0.002683, allocations: 11.98 kB / 377.2 MB, free: 3.664 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.702e-05/0.00272, allocations: 7.875 kB / 377.2 MB, free: 3.656 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003801/0.0031, allocations: 51.78 kB / 377.3 MB, free: 3.605 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 7.468e-05/0.003175, allocations: 15.98 kB / 377.3 MB, free: 3.59 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.81e-05/0.003213, allocations: 0 / 377.3 MB, free: 3.59 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.945e-05/0.003262, allocations: 19.92 kB / 377.3 MB, free: 3.57 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.003391, allocations: 19.95 kB / 377.3 MB, free: 3.551 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.003413, allocations: 4 kB / 377.3 MB, free: 3.547 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.003553, allocations: 51.89 kB / 377.4 MB, free: 3.496 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.55e-05/0.003589, allocations: 11.98 kB / 377.4 MB, free: 3.484 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.778e-05/0.003617, allocations: 19.92 kB / 377.4 MB, free: 3.465 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.003788, allocations: 79.75 kB / 377.5 MB, free: 3.387 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.003793, allocations: 4 kB / 377.5 MB, free: 3.383 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.41e-07/0.003793, allocations: 3.938 kB / 377.5 MB, free: 3.379 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.003799, allocations: 0 / 377.5 MB, free: 3.379 MB / 346.7 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.0004238/0.004223, allocations: 372.5 kB / 377.9 MB, free: 2.977 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.004276, allocations: 8.031 kB / 377.9 MB, free: 2.969 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.004319, allocations: 16.88 kB / 377.9 MB, free: 2.953 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.00442, allocations: 112.5 kB / 378 MB, free: 2.816 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.004433, allocations: 4.375 kB / 378 MB, free: 2.812 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.004454, allocations: 4.375 kB / 378 MB, free: 2.809 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.00459, allocations: 81.72 kB / 378.1 MB, free: 2.719 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.004602, allocations: 192 / 378.1 MB, free: 2.719 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.004615, allocations: 8.359 kB / 378.1 MB, free: 2.711 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.743e-05/0.004652, allocations: 8.375 kB / 378.1 MB, free: 2.703 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.478e-05/0.004717, allocations: 31.91 kB / 378.1 MB, free: 2.672 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001566/0.004874, allocations: 113.2 kB / 378.2 MB, free: 2.535 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.005083, allocations: 79.34 kB / 378.3 MB, free: 2.445 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.898e-05/0.005132, allocations: 31.73 kB / 378.4 MB, free: 2.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.735e-05/0.005189, allocations: 8 kB / 378.4 MB, free: 2.402 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.005217, allocations: 37.39 kB / 378.4 MB, free: 2.355 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.005219, allocations: 0 / 378.4 MB, free: 2.355 MB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.002307/0.007525, allocations: 1.318 MB / 379.7 MB, free: 1.008 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.00756, allocations: 59.64 kB / 379.8 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.286e-05/0.007643, allocations: 161.9 kB / 379.9 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.007678, allocations: 29.7 kB / 380 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.653e-05/0.007755, allocations: 127.4 kB / 380.1 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.007882, allocations: 107.1 kB / 380.2 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.008028, allocations: 95.3 kB / 380.3 MB, free: 400 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.00821, allocations: 0.4962 MB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003745/0.008584, allocations: 295.9 kB / 381.1 MB, free: 15.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002996/0.008884, allocations: 295.9 kB / 381.4 MB, free: 15.3 MB / 362.7 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.001011/0.009894, allocations: 0.915 MB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.009896, allocations: 0 / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001115/0.01101, allocations: 0.7836 MB / 383.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.01104, allocations: 15.92 kB / 383.1 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00116/0.0122, allocations: 0.7343 MB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000539/0.01273, allocations: 171.5 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.01292, allocations: 63.88 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007105/0.01363, allocations: 0.9131 MB / 384.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.291e-05/0.01373, allocations: 4 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.831e-05/0.01382, allocations: 71.97 kB / 385 MB, free: 11.59 MB / 362.7 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.0002062/0.01402, allocations: 176.5 kB / 385.2 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.43e-05/0.01409, allocations: 19.95 kB / 385.2 MB, free: 11.38 MB / 362.7 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.001142/0.01523, allocations: 0.5973 MB / 385.8 MB, free: 10.79 MB / 362.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.8768656868487597]