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.001494/0.001494, allocations: 121.4 kB / 19.17 MB, free: 3.852 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.001686/0.001686, allocations: 206.5 kB / 22.12 MB, free: 0.9062 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.45/1.45, allocations: 230.3 MB / 255.2 MB, free: 15.19 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.2543/0.2543, allocations: 46.92 MB / 358.2 MB, free: 10.49 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.00228/0.00228, allocations: 75.88 kB / 0.4925 GB, free: 7.742 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1428, allocations: 66.01 MB / 0.557 GB, free: 5.605 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.00174/0.1445, allocations: 0.5165 MB / 0.5575 GB, free: 5.082 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005372/0.1451, allocations: 227.9 kB / 0.5577 GB, free: 4.859 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.681e-05/0.1451, allocations: 0 / 0.5577 GB, free: 4.859 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00015/0.1452, allocations: 3.984 kB / 0.5577 GB, free: 4.855 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 3.03e-05/0.1453, allocations: 7.938 kB / 0.5577 GB, free: 4.848 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.1456, allocations: 43.89 kB / 0.5577 GB, free: 4.805 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 8.026e-05/0.1457, allocations: 27.84 kB / 0.5578 GB, free: 4.777 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.027e-05/0.1457, allocations: 4 kB / 0.5578 GB, free: 4.773 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.015e-05/0.1457, allocations: 8 kB / 0.5578 GB, free: 4.766 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.1458, allocations: 23.91 kB / 0.5578 GB, free: 4.742 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.1459, allocations: 4 kB / 0.5578 GB, free: 4.738 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.146, allocations: 55.94 kB / 0.5579 GB, free: 4.684 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.459e-05/0.146, allocations: 15.97 kB / 0.5579 GB, free: 4.668 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.1461, allocations: 11.88 kB / 0.5579 GB, free: 4.656 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.1462, allocations: 75.7 kB / 0.5579 GB, free: 4.582 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1462, allocations: 4 kB / 0.558 GB, free: 4.578 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1462, allocations: 0 / 0.558 GB, free: 4.578 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.1462, allocations: 0 / 0.558 GB, free: 4.578 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.0005601/0.1468, allocations: 351.3 kB / 0.5583 GB, free: 4.184 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1468, allocations: 12.03 kB / 0.5583 GB, free: 4.172 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.1469, allocations: 4.891 kB / 0.5583 GB, free: 4.168 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.147, allocations: 168.3 kB / 0.5585 GB, free: 3.965 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.147, allocations: 4.375 kB / 0.5585 GB, free: 3.961 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.1471, allocations: 384 / 0.5585 GB, free: 3.961 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.1472, allocations: 95.34 kB / 0.5586 GB, free: 3.863 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.1473, allocations: 192 / 0.5586 GB, free: 3.863 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.1473, allocations: 3.938 kB / 0.5586 GB, free: 3.859 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.232e-05/0.1473, allocations: 19.98 kB / 0.5586 GB, free: 3.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.1474, allocations: 71.88 kB / 0.5587 GB, free: 3.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000269/0.1477, allocations: 201.5 kB / 0.5588 GB, free: 3.523 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003029/0.148, allocations: 114.8 kB / 0.559 GB, free: 3.402 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.596e-05/0.1481, allocations: 60.95 kB / 0.559 GB, free: 3.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.184e-05/0.1482, allocations: 8 kB / 0.559 GB, free: 3.332 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.1482, allocations: 30.56 kB / 0.559 GB, free: 3.293 MB / 414.1 MB Notification: Performance of pre-optimization done (n=16): time 1.233e-06/0.1482, allocations: 0 / 0.559 GB, free: 3.293 MB / 414.1 MB Notification: Performance of matching and sorting (n=30): time 0.003559/0.1517, allocations: 2.223 MB / 0.5612 GB, free: 1.039 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.1518, allocations: 51.64 kB / 0.5613 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.381e-05/0.1519, allocations: 93.86 kB / 0.5614 GB, free: 0.875 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.1519, allocations: 29.7 kB / 0.5614 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.331e-05/0.152, allocations: 80.7 kB / 0.5615 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.1521, allocations: 99.12 kB / 0.5616 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.1522, allocations: 97.78 kB / 0.5617 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1524, allocations: 330.6 kB / 0.562 GB, free: 232 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006584/0.153, allocations: 0.5818 MB / 0.5625 GB, free: 15.64 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00064/0.1537, allocations: 0.5856 MB / 0.5631 GB, free: 15.05 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.002694/0.1564, allocations: 2.048 MB / 0.5651 GB, free: 13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1564, allocations: 0 / 0.5651 GB, free: 13 MB / 430.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002061/0.1584, allocations: 1.71 MB / 0.5668 GB, free: 11.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.1585, allocations: 9.703 kB / 0.5668 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002067/0.1605, allocations: 1.52 MB / 0.5683 GB, free: 9.754 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007731/0.1613, allocations: 408.5 kB / 0.5687 GB, free: 9.352 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/0.1615, allocations: 59.97 kB / 0.5687 GB, free: 9.293 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/0.1628, allocations: 1.185 MB / 0.5699 GB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.1629, allocations: 7.984 kB / 0.5699 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.598e-05/0.163, allocations: 68.05 kB / 0.5699 GB, free: 8.008 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.000229/0.1632, allocations: 149.7 kB / 0.5701 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.317e-05/0.1633, allocations: 7.953 kB / 0.5701 GB, free: 7.844 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.001579/0.1648, allocations: 0.8866 MB / 0.571 GB, free: 6.953 MB / 430.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.9203485070029274] Failed to read output from testmodel.py, exit status != 0: ['time', 'xIntegrated'] 0.17159728999831714 0.18498982999999994 0.036018584 Calling exit ...