Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001137/0.001137, allocations: 82.59 kB / 21.42 MB, free: 3.066 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001521/0.001521, allocations: 170.1 kB / 24.82 MB, free: 9.27 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.015/1.015, allocations: 177 MB / 205.1 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3016/0.3016, allocations: 34.87 MB / 296.6 MB, free: 0.4961 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 379.2 MB, free: 1.855 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.656e-05/1.798e-05, allocations: 6.25 kB / 379.2 MB, free: 1.848 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001094/0.001112, allocations: 0.5286 MB / 379.7 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004174/0.001529, allocations: 219.5 kB / 379.9 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.319e-05/0.001552, allocations: 0 / 379.9 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.001678, allocations: 7.984 kB / 380 MB, free: 1.094 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.467e-05/0.001703, allocations: 3.984 kB / 380 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.001965, allocations: 51.78 kB / 380 MB, free: 1.039 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.949e-05/0.002025, allocations: 23.95 kB / 380 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.17e-05/0.002057, allocations: 0 / 380 MB, free: 1.016 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.709e-05/0.002094, allocations: 15.98 kB / 380 MB, free: 1 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.002198, allocations: 27.89 kB / 380.1 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.002215, allocations: 4 kB / 380.1 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.751e-05/0.002312, allocations: 51.89 kB / 380.1 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.8e-05/0.00234, allocations: 7.984 kB / 380.1 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.213e-05/0.002363, allocations: 11.94 kB / 380.2 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.002483, allocations: 79.81 kB / 380.2 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.002485, allocations: 0 / 380.2 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.002485, allocations: 7.938 kB / 380.2 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.146e-06/0.002488, allocations: 0 / 380.2 MB, free: 0.8125 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.0003346/0.002823, allocations: 380.5 kB / 380.6 MB, free: 412 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.002859, allocations: 8.031 kB / 380.6 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.685e-05/0.002886, allocations: 8.891 kB / 380.6 MB, free: 396 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.207e-05/0.002958, allocations: 112.5 kB / 380.7 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.00297, allocations: 4.375 kB / 380.7 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.002988, allocations: 4.359 kB / 380.7 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.003092, allocations: 90.52 kB / 380.8 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.003101, allocations: 4.125 kB / 380.8 MB, free: 144 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.003108, allocations: 4.375 kB / 380.8 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.545e-05/0.003133, allocations: 12.36 kB / 380.9 MB, free: 128 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.232e-05/0.003176, allocations: 31.91 kB / 380.9 MB, free: 96 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.003305, allocations: 109.3 kB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.003458, allocations: 83.25 kB / 381.1 MB, free: 15.87 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.304e-05/0.003491, allocations: 27.75 kB / 381.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.448e-05/0.003535, allocations: 15.97 kB / 381.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.003558, allocations: 33.39 kB / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 8.32e-07/0.003559, allocations: 0 / 381.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.001536/0.005095, allocations: 1.321 MB / 382.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.581e-05/0.005121, allocations: 55.64 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.406e-05/0.005185, allocations: 149.9 kB / 382.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.005208, allocations: 29.7 kB / 382.7 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.61e-05/0.005245, allocations: 131.4 kB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.857e-05/0.005323, allocations: 107.2 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-05/0.00542, allocations: 103.3 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.005557, allocations: 0.4923 MB / 383.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003187/0.005876, allocations: 295.9 kB / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.00609, allocations: 299.9 kB / 384.1 MB, free: 12.73 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.0006772/0.006767, allocations: 0.9146 MB / 385 MB, free: 11.81 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.006768, allocations: 3.938 kB / 385 MB, free: 11.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009883/0.007756, allocations: 0.7803 MB / 385.8 MB, free: 11.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.00777, allocations: 4 kB / 385.8 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006586/0.008428, allocations: 0.7382 MB / 386.5 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000312/0.00874, allocations: 179.5 kB / 386.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.00885, allocations: 55.95 kB / 386.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006065/0.009456, allocations: 0.9209 MB / 387.7 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.655e-05/0.009503, allocations: 4 kB / 387.7 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.864e-05/0.009552, allocations: 71.91 kB / 387.8 MB, free: 9.008 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.000121/0.009673, allocations: 168.5 kB / 387.9 MB, free: 8.832 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/0.009714, allocations: 19.95 kB / 388 MB, free: 8.812 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.0006391/0.01035, allocations: 0.6051 MB / 388.6 MB, free: 8.211 MB / 362.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.002421666868031]