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.0009832/0.0009832, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001128/0.001128, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.9706/0.9706, allocations: 177.2 MB / 206.1 MB, free: 4.473 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.1662/0.1662, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.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.384e-06/2.384e-06, allocations: 0 / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.919e-05/3.157e-05, allocations: 2.312 kB / 377.3 MB, free: 25.59 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001227/0.001259, allocations: 0.5124 MB / 377.8 MB, free: 25.08 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00039/0.001649, allocations: 211.5 kB / 378 MB, free: 24.88 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.704e-05/0.001676, allocations: 4 kB / 378 MB, free: 24.87 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.001812, allocations: 7.875 kB / 378 MB, free: 24.86 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 2.314e-05/0.001835, allocations: 7.922 kB / 378 MB, free: 24.86 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.00208, allocations: 43.89 kB / 378 MB, free: 24.81 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 6.06e-05/0.00214, allocations: 23.97 kB / 378.1 MB, free: 24.79 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.959e-05/0.00218, allocations: 7.984 kB / 378.1 MB, free: 24.78 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.015e-05/0.00221, allocations: 8 kB / 378.1 MB, free: 24.77 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.626e-05/0.002306, allocations: 23.91 kB / 378.1 MB, free: 24.75 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.002322, allocations: 7.938 kB / 378.1 MB, free: 24.74 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.613e-05/0.002408, allocations: 51.92 kB / 378.2 MB, free: 24.69 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.655e-05/0.002435, allocations: 15.98 kB / 378.2 MB, free: 24.68 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 1.8e-05/0.002453, allocations: 11.94 kB / 378.2 MB, free: 24.66 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001154/0.002568, allocations: 75.81 kB / 378.3 MB, free: 24.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.263e-06/0.002569, allocations: 0 / 378.3 MB, free: 24.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.00257, allocations: 0 / 378.3 MB, free: 24.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.047e-06/0.002574, allocations: 4 kB / 378.3 MB, free: 24.59 MB / 314.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.0002801/0.002854, allocations: 388.4 kB / 378.6 MB, free: 24.17 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.002889, allocations: 11.98 kB / 378.7 MB, free: 24.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.954e-05/0.002919, allocations: 4.938 kB / 378.7 MB, free: 24.15 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.151e-05/0.00298, allocations: 116.5 kB / 378.8 MB, free: 24.01 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.002991, allocations: 384 / 378.8 MB, free: 24.01 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.003009, allocations: 12.31 kB / 378.8 MB, free: 24 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.734e-05/0.003096, allocations: 83.92 kB / 378.9 MB, free: 23.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.003106, allocations: 192 / 378.9 MB, free: 23.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.973e-06/0.003113, allocations: 384 / 378.9 MB, free: 23.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/0.003139, allocations: 12.38 kB / 378.9 MB, free: 23.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.93e-05/0.003178, allocations: 31.91 kB / 378.9 MB, free: 23.86 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001101/0.003288, allocations: 117.2 kB / 379 MB, free: 23.72 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000137/0.003425, allocations: 75.28 kB / 379.1 MB, free: 23.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.513e-05/0.00346, allocations: 31.8 kB / 379.1 MB, free: 23.6 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.686e-05/0.003497, allocations: 11.94 kB / 379.1 MB, free: 23.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.003517, allocations: 37.39 kB / 379.2 MB, free: 23.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 9.52e-07/0.003518, allocations: 0 / 379.2 MB, free: 23.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=30): time 0.001386/0.004904, allocations: 1.326 MB / 380.5 MB, free: 22.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.976e-05/0.004924, allocations: 55.64 kB / 380.6 MB, free: 22.12 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.618e-05/0.00496, allocations: 149.9 kB / 380.7 MB, free: 21.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.004981, allocations: 29.7 kB / 380.7 MB, free: 21.92 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.347e-05/0.004994, allocations: 131.4 kB / 380.9 MB, free: 21.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.863e-05/0.005053, allocations: 111.2 kB / 381 MB, free: 21.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.553e-05/0.005138, allocations: 99.23 kB / 381.1 MB, free: 21.57 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.779e-05/0.005186, allocations: 0.4962 MB / 381.6 MB, free: 21.06 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/0.00534, allocations: 295.9 kB / 381.9 MB, free: 20.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001881/0.005528, allocations: 299.9 kB / 382.1 MB, free: 20.48 MB / 314.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.000518/0.006046, allocations: 0.919 MB / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.006047, allocations: 0 / 383.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00055/0.006597, allocations: 0.7796 MB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.006609, allocations: 4 kB / 383.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005755/0.007185, allocations: 0.7069 MB / 384.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003123/0.007497, allocations: 171.5 kB / 384.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.00761, allocations: 71.83 kB / 384.8 MB, free: 17.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003549/0.007965, allocations: 0.9131 MB / 385.7 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.516e-05/0.00802, allocations: 8 kB / 385.7 MB, free: 16.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.362e-05/0.008064, allocations: 67.91 kB / 385.8 MB, free: 16.79 MB / 314.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.0001139/0.008178, allocations: 172.6 kB / 386 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.161e-05/0.008219, allocations: 15.95 kB / 386 MB, free: 16.6 MB / 314.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.0006128/0.008832, allocations: 0.607 MB / 386.6 MB, free: 15.99 MB / 314.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.0064300540834665]