Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.002454/0.002454, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002917/0.002917, allocations: 165.6 kB / 24.27 MB, free: 152 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.568/1.568, allocations: 177.2 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3898/0.3898, allocations: 34.26 MB / 295.3 MB, free: 0.6758 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.0_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 377.3 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.032e-05/3.175e-05, allocations: 2.312 kB / 377.3 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001679/0.001711, allocations: 0.5198 MB / 377.8 MB, free: 2.477 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000599/0.00231, allocations: 219.5 kB / 378 MB, free: 2.262 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.494e-05/0.002335, allocations: 0 / 378 MB, free: 2.262 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000195/0.00253, allocations: 11.86 kB / 378 MB, free: 2.25 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.737e-05/0.002557, allocations: 4 kB / 378 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000331/0.002888, allocations: 43.88 kB / 378.1 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 7.14e-05/0.00296, allocations: 19.92 kB / 378.1 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.869e-05/0.002998, allocations: 8 kB / 378.1 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.901e-05/0.003047, allocations: 11.97 kB / 378.1 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.003168, allocations: 23.97 kB / 378.1 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.003188, allocations: 0 / 378.1 MB, free: 2.141 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.003325, allocations: 59.88 kB / 378.2 MB, free: 2.082 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.061e-05/0.003366, allocations: 11.94 kB / 378.2 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.612e-05/0.003402, allocations: 11.97 kB / 378.2 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.003609, allocations: 87.69 kB / 378.3 MB, free: 1.973 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.003613, allocations: 0 / 378.3 MB, free: 1.973 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.003614, allocations: 0 / 378.3 MB, free: 1.973 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.003619, allocations: 0 / 378.3 MB, free: 1.973 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.000569/0.004188, allocations: 380.2 kB / 378.7 MB, free: 1.562 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.004228, allocations: 12.03 kB / 378.7 MB, free: 1.551 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.327e-05/0.004282, allocations: 4.938 kB / 378.7 MB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.00443, allocations: 116.5 kB / 378.8 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.004447, allocations: 384 / 378.8 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.706e-05/0.004474, allocations: 4.375 kB / 378.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.004665, allocations: 87.84 kB / 378.9 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.004677, allocations: 192 / 378.9 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.00469, allocations: 384 / 378.9 MB, free: 1.305 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.901e-05/0.004729, allocations: 20.36 kB / 378.9 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.698e-05/0.004826, allocations: 35.92 kB / 378.9 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002297/0.005055, allocations: 136.4 kB / 379.1 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.005327, allocations: 87.36 kB / 379.2 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.087e-05/0.005398, allocations: 35.73 kB / 379.2 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.623e-05/0.005465, allocations: 11.98 kB / 379.2 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/0.005504, allocations: 37.33 kB / 379.2 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.222e-06/0.005505, allocations: 3.938 kB / 379.2 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of matching and sorting (n=30): time 0.002954/0.008459, allocations: 1.443 MB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.008511, allocations: 55.64 kB / 380.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.008635, allocations: 157.9 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001789/0.008814, allocations: 29.7 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.249e-05/0.008886, allocations: 131.4 kB / 381 MB, free: 15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.009013, allocations: 103 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.009187, allocations: 107.4 kB / 381.3 MB, free: 14.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002935/0.00948, allocations: 0.4923 MB / 381.7 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004395/0.00992, allocations: 343.9 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000432/0.01035, allocations: 327.9 kB / 382.4 MB, free: 13.63 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.00189/0.01224, allocations: 1.165 MB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.01224, allocations: 0 / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001314/0.01356, allocations: 0.8577 MB / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.01358, allocations: 5.875 kB / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001383/0.01496, allocations: 0.7811 MB / 385.2 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006237/0.01559, allocations: 179.5 kB / 385.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.01582, allocations: 59.91 kB / 385.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.01685, allocations: 0.9287 MB / 386.4 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.01697, allocations: 4 kB / 386.4 MB, free: 9.602 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.753e-05/0.01707, allocations: 67.97 kB / 386.4 MB, free: 9.535 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.0002667/0.01733, allocations: 176.5 kB / 386.6 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.163e-05/0.01741, allocations: 19.89 kB / 386.6 MB, free: 9.332 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.0014/0.01881, allocations: 0.6288 MB / 387.3 MB, free: 8.707 MB / 362.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.705381272942759]