Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001608/0.001608, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001773/0.001773, allocations: 204.1 kB / 24.46 MB, free: 4.023 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.55/1.55, allocations: 230.2 MB / 257.8 MB, free: 8.52 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2302/0.2302, allocations: 46.9 MB / 361.1 MB, free: 4.641 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Math.TestInterpolateTimeVarying") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002573/0.002573, allocations: 79.86 kB / 0.4967 GB, free: 7.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.365, allocations: 65.98 MB / 0.5612 GB, free: 5.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001663/0.3667, allocations: 0.5211 MB / 0.5617 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005162/0.3672, allocations: 223.4 kB / 0.5619 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.59e-05/0.3673, allocations: 4 kB / 0.5619 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001484/0.3674, allocations: 7.938 kB / 0.5619 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.091e-05/0.3674, allocations: 0 / 0.5619 GB, free: 4.297 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.3677, allocations: 47.89 kB / 0.562 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.745e-05/0.3678, allocations: 23.84 kB / 0.562 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.193e-05/0.3678, allocations: 4 kB / 0.562 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.395e-05/0.3678, allocations: 11.98 kB / 0.562 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.368, allocations: 27.91 kB / 0.562 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.368, allocations: 4 kB / 0.562 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.3681, allocations: 47.95 kB / 0.5621 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.885e-05/0.3681, allocations: 15.97 kB / 0.5621 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.558e-05/0.3682, allocations: 19.86 kB / 0.5621 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.3683, allocations: 70.53 kB / 0.5622 GB, free: 4.031 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3683, allocations: 0 / 0.5622 GB, free: 4.031 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3683, allocations: 0 / 0.5622 GB, free: 4.031 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3683, allocations: 0 / 0.5622 GB, free: 4.031 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.0005306/0.3689, allocations: 359.3 kB / 0.5625 GB, free: 3.629 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.3689, allocations: 8.031 kB / 0.5625 GB, free: 3.621 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.3689, allocations: 8.891 kB / 0.5625 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.3691, allocations: 172.2 kB / 0.5627 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.3691, allocations: 4.375 kB / 0.5627 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.3691, allocations: 384 / 0.5627 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.3693, allocations: 98.22 kB / 0.5628 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3693, allocations: 192 / 0.5628 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.3693, allocations: 7.922 kB / 0.5628 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.02e-05/0.3694, allocations: 8 kB / 0.5628 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001258/0.3695, allocations: 71.89 kB / 0.5629 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002389/0.3697, allocations: 201.5 kB / 0.5631 GB, free: 2.969 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003358/0.3701, allocations: 110.8 kB / 0.5632 GB, free: 2.852 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.3702, allocations: 56.95 kB / 0.5632 GB, free: 2.793 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.32e-05/0.3702, allocations: 15.98 kB / 0.5632 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.3703, allocations: 34.56 kB / 0.5633 GB, free: 2.734 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.3703, allocations: 0 / 0.5633 GB, free: 2.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.004491/0.3748, allocations: 2.22 MB / 0.5654 GB, free: 496 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/0.3748, allocations: 59.58 kB / 0.5655 GB, free: 424 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.189e-05/0.3749, allocations: 93.86 kB / 0.5656 GB, free: 320 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.629e-05/0.375, allocations: 29.7 kB / 0.5656 GB, free: 284 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.3751, allocations: 80.7 kB / 0.5657 GB, free: 200 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.3752, allocations: 99.12 kB / 0.5658 GB, free: 100 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.3755, allocations: 93.64 kB / 0.5659 GB, free: 0 / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3756, allocations: 330.9 kB / 0.5662 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009514/0.3766, allocations: 0.5778 MB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009476/0.3775, allocations: 0.5817 MB / 0.5673 GB, free: 14.5 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.004025/0.3815, allocations: 2.056 MB / 0.5693 GB, free: 12.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3815, allocations: 4 kB / 0.5693 GB, free: 12.44 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002953/0.3845, allocations: 1.71 MB / 0.571 GB, free: 10.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.3845, allocations: 4 kB / 0.571 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002776/0.3873, allocations: 1.52 MB / 0.5725 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007862/0.3881, allocations: 408.5 kB / 0.5729 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.3883, allocations: 55.95 kB / 0.5729 GB, free: 8.738 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.3897, allocations: 1.189 MB / 0.5741 GB, free: 7.523 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.3898, allocations: 4.031 kB / 0.5741 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.31e-05/0.3899, allocations: 71.97 kB / 0.5742 GB, free: 7.449 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.0002336/0.3902, allocations: 141.8 kB / 0.5743 GB, free: 7.301 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.3902, allocations: 7.953 kB / 0.5743 GB, free: 7.293 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.0016/0.3918, allocations: 0.8905 MB / 0.5752 GB, free: 6.395 MB / 414.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.1500192852690816] Failed to read output from testmodel.py, exit status != 0: ['time', 'xIntegrated'] 0.4002701616846025 0.415266821 0.043775811000000005 Calling exit ...