Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001522/0.001522, allocations: 112.5 kB / 18.45 MB, free: 4.605 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.001792/0.001792, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.489/1.489, allocations: 230.6 MB / 254.8 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2403/0.2403, allocations: 46.92 MB / 357.8 MB, free: 10.3 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+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.1.0_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestInterpolateTimeVarying") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 67.89 kB / 0.4921 GB, free: 7.445 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1425, allocations: 65.99 MB / 0.5565 GB, free: 5.324 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001644/0.1442, allocations: 0.5142 MB / 0.557 GB, free: 4.809 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005328/0.1447, allocations: 220 kB / 0.5572 GB, free: 4.594 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.1447, allocations: 0 / 0.5572 GB, free: 4.594 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001497/0.1449, allocations: 7.922 kB / 0.5572 GB, free: 4.586 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.451e-05/0.1449, allocations: 4 kB / 0.5572 GB, free: 4.582 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.1452, allocations: 51.81 kB / 0.5573 GB, free: 4.531 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 7.459e-05/0.1453, allocations: 19.92 kB / 0.5573 GB, free: 4.512 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.969e-05/0.1453, allocations: 4 kB / 0.5573 GB, free: 4.508 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.866e-05/0.1453, allocations: 19.97 kB / 0.5573 GB, free: 4.488 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.1455, allocations: 27.91 kB / 0.5573 GB, free: 4.461 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.1455, allocations: 0 / 0.5573 GB, free: 4.461 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.1456, allocations: 47.95 kB / 0.5574 GB, free: 4.414 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.708e-05/0.1456, allocations: 15.98 kB / 0.5574 GB, free: 4.398 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.456e-05/0.1457, allocations: 19.86 kB / 0.5574 GB, free: 4.379 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.1458, allocations: 67.66 kB / 0.5575 GB, free: 4.312 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1458, allocations: 4 kB / 0.5575 GB, free: 4.309 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1458, allocations: 0 / 0.5575 GB, free: 4.309 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1458, allocations: 0 / 0.5575 GB, free: 4.309 MB / 414.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.0005412/0.1464, allocations: 361.9 kB / 0.5578 GB, free: 3.906 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1464, allocations: 12.03 kB / 0.5578 GB, free: 3.895 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.1464, allocations: 4.891 kB / 0.5579 GB, free: 3.891 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.1466, allocations: 164.3 kB / 0.558 GB, free: 3.691 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.564e-06/0.1466, allocations: 4.375 kB / 0.558 GB, free: 3.688 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.859e-05/0.1466, allocations: 4.359 kB / 0.558 GB, free: 3.684 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.1468, allocations: 94.17 kB / 0.5581 GB, free: 3.586 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.1468, allocations: 192 / 0.5581 GB, free: 3.586 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.1468, allocations: 3.938 kB / 0.5581 GB, free: 3.582 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.146e-05/0.1469, allocations: 19.98 kB / 0.5581 GB, free: 3.562 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.147, allocations: 67.95 kB / 0.5582 GB, free: 3.496 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/0.1472, allocations: 197.5 kB / 0.5584 GB, free: 3.254 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002749/0.1475, allocations: 118.7 kB / 0.5585 GB, free: 3.129 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.947e-05/0.1476, allocations: 60.95 kB / 0.5586 GB, free: 3.066 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.032e-05/0.1476, allocations: 8 kB / 0.5586 GB, free: 3.059 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.1476, allocations: 34.56 kB / 0.5586 GB, free: 3.016 MB / 414.1 MB Notification: Performance of pre-optimization done (n=16): time 1.133e-06/0.1476, allocations: 0 / 0.5586 GB, free: 3.016 MB / 414.1 MB Notification: Performance of matching and sorting (n=30): time 0.003536/0.1512, allocations: 2.215 MB / 0.5608 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.274e-05/0.1512, allocations: 51.64 kB / 0.5608 GB, free: 0.707 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.01e-05/0.1513, allocations: 97.86 kB / 0.5609 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.985e-05/0.1513, allocations: 29.7 kB / 0.5609 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.699e-05/0.1514, allocations: 80.7 kB / 0.561 GB, free: 496 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.1515, allocations: 103.1 kB / 0.5611 GB, free: 392 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.1517, allocations: 97.77 kB / 0.5612 GB, free: 288 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1518, allocations: 334.7 kB / 0.5615 GB, free: 15.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006766/0.1525, allocations: 0.5739 MB / 0.5621 GB, free: 15.37 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006487/0.1531, allocations: 0.5817 MB / 0.5626 GB, free: 14.79 MB / 430.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.002705/0.1558, allocations: 2.056 MB / 0.5647 GB, free: 12.73 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1558, allocations: 0 / 0.5647 GB, free: 12.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002014/0.1579, allocations: 1.712 MB / 0.5663 GB, free: 11.01 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.1579, allocations: 4 kB / 0.5663 GB, free: 11.01 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002049/0.1599, allocations: 1.516 MB / 0.5678 GB, free: 9.488 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007785/0.1607, allocations: 416.5 kB / 0.5682 GB, free: 9.078 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.1609, allocations: 63.89 kB / 0.5683 GB, free: 9.016 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.1621, allocations: 1.181 MB / 0.5694 GB, free: 7.809 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001254/0.1623, allocations: 4 kB / 0.5694 GB, free: 7.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.76e-05/0.1624, allocations: 72.03 kB / 0.5695 GB, free: 7.734 MB / 430.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.0002221/0.1626, allocations: 147.1 kB / 0.5696 GB, free: 7.586 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/0.1626, allocations: 7.953 kB / 0.5696 GB, free: 7.578 MB / 430.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.001569/0.1642, allocations: 0.8866 MB / 0.5705 GB, free: 6.688 MB / 430.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.037037658999907] Failed to read output from testmodel.py, exit status != 0: ['time', 'xIntegrated'] 0.1713584850076586 0.18443557400000002 0.035934799 Calling exit ...