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.001453/0.001453, allocations: 92.31 kB / 20.96 MB, free: 3.477 MB / 18.57 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.001581/0.001581, allocations: 161.7 kB / 24.27 MB, free: 168 kB / 18.57 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.553/1.553, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 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.3389/0.3389, allocations: 32.79 MB / 293.9 MB, free: 1.207 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 375.2 MB, free: 5.027 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.115e-05/4.291e-05, allocations: 9.406 kB / 375.2 MB, free: 5.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001831/0.001874, allocations: 0.5088 MB / 375.7 MB, free: 4.508 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005857/0.002459, allocations: 215.3 kB / 376 MB, free: 4.297 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.412e-05/0.002483, allocations: 0 / 376 MB, free: 4.297 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.002637, allocations: 11.94 kB / 376 MB, free: 4.285 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.815e-05/0.002665, allocations: 3.938 kB / 376 MB, free: 4.281 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.003002, allocations: 47.81 kB / 376 MB, free: 4.234 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 8.204e-05/0.003084, allocations: 23.97 kB / 376 MB, free: 4.211 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.644e-05/0.003121, allocations: 3.984 kB / 376 MB, free: 4.207 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.835e-05/0.003159, allocations: 8 kB / 376.1 MB, free: 4.199 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001232/0.003282, allocations: 27.91 kB / 376.1 MB, free: 4.172 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.003307, allocations: 4 kB / 376.1 MB, free: 4.168 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.003453, allocations: 51.94 kB / 376.1 MB, free: 4.117 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/0.0035, allocations: 15.97 kB / 376.2 MB, free: 4.102 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.108e-05/0.003541, allocations: 11.94 kB / 376.2 MB, free: 4.09 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.003752, allocations: 83.75 kB / 376.2 MB, free: 4.008 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.374e-06/0.003755, allocations: 0 / 376.2 MB, free: 4.008 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.003755, allocations: 0 / 376.2 MB, free: 4.008 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.00376, allocations: 0 / 376.2 MB, free: 4.008 MB / 346.7 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.0005894/0.004349, allocations: 278.2 kB / 376.5 MB, free: 3.703 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.004395, allocations: 8.031 kB / 376.5 MB, free: 3.695 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.277e-05/0.004458, allocations: 4.938 kB / 376.5 MB, free: 3.691 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.004595, allocations: 113.6 kB / 376.6 MB, free: 3.555 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.004617, allocations: 8.375 kB / 376.7 MB, free: 3.547 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.00465, allocations: 4.375 kB / 376.7 MB, free: 3.543 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002544/0.004904, allocations: 123.9 kB / 376.8 MB, free: 3.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.004918, allocations: 192 / 376.8 MB, free: 3.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.004934, allocations: 4.375 kB / 376.8 MB, free: 3.406 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.98e-05/0.004974, allocations: 16.36 kB / 376.8 MB, free: 3.391 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.005118, allocations: 71.83 kB / 376.9 MB, free: 3.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002383/0.005356, allocations: 133.1 kB / 377 MB, free: 3.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/0.005689, allocations: 122.8 kB / 377.1 MB, free: 3.031 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.892e-05/0.005788, allocations: 52.91 kB / 377.2 MB, free: 2.977 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.149e-05/0.00586, allocations: 19.89 kB / 377.2 MB, free: 2.957 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.005895, allocations: 34.56 kB / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.403e-06/0.005897, allocations: 0 / 377.2 MB, free: 2.914 MB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.0041/0.009997, allocations: 2.219 MB / 379.4 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.232e-05/0.01005, allocations: 59.64 kB / 379.5 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.418e-05/0.01014, allocations: 93.84 kB / 379.6 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.913e-05/0.01019, allocations: 33.7 kB / 379.6 MB, free: 464 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.839e-05/0.01024, allocations: 80.64 kB / 379.7 MB, free: 380 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.01038, allocations: 103.1 kB / 379.8 MB, free: 276 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.01057, allocations: 89.64 kB / 379.9 MB, free: 180 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002278/0.01079, allocations: 326.8 kB / 380.2 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009098/0.0117, allocations: 0.5817 MB / 380.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000748/0.01245, allocations: 0.5778 MB / 381.4 MB, free: 14.69 MB / 362.7 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.003018/0.01547, allocations: 2.057 MB / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.01547, allocations: 0 / 383.4 MB, free: 12.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002358/0.01783, allocations: 1.714 MB / 385.1 MB, free: 10.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.01785, allocations: 6.5 kB / 385.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002347/0.0202, allocations: 1.532 MB / 386.7 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009309/0.02113, allocations: 440.4 kB / 387.1 MB, free: 8.934 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.02137, allocations: 59.95 kB / 387.2 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.023, allocations: 1.192 MB / 388.4 MB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.02312, allocations: 8.062 kB / 388.4 MB, free: 7.648 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.02322, allocations: 68 kB / 388.4 MB, free: 7.582 MB / 362.7 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.0002459/0.02347, allocations: 133.8 kB / 388.6 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.828e-05/0.02356, allocations: 27.83 kB / 388.6 MB, free: 7.414 MB / 362.7 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.001736/0.02529, allocations: 0.8747 MB / 389.5 MB, free: 6.543 MB / 362.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.637499046046287]