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.001813/0.001813, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002414/0.002414, allocations: 216.5 kB / 24.47 MB, free: 4.359 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.537/1.537, allocations: 230.2 MB / 257.8 MB, free: 8.508 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.2426/0.2426, allocations: 46.89 MB / 361.1 MB, free: 4.66 MB / 286.1 MB " [Timeout remaining time 179] 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.002492/0.002492, allocations: 79.86 kB / 0.4967 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3779/0.3803, allocations: 65.99 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001602/0.3819, allocations: 0.5109 MB / 0.5617 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005389/0.3825, allocations: 223.4 kB / 0.5619 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.147e-05/0.3825, allocations: 0 / 0.5619 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001365/0.3827, allocations: 11.94 kB / 0.5619 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.457e-05/0.3827, allocations: 0 / 0.5619 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002787/0.383, allocations: 51.88 kB / 0.562 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.303e-05/0.383, allocations: 23.86 kB / 0.562 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.139e-05/0.3831, allocations: 7.938 kB / 0.562 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.444e-05/0.3831, allocations: 11.98 kB / 0.562 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.3832, allocations: 27.89 kB / 0.562 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.3832, allocations: 4 kB / 0.562 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.3834, allocations: 47.95 kB / 0.5621 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.389e-05/0.3834, allocations: 15.98 kB / 0.5621 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.503e-05/0.3834, allocations: 19.86 kB / 0.5621 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.3836, allocations: 70.39 kB / 0.5622 GB, free: 4.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3836, allocations: 0 / 0.5622 GB, free: 4.016 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3836, allocations: 0 / 0.5622 GB, free: 4.016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.3836, allocations: 0 / 0.5622 GB, free: 4.016 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.0005865/0.3842, allocations: 355.3 kB / 0.5625 GB, free: 3.617 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.3842, allocations: 8.031 kB / 0.5625 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.728e-05/0.3843, allocations: 8.891 kB / 0.5625 GB, free: 3.602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.3845, allocations: 176.2 kB / 0.5627 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.3845, allocations: 384 / 0.5627 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.3845, allocations: 8.359 kB / 0.5627 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.3847, allocations: 94.22 kB / 0.5628 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.3847, allocations: 192 / 0.5628 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.3847, allocations: 3.938 kB / 0.5628 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.927e-05/0.3847, allocations: 8 kB / 0.5628 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.3849, allocations: 78.25 kB / 0.5629 GB, free: 3.199 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00026/0.3851, allocations: 193.5 kB / 0.5631 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002949/0.3854, allocations: 118.8 kB / 0.5632 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.57e-05/0.3855, allocations: 60.89 kB / 0.5632 GB, free: 2.773 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.429e-05/0.3856, allocations: 11.98 kB / 0.5632 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/0.3856, allocations: 34.56 kB / 0.5633 GB, free: 2.719 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.3856, allocations: 4 kB / 0.5633 GB, free: 2.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.004095/0.3897, allocations: 2.206 MB / 0.5654 GB, free: 488 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.613e-05/0.3898, allocations: 55.64 kB / 0.5655 GB, free: 420 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.232e-05/0.3899, allocations: 97.86 kB / 0.5656 GB, free: 312 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/0.3899, allocations: 33.7 kB / 0.5656 GB, free: 272 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.631e-05/0.39, allocations: 80.7 kB / 0.5657 GB, free: 188 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.3901, allocations: 107.1 kB / 0.5658 GB, free: 80 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001854/0.3903, allocations: 89.73 kB / 0.5659 GB, free: 15.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.3905, allocations: 326.8 kB / 0.5662 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007227/0.3912, allocations: 0.5778 MB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006734/0.3919, allocations: 0.578 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.002804/0.3947, allocations: 2.064 MB / 0.5693 GB, free: 12.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3947, allocations: 4 kB / 0.5693 GB, free: 12.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002117/0.3968, allocations: 1.702 MB / 0.571 GB, free: 10.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.3968, allocations: 11.94 kB / 0.571 GB, free: 10.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002101/0.3989, allocations: 1.52 MB / 0.5725 GB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007547/0.3997, allocations: 408.5 kB / 0.5729 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.3999, allocations: 59.95 kB / 0.5729 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001566/0.4015, allocations: 1.185 MB / 0.5741 GB, free: 7.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.4016, allocations: 8.031 kB / 0.5741 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.21e-05/0.4017, allocations: 71.97 kB / 0.5742 GB, free: 7.43 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.000222/0.4019, allocations: 137.7 kB / 0.5743 GB, free: 7.285 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.766e-05/0.4019, allocations: 16 kB / 0.5743 GB, free: 7.27 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.00156/0.4035, allocations: 0.8788 MB / 0.5752 GB, free: 6.383 MB / 414.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.29033922823146] Failed to read output from testmodel.py, exit status != 0: ['time', 'xIntegrated'] 0.41222517704591155 0.42557687200000005 0.03898601 Calling exit ...