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.0009307/0.0009307, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009557/0.0009557, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 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.9153/0.9153, allocations: 177.2 MB / 206.1 MB, free: 4.484 MB / 186.7 MB " [Timeout remaining time 179] 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.1478/0.1478, allocations: 34.26 MB / 296.9 MB, free: 13.91 MB / 282.7 MB " [Timeout remaining time 180] 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.422e-06/1.422e-06, allocations: 3.938 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.131e-05/2.273e-05, allocations: 2.312 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001396/0.001419, allocations: 0.5048 MB / 379.8 MB, free: 22.9 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004113/0.00183, allocations: 211.5 kB / 380 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.673e-05/0.001857, allocations: 7.938 kB / 380 MB, free: 22.69 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001367/0.001994, allocations: 7.938 kB / 380 MB, free: 22.68 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 2.699e-05/0.002021, allocations: 3.984 kB / 380 MB, free: 22.68 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.002285, allocations: 47.83 kB / 380.1 MB, free: 22.63 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 5.968e-05/0.002344, allocations: 23.91 kB / 380.1 MB, free: 22.61 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.773e-05/0.002382, allocations: 0 / 380.1 MB, free: 22.61 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.293e-05/0.002415, allocations: 15.98 kB / 380.1 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.692e-05/0.002512, allocations: 19.95 kB / 380.1 MB, free: 22.57 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.002529, allocations: 4 kB / 380.1 MB, free: 22.57 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.002634, allocations: 51.95 kB / 380.2 MB, free: 22.52 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.927e-05/0.002663, allocations: 15.92 kB / 380.2 MB, free: 22.5 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.177e-05/0.002685, allocations: 15.92 kB / 380.2 MB, free: 22.48 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.002817, allocations: 75.83 kB / 380.3 MB, free: 22.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.002819, allocations: 0 / 380.3 MB, free: 22.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.00282, allocations: 0 / 380.3 MB, free: 22.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.002825, allocations: 0 / 380.3 MB, free: 22.41 MB / 314.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.000309/0.003134, allocations: 384.4 kB / 380.7 MB, free: 22 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.171e-05/0.003165, allocations: 8.031 kB / 380.7 MB, free: 21.99 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.482e-05/0.0032, allocations: 4.938 kB / 380.7 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.295e-05/0.003263, allocations: 120.5 kB / 380.8 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.003275, allocations: 4.375 kB / 380.8 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.003294, allocations: 8.312 kB / 380.8 MB, free: 21.83 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.466e-05/0.003388, allocations: 83.94 kB / 380.9 MB, free: 21.73 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.003398, allocations: 192 / 380.9 MB, free: 21.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.003406, allocations: 384 / 380.9 MB, free: 21.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.83e-05/0.003434, allocations: 12.36 kB / 380.9 MB, free: 21.72 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.858e-05/0.003483, allocations: 39.78 kB / 380.9 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001159/0.003599, allocations: 113.2 kB / 381 MB, free: 21.55 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.003755, allocations: 82.56 kB / 381.1 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.515e-05/0.00379, allocations: 31.75 kB / 381.2 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.268e-05/0.003823, allocations: 11.98 kB / 381.2 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.566e-05/0.003838, allocations: 33.39 kB / 381.2 MB, free: 21.37 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.162e-06/0.003839, allocations: 0 / 381.2 MB, free: 21.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=30): time 0.001794/0.005634, allocations: 1.326 MB / 382.5 MB, free: 20.01 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.226e-05/0.005656, allocations: 59.58 kB / 382.6 MB, free: 19.94 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.836e-05/0.005694, allocations: 153.9 kB / 382.7 MB, free: 19.77 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.005722, allocations: 29.7 kB / 382.8 MB, free: 19.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.431e-05/0.005737, allocations: 127.4 kB / 382.9 MB, free: 19.61 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.642e-05/0.005813, allocations: 103.1 kB / 383 MB, free: 19.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.005938, allocations: 107.3 kB / 383.1 MB, free: 19.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.885e-05/0.005987, allocations: 0.4884 MB / 383.6 MB, free: 18.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/0.006223, allocations: 291.9 kB / 383.9 MB, free: 18.61 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.006462, allocations: 299.9 kB / 384.2 MB, free: 18.31 MB / 314.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.0007602/0.007222, allocations: 0.923 MB / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.007224, allocations: 0 / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008438/0.008067, allocations: 0.7834 MB / 385.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.008085, allocations: 4 kB / 385.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006311/0.008716, allocations: 0.707 MB / 386.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003163/0.009032, allocations: 171.4 kB / 386.7 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.009148, allocations: 63.95 kB / 386.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003767/0.009524, allocations: 0.9131 MB / 387.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.614e-05/0.00959, allocations: 8 kB / 387.7 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/0.009635, allocations: 63.97 kB / 387.8 MB, free: 14.63 MB / 314.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.0001245/0.009759, allocations: 172.6 kB / 388 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.244e-05/0.009802, allocations: 19.95 kB / 388 MB, free: 14.43 MB / 314.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.0006135/0.01042, allocations: 0.5991 MB / 388.6 MB, free: 13.83 MB / 314.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 1.8533336143009365]