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.00125/0.00125, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.001375/0.001375, allocations: 209.8 kB / 24.48 MB, free: 4.035 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.441/1.441, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.2228/0.2228, allocations: 46.88 MB / 361.1 MB, free: 4.613 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.002403/0.002403, allocations: 75.88 kB / 0.4967 GB, free: 7.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3443, allocations: 65.99 MB / 0.5612 GB, free: 5.031 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001667/0.346, allocations: 0.5213 MB / 0.5617 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000553/0.3465, allocations: 231.4 kB / 0.5619 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.607e-05/0.3466, allocations: 0 / 0.5619 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.3467, allocations: 4 kB / 0.5619 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.778e-05/0.3467, allocations: 3.938 kB / 0.5619 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.347, allocations: 47.89 kB / 0.562 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 7.034e-05/0.3471, allocations: 23.91 kB / 0.562 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.849e-05/0.3472, allocations: 4 kB / 0.562 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.522e-05/0.3472, allocations: 11.92 kB / 0.562 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.3473, allocations: 23.91 kB / 0.562 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.3473, allocations: 7.938 kB / 0.562 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.3474, allocations: 47.95 kB / 0.5621 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.791e-05/0.3475, allocations: 19.97 kB / 0.5621 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.469e-05/0.3475, allocations: 19.86 kB / 0.5621 GB, free: 4.078 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.3477, allocations: 66.59 kB / 0.5622 GB, free: 4.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.3477, allocations: 7.938 kB / 0.5622 GB, free: 4.008 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3477, allocations: 0 / 0.5622 GB, free: 4.008 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.3477, allocations: 4 kB / 0.5622 GB, free: 4.004 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.0005454/0.3482, allocations: 347.3 kB / 0.5625 GB, free: 3.613 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.3483, allocations: 8.031 kB / 0.5625 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.629e-05/0.3483, allocations: 8.891 kB / 0.5625 GB, free: 3.598 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/0.3485, allocations: 176.2 kB / 0.5627 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.3485, allocations: 384 / 0.5627 GB, free: 3.387 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.3485, allocations: 4.375 kB / 0.5627 GB, free: 3.383 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.3487, allocations: 94.22 kB / 0.5628 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.3487, allocations: 192 / 0.5628 GB, free: 3.285 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.3487, allocations: 3.938 kB / 0.5628 GB, free: 3.281 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.3488, allocations: 8 kB / 0.5628 GB, free: 3.273 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.3489, allocations: 63.95 kB / 0.5629 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002502/0.3491, allocations: 201.5 kB / 0.5631 GB, free: 2.965 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.3494, allocations: 118.8 kB / 0.5632 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.709e-05/0.3495, allocations: 60.83 kB / 0.5632 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.951e-05/0.3496, allocations: 15.98 kB / 0.5633 GB, free: 2.762 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.3496, allocations: 30.56 kB / 0.5633 GB, free: 2.723 MB / 398.1 MB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.3496, allocations: 4 kB / 0.5633 GB, free: 2.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.003515/0.3531, allocations: 2.213 MB / 0.5655 GB, free: 488 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.3532, allocations: 55.64 kB / 0.5655 GB, free: 420 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.656e-05/0.3532, allocations: 93.86 kB / 0.5656 GB, free: 316 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/0.3533, allocations: 33.7 kB / 0.5656 GB, free: 276 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.87e-05/0.3533, allocations: 80.7 kB / 0.5657 GB, free: 192 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.3534, allocations: 99.12 kB / 0.5658 GB, free: 92 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.3536, allocations: 93.64 kB / 0.5659 GB, free: 15.99 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.3538, allocations: 326.8 kB / 0.5662 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006517/0.3544, allocations: 0.5739 MB / 0.5668 GB, free: 15.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006549/0.3551, allocations: 0.5818 MB / 0.5673 GB, free: 14.51 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.002682/0.3578, allocations: 2.056 MB / 0.5693 GB, free: 12.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3578, allocations: 4 kB / 0.5693 GB, free: 12.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00204/0.3598, allocations: 1.71 MB / 0.571 GB, free: 10.73 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.3598, allocations: 8 kB / 0.571 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00203/0.3619, allocations: 1.516 MB / 0.5725 GB, free: 9.199 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007696/0.3626, allocations: 416.4 kB / 0.5729 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.3629, allocations: 63.89 kB / 0.573 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.3641, allocations: 1.189 MB / 0.5741 GB, free: 7.512 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.3642, allocations: 8.031 kB / 0.5741 GB, free: 7.504 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.232e-05/0.3643, allocations: 67.97 kB / 0.5742 GB, free: 7.438 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.0002172/0.3646, allocations: 133.8 kB / 0.5743 GB, free: 7.297 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.838e-05/0.3646, allocations: 16.02 kB / 0.5743 GB, free: 7.281 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.00152/0.3661, allocations: 0.8905 MB / 0.5752 GB, free: 6.383 MB / 414.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode DAEmode: The model ModelicaTest.Math.TestInterpolateTimeVarying could not be translated " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.9383553047664464] Failed to read output from testmodel.py, exit status != 0: ['time', 'xIntegrated'] 0.37435150519013405 0.38834695499999994 0.037663109 Calling exit ...