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.001633/0.001633, allocations: 107.6 kB / 21.19 MB, free: 0.668 MB / 14.72 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.002042/0.002042, allocations: 207.5 kB / 24.48 MB, free: 3.977 MB / 14.72 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.534/1.534, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.22/0.22, allocations: 44.93 MB / 359.6 MB, free: 6.051 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002336/0.002336, allocations: 67.88 kB / 0.4942 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3119, allocations: 65.47 MB / 0.5582 GB, free: 7.457 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001794/0.3137, allocations: 0.5292 MB / 0.5587 GB, free: 6.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005515/0.3143, allocations: 211.4 kB / 0.5589 GB, free: 6.723 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.099e-05/0.3143, allocations: 0 / 0.5589 GB, free: 6.723 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.3144, allocations: 0 / 0.5589 GB, free: 6.723 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.706e-05/0.3144, allocations: 7.938 kB / 0.5589 GB, free: 6.715 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.3147, allocations: 47.88 kB / 0.5589 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 6.22e-05/0.3148, allocations: 23.92 kB / 0.559 GB, free: 6.645 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.757e-05/0.3148, allocations: 4 kB / 0.559 GB, free: 6.641 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.567e-05/0.3149, allocations: 11.98 kB / 0.559 GB, free: 6.629 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.315, allocations: 23.91 kB / 0.559 GB, free: 6.605 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.315, allocations: 4 kB / 0.559 GB, free: 6.602 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00014/0.3151, allocations: 55.88 kB / 0.5591 GB, free: 6.547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.899e-05/0.3152, allocations: 11.98 kB / 0.5591 GB, free: 6.535 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.572e-05/0.3152, allocations: 11.88 kB / 0.5591 GB, free: 6.523 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.3153, allocations: 71.48 kB / 0.5591 GB, free: 6.457 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.3154, allocations: 4 kB / 0.5592 GB, free: 6.453 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3154, allocations: 4 kB / 0.5592 GB, free: 6.449 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.3154, allocations: 0 / 0.5592 GB, free: 6.449 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.0005309/0.3159, allocations: 276.9 kB / 0.5594 GB, free: 6.148 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3159, allocations: 8.031 kB / 0.5594 GB, free: 6.141 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.316, allocations: 4.891 kB / 0.5594 GB, free: 6.137 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.3161, allocations: 114.4 kB / 0.5595 GB, free: 6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3161, allocations: 4.312 kB / 0.5595 GB, free: 5.996 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/0.3161, allocations: 4.375 kB / 0.5595 GB, free: 5.992 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.3163, allocations: 119.9 kB / 0.5597 GB, free: 5.863 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3163, allocations: 192 / 0.5597 GB, free: 5.863 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.3164, allocations: 7.922 kB / 0.5597 GB, free: 5.855 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.943e-05/0.3164, allocations: 19.92 kB / 0.5597 GB, free: 5.836 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.3165, allocations: 63.95 kB / 0.5598 GB, free: 5.773 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002049/0.3167, allocations: 137.2 kB / 0.5599 GB, free: 5.609 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.317, allocations: 114.9 kB / 0.56 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.404e-05/0.3171, allocations: 56.83 kB / 0.56 GB, free: 5.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.295e-05/0.3171, allocations: 11.98 kB / 0.5601 GB, free: 5.418 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.3172, allocations: 42.5 kB / 0.5601 GB, free: 5.367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.392e-06/0.3172, allocations: 0 / 0.5601 GB, free: 5.367 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.00372/0.3209, allocations: 2.209 MB / 0.5623 GB, free: 3.129 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.3209, allocations: 59.58 kB / 0.5623 GB, free: 3.059 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.978e-05/0.321, allocations: 93.86 kB / 0.5624 GB, free: 2.957 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.227e-05/0.3211, allocations: 33.7 kB / 0.5624 GB, free: 2.918 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.3211, allocations: 80.77 kB / 0.5625 GB, free: 2.836 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.3212, allocations: 107.1 kB / 0.5626 GB, free: 2.73 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.3214, allocations: 89.66 kB / 0.5627 GB, free: 2.637 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3215, allocations: 326.8 kB / 0.563 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007025/0.3222, allocations: 0.5739 MB / 0.5636 GB, free: 1.734 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007065/0.3229, allocations: 0.5817 MB / 0.5641 GB, free: 1.152 MB / 398.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.002836/0.3258, allocations: 2.056 MB / 0.5661 GB, free: 15.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3258, allocations: 4 kB / 0.5662 GB, free: 15.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002145/0.3279, allocations: 1.717 MB / 0.5678 GB, free: 13.36 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.3279, allocations: 6.5 kB / 0.5678 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002125/0.3301, allocations: 1.52 MB / 0.5693 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000804/0.3309, allocations: 416.5 kB / 0.5697 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.3311, allocations: 63.89 kB / 0.5698 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.3324, allocations: 1.185 MB / 0.5709 GB, free: 10.15 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.3326, allocations: 8.031 kB / 0.5709 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.656e-05/0.3327, allocations: 71.97 kB / 0.571 GB, free: 10.07 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.0002344/0.3329, allocations: 137.7 kB / 0.5711 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.655e-05/0.3329, allocations: 16 kB / 0.5712 GB, free: 9.914 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.001704/0.3347, allocations: 0.8858 MB / 0.572 GB, free: 9.02 MB / 414.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.0677847820334136] Failed to read output from testmodel.py, exit status != 0: ['time', 'xIntegrated'] 0.34378108009696007 0.359529704 0.040993553 Calling exit ...