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.001582/0.001582, allocations: 84 kB / 20.68 MB, free: 1.023 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.001668/0.001668, allocations: 164 kB / 23.95 MB, free: 4.156 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.444/1.444, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] 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.2007/0.2007, allocations: 32.81 MB / 293.5 MB, free: 28 kB / 270.1 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 1.653e-06/1.653e-06, allocations: 3.938 kB / 440.1 MB, free: 8.191 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.957e-05/3.122e-05, allocations: 6.281 kB / 440.1 MB, free: 8.184 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.00149/0.001521, allocations: 0.5158 MB / 440.6 MB, free: 7.672 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005275/0.002049, allocations: 211.3 kB / 440.8 MB, free: 7.465 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.1e-05/0.00207, allocations: 0 / 440.8 MB, free: 7.465 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.002215, allocations: 7.938 kB / 440.8 MB, free: 7.457 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 2.933e-05/0.002245, allocations: 7.984 kB / 440.8 MB, free: 7.449 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.002524, allocations: 43.83 kB / 440.9 MB, free: 7.406 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 6.602e-05/0.00259, allocations: 19.92 kB / 440.9 MB, free: 7.387 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.206e-05/0.002632, allocations: 7.984 kB / 440.9 MB, free: 7.379 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.555e-05/0.002668, allocations: 11.98 kB / 440.9 MB, free: 7.367 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.002771, allocations: 27.95 kB / 440.9 MB, free: 7.34 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.002788, allocations: 0 / 440.9 MB, free: 7.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.00291, allocations: 55.89 kB / 441 MB, free: 7.285 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.98e-05/0.002949, allocations: 11.92 kB / 441 MB, free: 7.273 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.812e-05/0.002978, allocations: 12 kB / 441 MB, free: 7.262 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.003154, allocations: 87.73 kB / 441.1 MB, free: 7.176 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.003157, allocations: 0 / 441.1 MB, free: 7.176 MB / 366.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.003158, allocations: 0 / 441.1 MB, free: 7.176 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.003162, allocations: 0 / 441.1 MB, free: 7.176 MB / 366.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.0005132/0.003675, allocations: 278.2 kB / 441.4 MB, free: 6.871 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.003714, allocations: 8.031 kB / 441.4 MB, free: 6.863 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.003749, allocations: 4.891 kB / 441.4 MB, free: 6.859 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.003951, allocations: 109.7 kB / 441.5 MB, free: 6.727 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.003967, allocations: 4.375 kB / 441.5 MB, free: 6.723 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.806e-05/0.003996, allocations: 8.375 kB / 441.5 MB, free: 6.715 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.004235, allocations: 119.9 kB / 441.6 MB, free: 6.586 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.004249, allocations: 192 / 441.6 MB, free: 6.586 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.004259, allocations: 4.312 kB / 441.6 MB, free: 6.582 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-05/0.004303, allocations: 16.36 kB / 441.6 MB, free: 6.566 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.004428, allocations: 67.89 kB / 441.7 MB, free: 6.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002036/0.004631, allocations: 141.2 kB / 441.8 MB, free: 6.332 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.004928, allocations: 114.8 kB / 441.9 MB, free: 6.211 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.898e-05/0.005017, allocations: 56.95 kB / 442 MB, free: 6.152 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.659e-05/0.005064, allocations: 11.98 kB / 442 MB, free: 6.141 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.527e-05/0.005159, allocations: 42.56 kB / 442 MB, free: 6.09 MB / 366.1 MB Notification: Performance of pre-optimization done (n=16): time 1.352e-06/0.00516, allocations: 0 / 442 MB, free: 6.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=30): time 0.00368/0.008841, allocations: 2.202 MB / 444.2 MB, free: 3.855 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.008891, allocations: 59.58 kB / 444.3 MB, free: 3.785 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.102e-05/0.008972, allocations: 97.84 kB / 444.4 MB, free: 3.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.009017, allocations: 29.7 kB / 444.4 MB, free: 3.645 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.727e-05/0.009074, allocations: 84.64 kB / 444.5 MB, free: 3.559 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.009191, allocations: 99.12 kB / 444.6 MB, free: 3.461 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.009368, allocations: 97.64 kB / 444.7 MB, free: 3.359 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.009527, allocations: 322.8 kB / 445 MB, free: 3.035 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006842/0.01021, allocations: 0.5739 MB / 445.6 MB, free: 2.461 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00068/0.01089, allocations: 0.5856 MB / 446.2 MB, free: 1.875 MB / 366.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.1815/0.1924, allocations: 2.057 MB / 448.2 MB, free: 21.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1924, allocations: 0 / 448.2 MB, free: 21.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002073/0.1945, allocations: 1.704 MB / 449.9 MB, free: 21.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.1945, allocations: 5.625 kB / 449.9 MB, free: 21.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002005/0.1965, allocations: 1.528 MB / 451.5 MB, free: 21.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007882/0.1973, allocations: 417.2 kB / 451.9 MB, free: 21.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/0.1976, allocations: 57.92 kB / 451.9 MB, free: 21.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.1987, allocations: 1.192 MB / 453.1 MB, free: 20.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.1988, allocations: 6.188 kB / 453.1 MB, free: 20.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.815e-05/0.1989, allocations: 71.16 kB / 453.2 MB, free: 20.71 MB / 366.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.0001821/0.1991, allocations: 134.2 kB / 453.3 MB, free: 20.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.1991, allocations: 13.19 kB / 453.4 MB, free: 20.58 MB / 366.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.001395/0.2005, allocations: 0.8893 MB / 454.2 MB, free: 20.29 MB / 366.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.698862846940756] Failed to read output from testmodel.py, exit status != 0: ['time', 'xIntegrated'] 0.20867620408535004 0.22120124400000002 0.21553665000000002 Calling exit ...