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.0009611/0.0009611, allocations: 75.77 kB / 21.18 MB, free: 3.375 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.001408/0.001408, allocations: 161 kB / 24.56 MB, free: 4 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 0.9608/0.9608, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.2935/0.2935, allocations: 32.8 MB / 294.3 MB, free: 0.707 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.343e-06/1.343e-06, allocations: 0 / 376 MB, free: 4.543 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.687e-05/1.822e-05, allocations: 6.25 kB / 376 MB, free: 4.535 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.0009881/0.001006, allocations: 0.5202 MB / 376.5 MB, free: 4.012 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003764/0.001383, allocations: 219.5 kB / 376.7 MB, free: 3.797 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.386e-05/0.001407, allocations: 0 / 376.7 MB, free: 3.797 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.001551, allocations: 3.984 kB / 376.7 MB, free: 3.793 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.912e-05/0.00158, allocations: 7.938 kB / 376.7 MB, free: 3.785 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.001835, allocations: 51.67 kB / 376.8 MB, free: 3.734 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.063e-05/0.001895, allocations: 19.97 kB / 376.8 MB, free: 3.715 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.817e-05/0.001934, allocations: 7.984 kB / 376.8 MB, free: 3.707 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.029e-05/0.001964, allocations: 11.98 kB / 376.8 MB, free: 3.695 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.786e-05/0.002062, allocations: 31.89 kB / 376.9 MB, free: 3.664 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.002077, allocations: 0 / 376.9 MB, free: 3.664 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.646e-05/0.002164, allocations: 51.95 kB / 376.9 MB, free: 3.613 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.762e-05/0.002191, allocations: 11.98 kB / 376.9 MB, free: 3.602 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.327e-05/0.002215, allocations: 7.938 kB / 376.9 MB, free: 3.594 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.002336, allocations: 79.81 kB / 377 MB, free: 3.516 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.002337, allocations: 0 / 377 MB, free: 3.516 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.002338, allocations: 0 / 377 MB, free: 3.516 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.888e-06/0.002342, allocations: 3.938 kB / 377 MB, free: 3.512 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.00038/0.002722, allocations: 384.5 kB / 377.4 MB, free: 3.098 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.002756, allocations: 12.03 kB / 377.4 MB, free: 3.086 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.002799, allocations: 12.89 kB / 377.4 MB, free: 3.074 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.778e-05/0.002877, allocations: 112.5 kB / 377.5 MB, free: 2.938 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.002888, allocations: 4.359 kB / 377.5 MB, free: 2.934 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.002908, allocations: 4.375 kB / 377.5 MB, free: 2.93 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.003027, allocations: 83.94 kB / 377.6 MB, free: 2.836 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.003037, allocations: 192 / 377.6 MB, free: 2.836 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.003045, allocations: 8.312 kB / 377.6 MB, free: 2.828 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-05/0.003076, allocations: 12.36 kB / 377.6 MB, free: 2.816 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.11e-05/0.003127, allocations: 39.91 kB / 377.7 MB, free: 2.777 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001296/0.003257, allocations: 128.6 kB / 377.8 MB, free: 2.617 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.00343, allocations: 87.41 kB / 377.9 MB, free: 2.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.213e-05/0.003472, allocations: 30.78 kB / 377.9 MB, free: 2.488 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.819e-05/0.00352, allocations: 11.98 kB / 377.9 MB, free: 2.477 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.003545, allocations: 41.39 kB / 378 MB, free: 2.426 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.003546, allocations: 0 / 378 MB, free: 2.426 MB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.001872/0.005418, allocations: 1.491 MB / 379.5 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.00545, allocations: 55.64 kB / 379.5 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.197e-05/0.005522, allocations: 149.9 kB / 379.7 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.00555, allocations: 29.7 kB / 379.7 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.908e-05/0.005579, allocations: 127.4 kB / 379.8 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.367e-05/0.005653, allocations: 107.1 kB / 379.9 MB, free: 412 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.545e-05/0.005749, allocations: 95.31 kB / 380 MB, free: 308 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.005868, allocations: 0.4963 MB / 380.5 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.006115, allocations: 355.9 kB / 380.9 MB, free: 15.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.006367, allocations: 347.9 kB / 381.2 MB, free: 15.11 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.0008043/0.007171, allocations: 1.067 MB / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.007172, allocations: 0 / 382.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007857/0.007958, allocations: 0.9006 MB / 383.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.00798, allocations: 4 kB / 383.2 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008871/0.008867, allocations: 0.8124 MB / 384 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003748/0.009242, allocations: 183.5 kB / 384.2 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.009362, allocations: 63.89 kB / 384.2 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005143/0.009876, allocations: 0.9209 MB / 385.1 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.829e-05/0.009934, allocations: 4 kB / 385.2 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.516e-05/0.009989, allocations: 76 kB / 385.2 MB, free: 11.03 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.0001438/0.01013, allocations: 168.5 kB / 385.4 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.567e-05/0.01018, allocations: 27.92 kB / 385.4 MB, free: 10.82 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.0007309/0.01091, allocations: 0.6364 MB / 386.1 MB, free: 10.19 MB / 362.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.9269821462221444]