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.000936/0.000936, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001036/0.001036, allocations: 158.4 kB / 24.99 MB, free: 9.285 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.057/1.057, allocations: 177.1 MB / 205.3 MB, free: 5.605 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.273/0.273, allocations: 34.26 MB / 296 MB, free: 0.793 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 2.104e-06/2.104e-06, allocations: 0 / 378 MB, free: 3.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.282e-05/2.493e-05, allocations: 2.312 kB / 378 MB, free: 3.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001157/0.001182, allocations: 0.5346 MB / 378.5 MB, free: 2.473 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004376/0.00162, allocations: 227.4 kB / 378.8 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.175e-05/0.001661, allocations: 0 / 378.8 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000166/0.001827, allocations: 11.92 kB / 378.8 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.222e-05/0.00185, allocations: 0 / 378.8 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.00218, allocations: 47.78 kB / 378.8 MB, free: 2.191 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 8.515e-05/0.002265, allocations: 23.92 kB / 378.8 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.639e-05/0.002311, allocations: 0 / 378.8 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.234e-05/0.002353, allocations: 15.97 kB / 378.8 MB, free: 2.152 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001334/0.002487, allocations: 23.97 kB / 378.9 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.002507, allocations: 8 kB / 378.9 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.002622, allocations: 51.83 kB / 378.9 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.759e-05/0.002659, allocations: 15.92 kB / 378.9 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.073e-05/0.00269, allocations: 15.97 kB / 379 MB, free: 2.039 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.002846, allocations: 79.77 kB / 379 MB, free: 1.961 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.002849, allocations: 3.984 kB / 379 MB, free: 1.957 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.00285, allocations: 0 / 379 MB, free: 1.957 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.002855, allocations: 0 / 379 MB, free: 1.957 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.0003866/0.003241, allocations: 372.5 kB / 379.4 MB, free: 1.555 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.00328, allocations: 12.02 kB / 379.4 MB, free: 1.543 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.003327, allocations: 8.891 kB / 379.4 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.493e-05/0.003422, allocations: 120.5 kB / 379.5 MB, free: 1.391 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.003435, allocations: 4.375 kB / 379.5 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.003456, allocations: 384 / 379.6 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.003584, allocations: 87.94 kB / 379.6 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.003594, allocations: 192 / 379.6 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.003604, allocations: 384 / 379.6 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-05/0.003636, allocations: 8.375 kB / 379.6 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.837e-05/0.003694, allocations: 39.91 kB / 379.7 MB, free: 1.242 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.00385, allocations: 128.6 kB / 379.8 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.004043, allocations: 87.34 kB / 379.9 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.294e-05/0.004086, allocations: 35.73 kB / 379.9 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/0.004127, allocations: 8 kB / 379.9 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.004148, allocations: 41.33 kB / 380 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.004149, allocations: 0 / 380 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.002024/0.006173, allocations: 1.49 MB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.006205, allocations: 55.64 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.933e-05/0.006274, allocations: 153.9 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.006301, allocations: 29.7 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.249e-05/0.006333, allocations: 135.3 kB / 381.8 MB, free: 14.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.535e-05/0.006409, allocations: 103.1 kB / 381.9 MB, free: 14.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.839e-05/0.006507, allocations: 103.3 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.00663, allocations: 0.4922 MB / 382.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002654/0.006895, allocations: 351.9 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.007147, allocations: 348.1 kB / 383.2 MB, free: 13.56 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.0008191/0.007966, allocations: 1.075 MB / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.007967, allocations: 0 / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007611/0.008728, allocations: 0.8929 MB / 385.2 MB, free: 11.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.008743, allocations: 8 kB / 385.2 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008173/0.00956, allocations: 0.8202 MB / 386 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003764/0.009937, allocations: 171.5 kB / 386.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.01006, allocations: 67.89 kB / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005369/0.0106, allocations: 0.9132 MB / 387.2 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.235e-05/0.01066, allocations: 12 kB / 387.2 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.822e-05/0.01072, allocations: 71.97 kB / 387.2 MB, free: 9.484 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.0001564/0.01087, allocations: 176.5 kB / 387.4 MB, free: 9.301 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/0.01092, allocations: 19.89 kB / 387.4 MB, free: 9.281 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.0008996/0.01182, allocations: 0.6286 MB / 388.1 MB, free: 8.656 MB / 362.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.9599420160520822]