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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00131/0.00131, allocations: 117.2 kB / 17.78 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001695/0.001695, allocations: 200.6 kB / 18.73 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2387/0.2387, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 75.88 kB / 481.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4737/0.4753, allocations: 62.44 MB / 0.531 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001914/0.4773, allocations: 0.5073 MB / 0.5315 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000609/0.4779, allocations: 211.7 kB / 0.5317 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.457e-05/0.4779, allocations: 5.812 kB / 0.5317 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.4781, allocations: 9.656 kB / 0.5317 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.396e-05/0.4781, allocations: 4 kB / 0.5317 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003/0.4785, allocations: 50.25 kB / 0.5317 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.004e-05/0.4785, allocations: 17.92 kB / 0.5318 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.701e-05/0.4786, allocations: 1.375 kB / 0.5318 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.261e-05/0.4786, allocations: 20.97 kB / 0.5318 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.4787, allocations: 20.81 kB / 0.5318 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.4788, allocations: 3 kB / 0.5318 GB, free: 13.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.4789, allocations: 51.61 kB / 0.5318 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.118e-05/0.4789, allocations: 21.73 kB / 0.5319 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.595e-05/0.479, allocations: 19.83 kB / 0.5319 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.4792, allocations: 66.83 kB / 0.532 GB, free: 13.11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.4792, allocations: 0 / 0.532 GB, free: 13.11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4792, allocations: 0 / 0.532 GB, free: 13.11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.4792, allocations: 0 / 0.532 GB, free: 13.11 MB / 398.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.0005472/0.4797, allocations: 359.7 kB / 0.5323 GB, free: 12.72 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.4798, allocations: 9.625 kB / 0.5323 GB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.4798, allocations: 6.266 kB / 0.5323 GB, free: 12.71 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.48, allocations: 175 kB / 0.5325 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.48, allocations: 384 / 0.5325 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.48, allocations: 3.125 kB / 0.5325 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002026/0.4802, allocations: 94.09 kB / 0.5326 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.4802, allocations: 192 / 0.5326 GB, free: 12.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.4803, allocations: 7.922 kB / 0.5326 GB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.505e-05/0.4803, allocations: 13.61 kB / 0.5326 GB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001191/0.4804, allocations: 67.77 kB / 0.5327 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002306/0.4807, allocations: 202.3 kB / 0.5328 GB, free: 12.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003123/0.481, allocations: 126.5 kB / 0.533 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.4811, allocations: 68.8 kB / 0.533 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.862e-05/0.4812, allocations: 7.188 kB / 0.533 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.4812, allocations: 35.97 kB / 0.5331 GB, free: 12.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.323e-06/0.4812, allocations: 0 / 0.5331 GB, free: 12.04 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.003884/0.4851, allocations: 2.217 MB / 0.5352 GB, free: 11.17 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.4852, allocations: 58.98 kB / 0.5353 GB, free: 11.11 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.28e-05/0.4852, allocations: 90.95 kB / 0.5354 GB, free: 11.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.831e-05/0.4853, allocations: 30.86 kB / 0.5354 GB, free: 10.97 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.694e-05/0.4853, allocations: 81.86 kB / 0.5355 GB, free: 10.89 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.4855, allocations: 103 kB / 0.5356 GB, free: 10.8 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001805/0.4856, allocations: 95.23 kB / 0.5357 GB, free: 10.75 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.4858, allocations: 326.1 kB / 0.536 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000751/0.4865, allocations: 0.5755 MB / 0.5366 GB, free: 10.24 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007233/0.4873, allocations: 0.5877 MB / 0.5371 GB, free: 10.05 MB / 398.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.003226/0.4905, allocations: 2.059 MB / 0.5391 GB, free: 9.312 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.4905, allocations: 0 / 0.5391 GB, free: 9.312 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001941/0.4925, allocations: 1.706 MB / 0.5408 GB, free: 7.598 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.4925, allocations: 12 kB / 0.5408 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001829/0.4943, allocations: 1.516 MB / 0.5423 GB, free: 6.066 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007077/0.4951, allocations: 408.5 kB / 0.5427 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.4953, allocations: 71.83 kB / 0.5428 GB, free: 5.594 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.4965, allocations: 1.181 MB / 0.5439 GB, free: 4.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001135/0.4966, allocations: 8.031 kB / 0.5439 GB, free: 4.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.383e-05/0.4967, allocations: 71.95 kB / 0.544 GB, free: 4.309 MB / 398.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.0002663/0.4969, allocations: 149.1 kB / 0.5441 GB, free: 4.156 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.594e-05/0.497, allocations: 11.95 kB / 0.5441 GB, free: 4.145 MB / 398.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.001626/0.4986, allocations: 0.8827 MB / 0.545 GB, free: 3.258 MB / 398.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.