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.001421/0.001421, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001003/0.001003, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9299/0.9299, allocations: 177.1 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] 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.2354/0.2354, allocations: 34.25 MB / 295.7 MB, free: 0.7539 MB / 266.7 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 1.883e-06/1.883e-06, allocations: 0 / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.185e-05/2.373e-05, allocations: 2.312 kB / 378 MB, free: 2.656 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.00127/0.001294, allocations: 0.531 MB / 378.6 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002463/0.003757, allocations: 223.4 kB / 378.8 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.626e-05/0.003783, allocations: 0 / 378.8 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.003929, allocations: 7.984 kB / 378.8 MB, free: 1.898 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.49e-05/0.003954, allocations: 3.938 kB / 378.8 MB, free: 1.895 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.004221, allocations: 47.78 kB / 378.8 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.579e-05/0.004287, allocations: 23.92 kB / 378.9 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.29e-05/0.00432, allocations: 0 / 378.9 MB, free: 1.824 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.948e-05/0.00436, allocations: 19.98 kB / 378.9 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.906e-05/0.004459, allocations: 23.95 kB / 378.9 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.004476, allocations: 4 kB / 378.9 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.004582, allocations: 55.88 kB / 379 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.719e-05/0.004609, allocations: 7.938 kB / 379 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.004635, allocations: 11.98 kB / 379 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.004773, allocations: 87.69 kB / 379.1 MB, free: 1.617 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.004775, allocations: 0 / 379.1 MB, free: 1.617 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.004775, allocations: 0 / 379.1 MB, free: 1.617 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.004779, allocations: 0 / 379.1 MB, free: 1.617 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.0003766/0.005156, allocations: 376.5 kB / 379.4 MB, free: 1.211 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.005191, allocations: 12.03 kB / 379.4 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/0.005235, allocations: 12.88 kB / 379.5 MB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.482e-05/0.00532, allocations: 112.6 kB / 379.6 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.00533, allocations: 4.375 kB / 379.6 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.005352, allocations: 4.312 kB / 379.6 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001249/0.005476, allocations: 87.94 kB / 379.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.005486, allocations: 192 / 379.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-06/0.005495, allocations: 384 / 379.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.479e-05/0.00553, allocations: 12.36 kB / 379.7 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.102e-05/0.005591, allocations: 35.92 kB / 379.7 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001412/0.005732, allocations: 136.6 kB / 379.8 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.00593, allocations: 79.36 kB / 379.9 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.957e-05/0.00598, allocations: 39.72 kB / 380 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.18e-05/0.006022, allocations: 11.98 kB / 380 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.006045, allocations: 37.39 kB / 380 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.006046, allocations: 0 / 380 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.005059/0.01111, allocations: 1.49 MB / 381.5 MB, free: 15.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.01114, allocations: 55.64 kB / 381.5 MB, free: 14.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.934e-05/0.01121, allocations: 153.9 kB / 381.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.01124, allocations: 33.7 kB / 381.7 MB, free: 14.75 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.314e-05/0.01127, allocations: 131.3 kB / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.766e-05/0.01136, allocations: 99.14 kB / 382 MB, free: 14.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001237/0.01148, allocations: 99.3 kB / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.0116, allocations: 0.4924 MB / 382.5 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/0.01191, allocations: 355.9 kB / 382.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/0.01221, allocations: 347.9 kB / 383.2 MB, free: 13.22 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.000997/0.01321, allocations: 1.071 MB / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.01321, allocations: 0 / 384.3 MB, free: 12.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009406/0.01415, allocations: 0.8967 MB / 385.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.01417, allocations: 9.719 kB / 385.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009883/0.01516, allocations: 0.8163 MB / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003434/0.01859, allocations: 179.5 kB / 386.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.01875, allocations: 63.89 kB / 386.3 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005792/0.01933, allocations: 0.9132 MB / 387.2 MB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.093e-05/0.0194, allocations: 7.984 kB / 387.2 MB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.995e-05/0.01947, allocations: 71.98 kB / 387.3 MB, free: 9.145 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.0001473/0.01961, allocations: 176.5 kB / 387.4 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.498e-05/0.01967, allocations: 23.89 kB / 387.5 MB, free: 8.938 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.0009255/0.0206, allocations: 0.6286 MB / 388.1 MB, free: 8.312 MB / 362.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.8375426880083978]