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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.439/1.439, allocations: 230.6 MB / 258.3 MB, free: 7.996 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.2599/0.2599, allocations: 44.93 MB / 359.6 MB, free: 6.262 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 71.89 kB / 0.4943 GB, free: 10.22 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.333, allocations: 65.47 MB / 0.5582 GB, free: 7.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001637/0.3346, allocations: 0.5175 MB / 0.5587 GB, free: 7.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005249/0.3352, allocations: 227.4 kB / 0.559 GB, free: 6.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.737e-05/0.3352, allocations: 0 / 0.559 GB, free: 6.973 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.3353, allocations: 3.938 kB / 0.559 GB, free: 6.969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.207e-05/0.3354, allocations: 11.98 kB / 0.559 GB, free: 6.957 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.3356, allocations: 43.89 kB / 0.559 GB, free: 6.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.002e-05/0.3357, allocations: 23.86 kB / 0.559 GB, free: 6.891 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.18e-05/0.3357, allocations: 7.984 kB / 0.559 GB, free: 6.883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.98e-05/0.3358, allocations: 11.94 kB / 0.5591 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.3359, allocations: 27.91 kB / 0.5591 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.3359, allocations: 0 / 0.5591 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.336, allocations: 55.94 kB / 0.5591 GB, free: 6.789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.626e-05/0.3361, allocations: 15.98 kB / 0.5592 GB, free: 6.773 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.3361, allocations: 19.86 kB / 0.5592 GB, free: 6.754 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.3362, allocations: 67.44 kB / 0.5592 GB, free: 6.691 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.3362, allocations: 0 / 0.5592 GB, free: 6.691 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3362, allocations: 0 / 0.5592 GB, free: 6.691 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.3362, allocations: 0 / 0.5592 GB, free: 6.691 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.0004743/0.3367, allocations: 276.9 kB / 0.5595 GB, free: 6.391 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.3367, allocations: 12.03 kB / 0.5595 GB, free: 6.379 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.791e-05/0.3368, allocations: 4.891 kB / 0.5595 GB, free: 6.375 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.3369, allocations: 122.4 kB / 0.5596 GB, free: 6.23 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.3369, allocations: 384 / 0.5596 GB, free: 6.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.234e-05/0.3369, allocations: 4.375 kB / 0.5596 GB, free: 6.227 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.3371, allocations: 94.22 kB / 0.5597 GB, free: 6.129 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3371, allocations: 192 / 0.5597 GB, free: 6.129 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.3372, allocations: 7.922 kB / 0.5597 GB, free: 6.121 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.772e-05/0.3372, allocations: 12 kB / 0.5597 GB, free: 6.109 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001259/0.3373, allocations: 67.89 kB / 0.5598 GB, free: 6.043 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002282/0.3375, allocations: 168.6 kB / 0.56 GB, free: 5.836 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.3378, allocations: 114.8 kB / 0.5601 GB, free: 5.715 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.621e-05/0.3379, allocations: 60.89 kB / 0.5601 GB, free: 5.652 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.762e-05/0.338, allocations: 8 kB / 0.5601 GB, free: 5.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.741e-05/0.338, allocations: 38.56 kB / 0.5602 GB, free: 5.598 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.338, allocations: 0 / 0.5602 GB, free: 5.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.003586/0.3416, allocations: 2.216 MB / 0.5624 GB, free: 3.352 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.3416, allocations: 55.64 kB / 0.5624 GB, free: 3.285 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.391e-05/0.3417, allocations: 93.86 kB / 0.5625 GB, free: 3.184 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/0.3417, allocations: 33.7 kB / 0.5625 GB, free: 3.145 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.611e-05/0.3418, allocations: 80.64 kB / 0.5626 GB, free: 3.062 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.3419, allocations: 99.12 kB / 0.5627 GB, free: 2.965 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.342, allocations: 93.64 kB / 0.5628 GB, free: 2.867 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3422, allocations: 330.9 kB / 0.5631 GB, free: 2.535 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000687/0.3429, allocations: 0.5739 MB / 0.5637 GB, free: 1.961 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006774/0.3436, allocations: 0.5817 MB / 0.5642 GB, free: 1.379 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.002806/0.3464, allocations: 2.06 MB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.3464, allocations: 4 kB / 0.5662 GB, free: 15.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002123/0.3485, allocations: 1.71 MB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.3485, allocations: 8 kB / 0.5679 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002141/0.3507, allocations: 1.512 MB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007968/0.3515, allocations: 420.4 kB / 0.5698 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.3517, allocations: 63.89 kB / 0.5699 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.3531, allocations: 1.185 MB / 0.571 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001199/0.3532, allocations: 8.031 kB / 0.571 GB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.599e-05/0.3533, allocations: 71.97 kB / 0.5711 GB, free: 10.3 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.0002485/0.3535, allocations: 145.7 kB / 0.5712 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.3536, allocations: 7.953 kB / 0.5712 GB, free: 10.14 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.00162/0.3552, allocations: 0.8859 MB / 0.5721 GB, free: 9.25 MB / 414.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.0183767708949745] Failed to read output from testmodel.py, exit status != 0: ['time', 'xIntegrated'] 0.3639077669940889 0.378338067 0.039104516000000006 Calling exit ...