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.001744/0.001744, allocations: 123.3 kB / 18.5 MB, free: 4.582 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.00225/0.00225, allocations: 210.4 kB / 21.46 MB, free: 1.629 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.498/1.498, allocations: 230.5 MB / 254.7 MB, free: 15.18 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.2528/0.2528, allocations: 46.93 MB / 357.7 MB, free: 10.23 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: "" <> buildModelFMU(ModelicaTest.Math.TestInterpolateTimeVarying,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestInterpolateTimeVarying",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestInterpolateTimeVarying,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Math_TestInterpolateTimeVarying",fmuType="me",version="2.0",platforms={"static"}) [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.002384/0.002384, allocations: 83.86 kB / 0.4917 GB, free: 7.785 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1366, allocations: 66.04 MB / 0.5561 GB, free: 5.613 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.00175/0.1383, allocations: 0.5141 MB / 0.5566 GB, free: 5.094 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005534/0.1389, allocations: 228 kB / 0.5569 GB, free: 4.871 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.845e-05/0.1389, allocations: 0 / 0.5569 GB, free: 4.871 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000132/0.1391, allocations: 0 / 0.5569 GB, free: 4.871 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 2.769e-05/0.1391, allocations: 4 kB / 0.5569 GB, free: 4.867 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.1394, allocations: 51.81 kB / 0.5569 GB, free: 4.816 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 6.914e-05/0.1395, allocations: 23.92 kB / 0.5569 GB, free: 4.793 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.459e-05/0.1395, allocations: 7.984 kB / 0.5569 GB, free: 4.785 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.326e-05/0.1395, allocations: 11.98 kB / 0.557 GB, free: 4.773 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.1396, allocations: 27.91 kB / 0.557 GB, free: 4.746 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.1396, allocations: 0 / 0.557 GB, free: 4.746 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.1398, allocations: 47.95 kB / 0.557 GB, free: 4.699 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.808e-05/0.1398, allocations: 15.98 kB / 0.557 GB, free: 4.684 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.085e-05/0.1399, allocations: 23.84 kB / 0.5571 GB, free: 4.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.14, allocations: 67.67 kB / 0.5571 GB, free: 4.594 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.14, allocations: 0 / 0.5571 GB, free: 4.594 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.14, allocations: 0 / 0.5571 GB, free: 4.594 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.14, allocations: 0 / 0.5571 GB, free: 4.594 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.000644/0.1407, allocations: 359.3 kB / 0.5575 GB, free: 4.191 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.1407, allocations: 12.03 kB / 0.5575 GB, free: 4.18 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.146e-05/0.1408, allocations: 34.73 kB / 0.5575 GB, free: 4.137 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.465e-05/0.1408, allocations: 8.891 kB / 0.5575 GB, free: 4.129 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.1409, allocations: 168.3 kB / 0.5577 GB, free: 3.926 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.141, allocations: 384 / 0.5577 GB, free: 3.926 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.141, allocations: 8.375 kB / 0.5577 GB, free: 3.918 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.1412, allocations: 94.16 kB / 0.5578 GB, free: 3.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.1412, allocations: 7.938 kB / 0.5578 GB, free: 3.812 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1412, allocations: 0 / 0.5578 GB, free: 3.812 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.771e-05/0.1412, allocations: 15.98 kB / 0.5578 GB, free: 3.797 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.1414, allocations: 67.94 kB / 0.5579 GB, free: 3.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/0.1416, allocations: 197.5 kB / 0.5581 GB, free: 3.488 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00031/0.1419, allocations: 124.4 kB / 0.5582 GB, free: 3.359 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.927e-05/0.142, allocations: 52.97 kB / 0.5582 GB, free: 3.305 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.09e-05/0.1421, allocations: 11.98 kB / 0.5582 GB, free: 3.293 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.1421, allocations: 34.5 kB / 0.5583 GB, free: 3.25 MB / 414.1 MB Notification: Performance of pre-optimization done (n=16): time 1.522e-06/0.1421, allocations: 0 / 0.5583 GB, free: 3.25 MB / 414.1 MB Notification: Performance of matching and sorting (n=30): time 0.003733/0.1458, allocations: 2.215 MB / 0.5604 GB, free: 1.004 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.1459, allocations: 55.64 kB / 0.5605 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.75e-05/0.146, allocations: 97.78 kB / 0.5606 GB, free: 0.832 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.103e-05/0.146, allocations: 33.7 kB / 0.5606 GB, free: 0.793 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.146, allocations: 80.7 kB / 0.5607 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/0.1462, allocations: 107.2 kB / 0.5608 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.1463, allocations: 89.59 kB / 0.5609 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.1465, allocations: 322.8 kB / 0.5612 GB, free: 192 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006883/0.1472, allocations: 0.5856 MB / 0.5618 GB, free: 15.6 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006654/0.1478, allocations: 0.5817 MB / 0.5623 GB, free: 15.02 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.002861/0.1507, allocations: 2.048 MB / 0.5643 GB, free: 12.96 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1507, allocations: 0 / 0.5643 GB, free: 12.96 MB / 430.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002119/0.1528, allocations: 1.71 MB / 0.566 GB, free: 11.25 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.1528, allocations: 4 kB / 0.566 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002147/0.155, allocations: 1.52 MB / 0.5675 GB, free: 9.719 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007964/0.1558, allocations: 408.5 kB / 0.5679 GB, free: 9.316 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.156, allocations: 67.89 kB / 0.5679 GB, free: 9.25 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.1573, allocations: 1.177 MB / 0.5691 GB, free: 8.047 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001265/0.1575, allocations: 12.09 kB / 0.5691 GB, free: 8.035 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-05/0.1575, allocations: 67.97 kB / 0.5692 GB, free: 7.969 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.0002162/0.1578, allocations: 145.7 kB / 0.5693 GB, free: 7.816 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.362e-05/0.1578, allocations: 7.953 kB / 0.5693 GB, free: 7.809 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.001578/0.1594, allocations: 0.8866 MB / 0.5702 GB, free: 6.918 MB / 430.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.0234015048481524] Failed to read output from testmodel.py, exit status != 0: ['time', 'xIntegrated'] 0.16595987929031253 0.18027632100000002 0.037364408 Calling exit ...