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.0009465/0.0009465, allocations: 75.75 kB / 21.69 MB, free: 2.848 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.001048/0.001048, allocations: 160.2 kB / 24.99 MB, free: 9.316 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 1.037/1.037, allocations: 177.1 MB / 205.3 MB, free: 5.59 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.3303/0.3303, allocations: 32.8 MB / 294.6 MB, free: 1.266 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 3.687e-06/3.687e-06, allocations: 0 / 376 MB, free: 4.977 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.379e-05/4.748e-05, allocations: 5.125 kB / 376 MB, free: 4.973 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001591/0.001638, allocations: 0.5357 MB / 376.5 MB, free: 4.434 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005026/0.002141, allocations: 215.5 kB / 376.7 MB, free: 4.223 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.391e-05/0.002175, allocations: 0 / 376.7 MB, free: 4.223 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00021/0.002385, allocations: 7.984 kB / 376.7 MB, free: 4.215 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.048e-05/0.002425, allocations: 7.875 kB / 376.7 MB, free: 4.207 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003259/0.002751, allocations: 47.78 kB / 376.8 MB, free: 4.16 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.965e-05/0.002821, allocations: 23.98 kB / 376.8 MB, free: 4.137 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.176e-05/0.002863, allocations: 3.984 kB / 376.8 MB, free: 4.133 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.698e-05/0.0029, allocations: 15.92 kB / 376.8 MB, free: 4.117 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.003008, allocations: 23.97 kB / 376.9 MB, free: 4.094 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.644e-05/0.003025, allocations: 4 kB / 376.9 MB, free: 4.09 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.003131, allocations: 51.89 kB / 376.9 MB, free: 4.039 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.35e-05/0.003164, allocations: 11.97 kB / 376.9 MB, free: 4.027 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.197e-05/0.003196, allocations: 15.92 kB / 376.9 MB, free: 4.012 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.003362, allocations: 83.75 kB / 377 MB, free: 3.93 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.003364, allocations: 3.938 kB / 377 MB, free: 3.926 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.003366, allocations: 4 kB / 377 MB, free: 3.922 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.003371, allocations: 0 / 377 MB, free: 3.922 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.0005821/0.003953, allocations: 376.5 kB / 377.4 MB, free: 3.516 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.003995, allocations: 8.031 kB / 377.4 MB, free: 3.508 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.004046, allocations: 8.891 kB / 377.4 MB, free: 3.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.004155, allocations: 112.6 kB / 377.5 MB, free: 3.363 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.00417, allocations: 4.375 kB / 377.5 MB, free: 3.359 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.004195, allocations: 384 / 377.5 MB, free: 3.359 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.004348, allocations: 95.86 kB / 377.6 MB, free: 3.254 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.004359, allocations: 192 / 377.6 MB, free: 3.254 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.004371, allocations: 384 / 377.6 MB, free: 3.254 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.223e-05/0.004413, allocations: 12.38 kB / 377.6 MB, free: 3.242 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.102e-05/0.004474, allocations: 39.91 kB / 377.7 MB, free: 3.203 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001814/0.004655, allocations: 128.6 kB / 377.8 MB, free: 3.043 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.004898, allocations: 83.36 kB / 377.9 MB, free: 2.949 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.446e-05/0.004952, allocations: 31.73 kB / 377.9 MB, free: 2.914 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.258e-05/0.005005, allocations: 8 kB / 377.9 MB, free: 2.906 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.005047, allocations: 45.38 kB / 378 MB, free: 2.852 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.005048, allocations: 0 / 378 MB, free: 2.852 MB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.002021/0.007069, allocations: 1.486 MB / 379.4 MB, free: 1.336 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.007109, allocations: 55.64 kB / 379.5 MB, free: 1.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.169e-05/0.00719, allocations: 149.9 kB / 379.6 MB, free: 1.105 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.007222, allocations: 29.7 kB / 379.7 MB, free: 1.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.00726, allocations: 135.5 kB / 379.8 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.333e-05/0.007353, allocations: 107.1 kB / 379.9 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.007465, allocations: 99.3 kB / 380 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.007607, allocations: 0.4923 MB / 380.5 MB, free: 224 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003045/0.007912, allocations: 351.9 kB / 380.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002913/0.008203, allocations: 347.9 kB / 381.2 MB, free: 15.54 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.0008912/0.009094, allocations: 1.071 MB / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.009096, allocations: 0 / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008428/0.009939, allocations: 0.8967 MB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.861e-05/0.009967, allocations: 8 kB / 383.2 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008845/0.01085, allocations: 0.8241 MB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004396/0.01129, allocations: 179.5 kB / 384.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.01144, allocations: 63.89 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007858/0.01223, allocations: 0.9132 MB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.798e-05/0.01229, allocations: 8 kB / 385.1 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.869e-05/0.01235, allocations: 71.97 kB / 385.2 MB, free: 11.45 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.0001683/0.01252, allocations: 172.5 kB / 385.4 MB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.885e-05/0.01257, allocations: 23.89 kB / 385.4 MB, free: 11.25 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.0008131/0.01338, allocations: 0.6364 MB / 386 MB, free: 10.62 MB / 362.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.0401034171227366]