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.0008849/0.0008849, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0009435/0.0009435, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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 0.9041/0.9041, allocations: 177 MB / 204.8 MB, free: 5.582 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.2862/0.2862, allocations: 34.86 MB / 296.3 MB, free: 0.5547 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.593e-06/1.593e-06, allocations: 0 / 378.7 MB, free: 2.137 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.864e-05, allocations: 4.422 kB / 378.7 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001166/0.001195, allocations: 0.5202 MB / 379.3 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003859/0.001581, allocations: 215.5 kB / 379.5 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.436e-05/0.001605, allocations: 4 kB / 379.5 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000159/0.001764, allocations: 11.92 kB / 379.5 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.274e-05/0.001787, allocations: 0 / 379.5 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.002061, allocations: 51.81 kB / 379.5 MB, free: 1.332 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.615e-05/0.002127, allocations: 19.97 kB / 379.6 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.259e-05/0.00216, allocations: 0 / 379.6 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.52e-05/0.002195, allocations: 15.98 kB / 379.6 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.002297, allocations: 23.91 kB / 379.6 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.002314, allocations: 4 kB / 379.6 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.094e-05/0.002405, allocations: 63.81 kB / 379.7 MB, free: 1.207 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.942e-05/0.002434, allocations: 7.984 kB / 379.7 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.545e-05/0.00246, allocations: 15.92 kB / 379.7 MB, free: 1.184 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.002594, allocations: 79.81 kB / 379.8 MB, free: 1.105 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.002596, allocations: 0 / 379.8 MB, free: 1.105 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.002597, allocations: 0 / 379.8 MB, free: 1.105 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.002601, allocations: 0 / 379.8 MB, free: 1.105 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.0003821/0.002983, allocations: 376.5 kB / 380.1 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.003021, allocations: 8.031 kB / 380.1 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.003065, allocations: 12.89 kB / 380.2 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.109e-05/0.003146, allocations: 116.5 kB / 380.3 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.003158, allocations: 4.375 kB / 380.3 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.00318, allocations: 8.297 kB / 380.3 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.003312, allocations: 91.84 kB / 380.4 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.003322, allocations: 192 / 380.4 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.003333, allocations: 384 / 380.4 MB, free: 436 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.448e-05/0.003367, allocations: 8.375 kB / 380.4 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.956e-05/0.003427, allocations: 43.89 kB / 380.4 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.003578, allocations: 132.6 kB / 380.5 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.00377, allocations: 85.31 kB / 380.6 MB, free: 120 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.36e-05/0.003813, allocations: 39.73 kB / 380.7 MB, free: 76 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.732e-05/0.003851, allocations: 8 kB / 380.7 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.003877, allocations: 49.31 kB / 380.7 MB, free: 8 kB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.022e-06/0.003878, allocations: 0 / 380.7 MB, free: 8 kB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.001813/0.005691, allocations: 1.478 MB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.005728, allocations: 55.64 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.309e-05/0.005801, allocations: 153.9 kB / 382.4 MB, free: 14.26 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.005831, allocations: 33.7 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.005871, allocations: 127.4 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.567e-05/0.005957, allocations: 103 kB / 382.7 MB, free: 14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.887e-05/0.006056, allocations: 99.3 kB / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.006198, allocations: 0.4961 MB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.006441, allocations: 351.9 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002383/0.00668, allocations: 351.9 kB / 383.9 MB, free: 12.7 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.0007866/0.007466, allocations: 1.071 MB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.007468, allocations: 0 / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007335/0.008201, allocations: 0.8936 MB / 385.9 MB, free: 10.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.008216, allocations: 8 kB / 385.9 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007863/0.009002, allocations: 0.8202 MB / 386.7 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000384/0.009386, allocations: 175.5 kB / 386.9 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.009508, allocations: 63.89 kB / 387 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005569/0.01006, allocations: 0.9171 MB / 387.9 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.496e-05/0.01012, allocations: 7.984 kB / 387.9 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-05/0.01017, allocations: 67.98 kB / 388 MB, free: 8.625 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.0001369/0.01031, allocations: 172.5 kB / 388.1 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.237e-05/0.01035, allocations: 31.86 kB / 388.2 MB, free: 8.414 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.0007297/0.01108, allocations: 0.6286 MB / 388.8 MB, free: 7.789 MB / 362.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.8572923061437905]