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.001496/0.001496, allocations: 112.8 kB / 19.17 MB, free: 3.871 MB / 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.001731/0.001731, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.498/1.498, allocations: 230.2 MB / 255.1 MB, free: 15.25 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.2332/0.2332, allocations: 46.89 MB / 358.1 MB, free: 10.5 MB / 286.1 MB " [Timeout remaining time 180] 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.00225/0.00225, allocations: 79.86 kB / 0.4923 GB, free: 8.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1313, allocations: 65.98 MB / 0.5568 GB, free: 5.941 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001685/0.133, allocations: 0.5258 MB / 0.5573 GB, free: 5.41 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005539/0.1336, allocations: 215.9 kB / 0.5575 GB, free: 5.199 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.437e-05/0.1336, allocations: 0 / 0.5575 GB, free: 5.199 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.1338, allocations: 11.98 kB / 0.5575 GB, free: 5.188 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.405e-05/0.1338, allocations: 0 / 0.5575 GB, free: 5.188 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.1341, allocations: 59.81 kB / 0.5576 GB, free: 5.129 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 7.578e-05/0.1341, allocations: 15.92 kB / 0.5576 GB, free: 5.113 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.682e-05/0.1342, allocations: 4 kB / 0.5576 GB, free: 5.109 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.424e-05/0.1342, allocations: 7.984 kB / 0.5576 GB, free: 5.102 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.1343, allocations: 27.91 kB / 0.5576 GB, free: 5.074 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.1343, allocations: 0 / 0.5576 GB, free: 5.074 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.1345, allocations: 59.88 kB / 0.5577 GB, free: 5.016 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.76e-05/0.1345, allocations: 11.98 kB / 0.5577 GB, free: 5.004 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.967e-05/0.1345, allocations: 15.88 kB / 0.5577 GB, free: 4.988 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001544/0.1347, allocations: 75.64 kB / 0.5578 GB, free: 4.914 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1347, allocations: 4 kB / 0.5578 GB, free: 4.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1347, allocations: 0 / 0.5578 GB, free: 4.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.1347, allocations: 0 / 0.5578 GB, free: 4.91 MB / 414.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.000545/0.1353, allocations: 355.3 kB / 0.5581 GB, free: 4.512 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.1353, allocations: 8.031 kB / 0.5581 GB, free: 4.504 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.1353, allocations: 4.891 kB / 0.5581 GB, free: 4.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.1355, allocations: 168.3 kB / 0.5583 GB, free: 4.297 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.1355, allocations: 384 / 0.5583 GB, free: 4.297 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.1355, allocations: 12.3 kB / 0.5583 GB, free: 4.285 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.1357, allocations: 98.22 kB / 0.5584 GB, free: 4.184 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.1357, allocations: 4.188 kB / 0.5584 GB, free: 4.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1357, allocations: 3.938 kB / 0.5584 GB, free: 4.176 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.895e-05/0.1358, allocations: 11.98 kB / 0.5584 GB, free: 4.164 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.1359, allocations: 63.95 kB / 0.5585 GB, free: 4.102 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002598/0.1362, allocations: 201.5 kB / 0.5587 GB, free: 3.855 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003091/0.1365, allocations: 120.1 kB / 0.5588 GB, free: 3.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.1366, allocations: 56.89 kB / 0.5588 GB, free: 3.672 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.515e-05/0.1366, allocations: 4 kB / 0.5588 GB, free: 3.668 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.1366, allocations: 38.56 kB / 0.5589 GB, free: 3.621 MB / 414.1 MB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.1366, allocations: 0 / 0.5589 GB, free: 3.621 MB / 414.1 MB Notification: Performance of matching and sorting (n=30): time 0.003641/0.1403, allocations: 2.222 MB / 0.561 GB, free: 1.367 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.1403, allocations: 55.64 kB / 0.5611 GB, free: 1.301 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.017e-05/0.1404, allocations: 89.86 kB / 0.5612 GB, free: 1.203 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.127e-05/0.1405, allocations: 29.7 kB / 0.5612 GB, free: 1.168 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.065e-05/0.1405, allocations: 88.83 kB / 0.5613 GB, free: 1.078 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.1406, allocations: 103.1 kB / 0.5614 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.1408, allocations: 97.58 kB / 0.5615 GB, free: 0.875 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.1409, allocations: 322.8 kB / 0.5618 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006808/0.1416, allocations: 0.5817 MB / 0.5624 GB, free: 15.97 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006933/0.1423, allocations: 0.5856 MB / 0.5629 GB, free: 15.38 MB / 430.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.002823/0.1451, allocations: 2.052 MB / 0.5649 GB, free: 13.33 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1451, allocations: 0 / 0.5649 GB, free: 13.33 MB / 430.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002053/0.1472, allocations: 1.706 MB / 0.5666 GB, free: 11.61 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1472, allocations: 4 kB / 0.5666 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002084/0.1493, allocations: 1.52 MB / 0.5681 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008002/0.1501, allocations: 416.5 kB / 0.5685 GB, free: 9.676 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002219/0.1503, allocations: 63.89 kB / 0.5686 GB, free: 9.613 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.1516, allocations: 1.185 MB / 0.5697 GB, free: 8.402 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.1517, allocations: 7.984 kB / 0.5697 GB, free: 8.395 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.959e-05/0.1518, allocations: 68 kB / 0.5698 GB, free: 8.328 MB / 430.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.0002214/0.152, allocations: 137.7 kB / 0.5699 GB, free: 8.184 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/0.1521, allocations: 11.95 kB / 0.5699 GB, free: 8.172 MB / 430.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.001632/0.1537, allocations: 0.8905 MB / 0.5708 GB, free: 7.277 MB / 430.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.946199692087248] Failed to read output from testmodel.py, exit status != 0: ['time', 'xIntegrated'] 0.16062881401740015 0.175971073 0.0374337 Calling exit ...