Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001291/0.001291, allocations: 113.1 kB / 21.85 MB, free: 80 kB / 14.72 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.002048/0.002048, allocations: 212.4 kB / 25.13 MB, free: 3.605 MB / 14.72 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.487/1.487, allocations: 230.4 MB / 258.7 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2437/0.2437, allocations: 46.94 MB / 362 MB, free: 4.211 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestInterpolateTimeVarying") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002817/0.002817, allocations: 83.86 kB / 0.4978 GB, free: 7.387 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3857, allocations: 66.08 MB / 0.5623 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001635/0.3873, allocations: 0.5071 MB / 0.5628 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000512/0.3879, allocations: 231.4 kB / 0.563 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.267e-05/0.3879, allocations: 0 / 0.563 GB, free: 3.508 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001376/0.388, allocations: 3.938 kB / 0.563 GB, free: 3.504 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.044e-05/0.388, allocations: 4 kB / 0.563 GB, free: 3.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.3883, allocations: 47.88 kB / 0.5631 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.799e-05/0.3884, allocations: 27.86 kB / 0.5631 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.682e-05/0.3884, allocations: 0 / 0.5631 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.743e-05/0.3885, allocations: 7.984 kB / 0.5631 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001181/0.3886, allocations: 31.89 kB / 0.5631 GB, free: 3.387 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.3886, allocations: 4 kB / 0.5632 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.3887, allocations: 59.89 kB / 0.5632 GB, free: 3.324 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.439e-05/0.3887, allocations: 11.98 kB / 0.5632 GB, free: 3.312 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.3888, allocations: 15.88 kB / 0.5632 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.3889, allocations: 74.23 kB / 0.5633 GB, free: 3.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.3889, allocations: 0 / 0.5633 GB, free: 3.23 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.3889, allocations: 0 / 0.5633 GB, free: 3.23 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.3889, allocations: 0 / 0.5633 GB, free: 3.23 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.0004986/0.3894, allocations: 278.2 kB / 0.5636 GB, free: 2.926 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.3895, allocations: 8.031 kB / 0.5636 GB, free: 2.918 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/0.3895, allocations: 12.89 kB / 0.5636 GB, free: 2.906 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.3896, allocations: 110.4 kB / 0.5637 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.3897, allocations: 4.375 kB / 0.5637 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.355e-05/0.3897, allocations: 384 / 0.5637 GB, free: 2.77 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.3899, allocations: 127.9 kB / 0.5638 GB, free: 2.633 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.3899, allocations: 192 / 0.5638 GB, free: 2.633 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.971e-05/0.3899, allocations: 3.938 kB / 0.5638 GB, free: 2.629 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.967e-05/0.39, allocations: 11.98 kB / 0.5638 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.3901, allocations: 71.89 kB / 0.5639 GB, free: 2.547 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000225/0.3903, allocations: 172.6 kB / 0.5641 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.3906, allocations: 114 kB / 0.5642 GB, free: 2.219 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.14e-05/0.3907, allocations: 56.95 kB / 0.5642 GB, free: 2.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.638e-05/0.3907, allocations: 8 kB / 0.5642 GB, free: 2.152 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.3907, allocations: 38.56 kB / 0.5643 GB, free: 2.105 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.112e-06/0.3907, allocations: 0 / 0.5643 GB, free: 2.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.003617/0.3944, allocations: 2.217 MB / 0.5664 GB, free: 15.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.3944, allocations: 59.62 kB / 0.5665 GB, free: 15.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.815e-05/0.3945, allocations: 93.86 kB / 0.5666 GB, free: 15.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.3945, allocations: 29.7 kB / 0.5666 GB, free: 15.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/0.3946, allocations: 80.64 kB / 0.5667 GB, free: 15.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.3947, allocations: 103.1 kB / 0.5668 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.3948, allocations: 93.66 kB / 0.5669 GB, free: 15.37 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.395, allocations: 322.8 kB / 0.5672 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006601/0.3956, allocations: 0.5858 MB / 0.5678 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006511/0.3963, allocations: 0.5817 MB / 0.5683 GB, free: 13.88 MB / 414.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.002768/0.399, allocations: 2.06 MB / 0.5703 GB, free: 11.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.399, allocations: 0 / 0.5703 GB, free: 11.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002322/0.4014, allocations: 1.71 MB / 0.572 GB, free: 10.09 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.4014, allocations: 4 kB / 0.572 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002791/0.4042, allocations: 1.524 MB / 0.5735 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001067/0.4052, allocations: 404.5 kB / 0.5739 GB, free: 8.164 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003948/0.4056, allocations: 55.95 kB / 0.5739 GB, free: 8.109 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001809/0.4075, allocations: 1.193 MB / 0.5751 GB, free: 6.891 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.4076, allocations: 11.97 kB / 0.5751 GB, free: 6.879 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.4077, allocations: 67.97 kB / 0.5752 GB, free: 6.812 MB / 414.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.0003507/0.4081, allocations: 152.2 kB / 0.5753 GB, free: 6.656 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.48e-05/0.4081, allocations: 7.953 kB / 0.5753 GB, free: 6.648 MB / 414.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.002253/0.4104, allocations: 0.882 MB / 0.5762 GB, free: 5.758 MB / 414.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.1642891399096698] Failed to read output from testmodel.py, exit status != 0: ['time', 'xIntegrated'] 0.4213043050840497 0.43966693100000004 0.047289689 Calling exit ...