Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001381/0.001381, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001499/0.001499, allocations: 209.9 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 230.5 MB / 258.1 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.235/0.235, allocations: 46.94 MB / 361.5 MB, free: 3.934 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestInterpolateTimeVarying") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002453/0.002453, allocations: 79.88 kB / 0.4974 GB, free: 7.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3596, allocations: 66.09 MB / 0.5619 GB, free: 3.965 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001783/0.3614, allocations: 0.5134 MB / 0.5624 GB, free: 3.457 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000572/0.362, allocations: 215.3 kB / 0.5626 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.631e-05/0.362, allocations: 0 / 0.5626 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001439/0.3621, allocations: 3.984 kB / 0.5626 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.766e-05/0.3622, allocations: 4 kB / 0.5626 GB, free: 3.238 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003107/0.3625, allocations: 47.83 kB / 0.5627 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.974e-05/0.3626, allocations: 19.97 kB / 0.5627 GB, free: 3.172 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.906e-05/0.3626, allocations: 4 kB / 0.5627 GB, free: 3.168 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.668e-05/0.3626, allocations: 15.92 kB / 0.5627 GB, free: 3.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.3627, allocations: 19.98 kB / 0.5627 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.3628, allocations: 0 / 0.5627 GB, free: 3.133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.3629, allocations: 55.88 kB / 0.5628 GB, free: 3.078 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.496e-05/0.3629, allocations: 23.91 kB / 0.5628 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.829e-05/0.363, allocations: 11.94 kB / 0.5628 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.3631, allocations: 74.23 kB / 0.5629 GB, free: 2.977 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.3631, allocations: 0 / 0.5629 GB, free: 2.977 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3631, allocations: 0 / 0.5629 GB, free: 2.977 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.3631, allocations: 0 / 0.5629 GB, free: 2.977 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.0005095/0.3636, allocations: 278.2 kB / 0.5631 GB, free: 2.672 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.3637, allocations: 12.03 kB / 0.5631 GB, free: 2.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/0.3637, allocations: 12.89 kB / 0.5632 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.3638, allocations: 106.5 kB / 0.5633 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.026e-06/0.3639, allocations: 384 / 0.5633 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.3639, allocations: 8.312 kB / 0.5633 GB, free: 2.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.3641, allocations: 123.9 kB / 0.5634 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.3641, allocations: 4.172 kB / 0.5634 GB, free: 2.375 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.3641, allocations: 7.922 kB / 0.5634 GB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/0.3641, allocations: 11.98 kB / 0.5634 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.3643, allocations: 63.95 kB / 0.5635 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002036/0.3645, allocations: 141.2 kB / 0.5636 GB, free: 2.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002798/0.3647, allocations: 118.9 kB / 0.5637 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.755e-05/0.3648, allocations: 52.83 kB / 0.5638 GB, free: 1.945 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.724e-05/0.3649, allocations: 8 kB / 0.5638 GB, free: 1.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.3649, allocations: 38.55 kB / 0.5638 GB, free: 1.891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.3649, allocations: 0 / 0.5638 GB, free: 1.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.003632/0.3685, allocations: 2.219 MB / 0.566 GB, free: 15.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.3686, allocations: 55.64 kB / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.589e-05/0.3687, allocations: 89.86 kB / 0.5661 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.995e-05/0.3687, allocations: 33.7 kB / 0.5662 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.973e-05/0.3688, allocations: 80.64 kB / 0.5662 GB, free: 15.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.3689, allocations: 103.1 kB / 0.5663 GB, free: 15.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.369, allocations: 89.64 kB / 0.5664 GB, free: 15.16 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3692, allocations: 334.8 kB / 0.5667 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006819/0.3699, allocations: 0.5817 MB / 0.5673 GB, free: 14.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006688/0.3705, allocations: 0.5817 MB / 0.5679 GB, free: 13.66 MB / 414.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.002838/0.3734, allocations: 2.056 MB / 0.5699 GB, free: 11.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3734, allocations: 0 / 0.5699 GB, free: 11.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002128/0.3755, allocations: 1.706 MB / 0.5715 GB, free: 9.887 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3755, allocations: 8 kB / 0.5716 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002097/0.3776, allocations: 1.528 MB / 0.573 GB, free: 8.348 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007579/0.3784, allocations: 412.5 kB / 0.5734 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002247/0.3786, allocations: 67.89 kB / 0.5735 GB, free: 7.875 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/0.38, allocations: 1.181 MB / 0.5747 GB, free: 6.668 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.3801, allocations: 8.031 kB / 0.5747 GB, free: 6.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.322e-05/0.3802, allocations: 67.97 kB / 0.5747 GB, free: 6.594 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.0002313/0.3805, allocations: 141.7 kB / 0.5749 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.3805, allocations: 7.953 kB / 0.5749 GB, free: 6.438 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 postOpt wrapFunctionCalls (simulation): time 0.001554/0.3821, allocations: 0.886 MB / 0.5757 GB, free: 5.543 MB / 414.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.10956188198179] Failed to read output from testmodel.py, exit status != 0: ['time', 'xIntegrated'] 0.3911301726475358 0.40535605999999996 0.039159804 Calling exit ...