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.001831/0.001831, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001564/0.001564, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.518/1.518, allocations: 230.3 MB / 258 MB, free: 8.195 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.2346/0.2346, allocations: 46.93 MB / 361.4 MB, free: 4.395 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.002468/0.002468, allocations: 79.86 kB / 0.4972 GB, free: 7.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3971, allocations: 66.04 MB / 0.5616 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001948/0.3991, allocations: 0.5179 MB / 0.5622 GB, free: 4.035 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000613/0.3997, allocations: 223.4 kB / 0.5624 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.825e-05/0.3997, allocations: 0 / 0.5624 GB, free: 3.816 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.3999, allocations: 4 kB / 0.5624 GB, free: 3.812 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.121e-05/0.3999, allocations: 7.922 kB / 0.5624 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.4002, allocations: 51.89 kB / 0.5624 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 9.636e-05/0.4003, allocations: 15.92 kB / 0.5624 GB, free: 3.738 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.346e-05/0.4004, allocations: 11.98 kB / 0.5625 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.731e-05/0.4004, allocations: 11.98 kB / 0.5625 GB, free: 3.715 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.4006, allocations: 27.84 kB / 0.5625 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.267e-05/0.4006, allocations: 4 kB / 0.5625 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.4007, allocations: 51.95 kB / 0.5625 GB, free: 3.633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.116e-05/0.4008, allocations: 15.98 kB / 0.5626 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.19e-05/0.4008, allocations: 19.84 kB / 0.5626 GB, free: 3.598 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.401, allocations: 63.45 kB / 0.5626 GB, free: 3.539 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.401, allocations: 0 / 0.5626 GB, free: 3.539 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.023e-06/0.401, allocations: 4 kB / 0.5626 GB, free: 3.535 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.401, allocations: 0 / 0.5626 GB, free: 3.535 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.0005822/0.4016, allocations: 281 kB / 0.5629 GB, free: 3.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4016, allocations: 12.03 kB / 0.5629 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.772e-05/0.4017, allocations: 4.891 kB / 0.5629 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.4018, allocations: 122.4 kB / 0.563 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.4019, allocations: 384 / 0.563 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.4019, allocations: 4.375 kB / 0.563 GB, free: 3.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.4021, allocations: 82.23 kB / 0.5631 GB, free: 2.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.4021, allocations: 4.172 kB / 0.5631 GB, free: 2.977 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.4021, allocations: 11.94 kB / 0.5631 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.242e-05/0.4022, allocations: 12 kB / 0.5632 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001243/0.4023, allocations: 63.95 kB / 0.5632 GB, free: 2.891 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002585/0.4026, allocations: 164.6 kB / 0.5634 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003073/0.4029, allocations: 126.8 kB / 0.5635 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.77e-05/0.403, allocations: 60.89 kB / 0.5636 GB, free: 2.492 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.768e-05/0.403, allocations: 4 kB / 0.5636 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.403, allocations: 46.48 kB / 0.5636 GB, free: 2.434 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.403, allocations: 0 / 0.5636 GB, free: 2.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.003736/0.4068, allocations: 2.208 MB / 0.5658 GB, free: 200 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/0.4068, allocations: 55.64 kB / 0.5658 GB, free: 132 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.407, allocations: 93.86 kB / 0.5659 GB, free: 28 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.019e-05/0.407, allocations: 33.64 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.358e-05/0.4071, allocations: 84.64 kB / 0.566 GB, free: 15.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.4072, allocations: 103.1 kB / 0.5661 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001674/0.4074, allocations: 97.77 kB / 0.5662 GB, free: 15.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.4076, allocations: 326.8 kB / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007174/0.4083, allocations: 0.5739 MB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006839/0.409, allocations: 0.5856 MB / 0.5676 GB, free: 14.21 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.002785/0.4118, allocations: 2.056 MB / 0.5697 GB, free: 12.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4118, allocations: 0 / 0.5697 GB, free: 12.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002215/0.414, allocations: 1.714 MB / 0.5713 GB, free: 10.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.414, allocations: 4 kB / 0.5713 GB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002178/0.4162, allocations: 1.512 MB / 0.5728 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008092/0.417, allocations: 416.5 kB / 0.5732 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002269/0.4172, allocations: 59.95 kB / 0.5733 GB, free: 8.441 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.4186, allocations: 1.185 MB / 0.5744 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.4187, allocations: 4 kB / 0.5744 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.651e-05/0.4188, allocations: 76.06 kB / 0.5745 GB, free: 7.152 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.0002923/0.4191, allocations: 137.8 kB / 0.5746 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.737e-05/0.4191, allocations: 11.95 kB / 0.5746 GB, free: 6.996 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 <failed> postOpt wrapFunctionCalls (simulation): time 0.00168/0.4208, allocations: 0.8897 MB / 0.5755 GB, free: 6.098 MB / 414.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.2445533890277147] Failed to read output from testmodel.py, exit status != 0: ['time', 'xIntegrated'] 0.43038556817919016 0.44522989199999996 0.041152651000000005 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fe07b5757b0>