Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001319/0.001319, allocations: 109.6 kB / 19.69 MB, free: 2.199 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.001582/0.001582, allocations: 187.9 kB / 22.98 MB, free: 5.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.59/1.59, allocations: 207.6 MB / 233.7 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2507/0.2507, allocations: 44.23 MB / 330.2 MB, free: 9.539 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Math.TestInterpolateTimeVarying") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002328/0.002328, allocations: 76.34 kB / 467.9 MB, free: 4.043 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1527, allocations: 61.03 MB / 0.5166 GB, free: 6.871 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001829/0.1546, allocations: 0.5218 MB / 0.5171 GB, free: 6.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000602/0.1552, allocations: 232.2 kB / 0.5173 GB, free: 6.121 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.928e-05/0.1552, allocations: 0 / 0.5173 GB, free: 6.121 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.1554, allocations: 0 / 0.5173 GB, free: 6.121 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.62e-05/0.1554, allocations: 15.92 kB / 0.5173 GB, free: 6.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003125/0.1557, allocations: 43.83 kB / 0.5174 GB, free: 6.062 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 8.226e-05/0.1558, allocations: 23.97 kB / 0.5174 GB, free: 6.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.1558, allocations: 0 / 0.5174 GB, free: 6.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.636e-05/0.1559, allocations: 7.938 kB / 0.5174 GB, free: 6.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.156, allocations: 31.89 kB / 0.5174 GB, free: 6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.156, allocations: 3.938 kB / 0.5174 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.1561, allocations: 59.94 kB / 0.5175 GB, free: 5.938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.068e-05/0.1562, allocations: 12 kB / 0.5175 GB, free: 5.926 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.1562, allocations: 19.86 kB / 0.5175 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.1564, allocations: 67.72 kB / 0.5176 GB, free: 5.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.1564, allocations: 4 kB / 0.5176 GB, free: 5.836 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.078e-06/0.1564, allocations: 3.984 kB / 0.5176 GB, free: 5.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.1564, allocations: 0 / 0.5176 GB, free: 5.832 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.000537/0.1569, allocations: 278.2 kB / 0.5179 GB, free: 5.527 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1569, allocations: 8.031 kB / 0.5179 GB, free: 5.52 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.798e-05/0.157, allocations: 8.875 kB / 0.5179 GB, free: 5.512 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.1571, allocations: 114.4 kB / 0.518 GB, free: 5.375 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.1571, allocations: 4.359 kB / 0.518 GB, free: 5.371 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.957e-05/0.1572, allocations: 4.375 kB / 0.518 GB, free: 5.367 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.1574, allocations: 98.22 kB / 0.5181 GB, free: 5.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.1574, allocations: 4.172 kB / 0.5181 GB, free: 5.262 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.1574, allocations: 3.938 kB / 0.5181 GB, free: 5.258 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.737e-05/0.1574, allocations: 8 kB / 0.5181 GB, free: 5.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.1576, allocations: 67.94 kB / 0.5182 GB, free: 5.184 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.1578, allocations: 168.6 kB / 0.5183 GB, free: 4.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003259/0.1582, allocations: 116.5 kB / 0.5184 GB, free: 4.855 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.231e-05/0.1582, allocations: 56.95 kB / 0.5185 GB, free: 4.797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.033e-05/0.1583, allocations: 15.92 kB / 0.5185 GB, free: 4.781 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.1583, allocations: 34.56 kB / 0.5185 GB, free: 4.738 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.253e-06/0.1583, allocations: 0 / 0.5185 GB, free: 4.738 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.003747/0.1621, allocations: 2.222 MB / 0.5207 GB, free: 2.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.347e-05/0.1621, allocations: 55.64 kB / 0.5208 GB, free: 2.422 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.1623, allocations: 93.8 kB / 0.5208 GB, free: 2.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.981e-05/0.1623, allocations: 37.83 kB / 0.5209 GB, free: 2.277 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.428e-05/0.1624, allocations: 80.64 kB / 0.521 GB, free: 2.195 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.1625, allocations: 111 kB / 0.5211 GB, free: 2.086 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.1627, allocations: 89.66 kB / 0.5211 GB, free: 1.992 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.1629, allocations: 326.8 kB / 0.5215 GB, free: 1.664 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007444/0.1636, allocations: 0.5739 MB / 0.522 GB, free: 1.09 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007457/0.1644, allocations: 0.5856 MB / 0.5226 GB, free: 0.5039 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.003109/0.1675, allocations: 2.052 MB / 0.5246 GB, free: 14.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1675, allocations: 4 kB / 0.5246 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002403/0.1699, allocations: 1.71 MB / 0.5263 GB, free: 12.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.1699, allocations: 4 kB / 0.5263 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002158/0.1721, allocations: 1.52 MB / 0.5278 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007997/0.1729, allocations: 408.5 kB / 0.5281 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.1731, allocations: 59.95 kB / 0.5282 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.1745, allocations: 1.192 MB / 0.5294 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001352/0.1747, allocations: 8.031 kB / 0.5294 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-05/0.1748, allocations: 67.97 kB / 0.5294 GB, free: 9.445 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.0002814/0.175, allocations: 137.7 kB / 0.5296 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/0.1751, allocations: 15.89 kB / 0.5296 GB, free: 9.285 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.001683/0.1768, allocations: 0.886 MB / 0.5305 GB, free: 8.398 MB / 414.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.4660348501056433] Failed to read output from testmodel.py, exit status != 0: ['time', 'xIntegrated'] 0.18580822087824345 0.472504168 0.31305281900000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f6b4cd357b0>