Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 108.8 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 187.4 kB / 24.51 MB, free: 4.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2343/0.2343, allocations: 44.91 MB / 353.5 MB, free: 11.83 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00229/0.00229, allocations: 63.91 kB / 497.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.449/0.4513, allocations: 64.29 MB / 0.5488 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.00188/0.4531, allocations: 0.5348 MB / 0.5493 GB, free: 12.74 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007321/0.4539, allocations: 229.4 kB / 0.5495 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.376e-05/0.4539, allocations: 0 / 0.5495 GB, free: 12.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.4541, allocations: 10.3 kB / 0.5496 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.785e-05/0.4541, allocations: 5.5 kB / 0.5496 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.4545, allocations: 46.8 kB / 0.5496 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.295e-05/0.4546, allocations: 20.66 kB / 0.5496 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.393e-05/0.4546, allocations: 5.375 kB / 0.5496 GB, free: 12.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.014e-05/0.4546, allocations: 12.89 kB / 0.5496 GB, free: 12.51 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001271/0.4548, allocations: 21.58 kB / 0.5497 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.4548, allocations: 2.906 kB / 0.5497 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001329/0.4549, allocations: 60.62 kB / 0.5497 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.674e-05/0.455, allocations: 17.34 kB / 0.5497 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.81e-05/0.455, allocations: 15 kB / 0.5498 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.4552, allocations: 75.23 kB / 0.5498 GB, free: 12.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.4552, allocations: 0 / 0.5498 GB, free: 12.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.4552, allocations: 0 / 0.5498 GB, free: 12.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.4552, allocations: 0 / 0.5498 GB, free: 12.39 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.000578/0.4558, allocations: 277.6 kB / 0.5501 GB, free: 12.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.4558, allocations: 10.55 kB / 0.5501 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.4558, allocations: 6.062 kB / 0.5501 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.456, allocations: 121.2 kB / 0.5502 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.456, allocations: 1.875 kB / 0.5502 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.125e-05/0.456, allocations: 1.562 kB / 0.5502 GB, free: 11.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.4562, allocations: 94.31 kB / 0.5503 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.4562, allocations: 192 / 0.5503 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.4562, allocations: 3.938 kB / 0.5503 GB, free: 11.9 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/0.4563, allocations: 17.92 kB / 0.5503 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.4564, allocations: 64.02 kB / 0.5504 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002602/0.4566, allocations: 165.2 kB / 0.5506 GB, free: 11.69 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.4569, allocations: 116.7 kB / 0.5507 GB, free: 11.63 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.888e-05/0.457, allocations: 57.47 kB / 0.5507 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.16e-05/0.4571, allocations: 10.3 kB / 0.5507 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.4571, allocations: 39.62 kB / 0.5508 GB, free: 11.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.4571, allocations: 1.312 kB / 0.5508 GB, free: 11.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.003871/0.461, allocations: 2.208 MB / 0.5529 GB, free: 10.69 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.729e-05/0.461, allocations: 59.33 kB / 0.553 GB, free: 10.62 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.777e-05/0.4611, allocations: 99.16 kB / 0.5531 GB, free: 10.52 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.948e-05/0.4612, allocations: 30.77 kB / 0.5531 GB, free: 10.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.967e-05/0.4612, allocations: 81.73 kB / 0.5532 GB, free: 10.4 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.4614, allocations: 98.34 kB / 0.5533 GB, free: 10.31 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.4615, allocations: 96.84 kB / 0.5534 GB, free: 10.26 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.4617, allocations: 325.5 kB / 0.5537 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007885/0.4625, allocations: 0.5789 MB / 0.5542 GB, free: 9.691 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006783/0.4632, allocations: 0.5827 MB / 0.5548 GB, free: 9.109 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.002889/0.466, allocations: 2.056 MB / 0.5568 GB, free: 7.051 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.466, allocations: 0 / 0.5568 GB, free: 7.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002201/0.4682, allocations: 1.707 MB / 0.5585 GB, free: 5.336 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.4683, allocations: 8 kB / 0.5585 GB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002186/0.4705, allocations: 1.516 MB / 0.56 GB, free: 3.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008235/0.4713, allocations: 408.5 kB / 0.5604 GB, free: 3.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000232/0.4715, allocations: 63.89 kB / 0.5604 GB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.4728, allocations: 1.189 MB / 0.5616 GB, free: 2.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001264/0.4729, allocations: 8.031 kB / 0.5616 GB, free: 2.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.607e-05/0.473, allocations: 76.03 kB / 0.5617 GB, free: 2.043 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.0002639/0.4733, allocations: 137.7 kB / 0.5618 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.4733, allocations: 11.95 kB / 0.5618 GB, free: 1.887 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 <failed> postOpt wrapFunctionCalls (simulation): time 0.001579/0.4749, allocations: 0.8861 MB / 0.5627 GB, free: 0.9922 MB / 398.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.336828107945621] Failed to read output from testmodel.py, exit status != 0: ['time', 'xIntegrated'] 0.4838068038225174 0.49847605199999995 0.040067386 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f5f57e4d7b0>