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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001797/0.001797, allocations: 115 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002076/0.002076, allocations: 205.8 kB / 18.27 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.4 MB / 246.5 MB, free: 9.055 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2299/0.2299, allocations: 46.12 MB / 343.8 MB, free: 11.5 MB / 286.1 MB 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.002153/0.002153, allocations: 81.67 kB / 417.2 MB, free: 19.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1202, allocations: 62.45 MB / 479.7 MB, free: 5.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001835/0.122, allocations: 0.5708 MB / 480.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005242/0.1226, allocations: 227.4 kB / 480.5 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.161e-05/0.1226, allocations: 0 / 480.5 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001688/0.1228, allocations: 7.922 kB / 480.5 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.923e-05/0.1228, allocations: 7.984 kB / 480.5 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.1231, allocations: 35.97 kB / 480.5 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.967e-05/0.1232, allocations: 27.91 kB / 480.5 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.043e-05/0.1232, allocations: 0 / 480.5 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.687e-05/0.1233, allocations: 11.92 kB / 480.6 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.1234, allocations: 19.98 kB / 480.6 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.1234, allocations: 4 kB / 480.6 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.1235, allocations: 47.95 kB / 480.6 MB, free: 4.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.009e-05/0.1236, allocations: 19.92 kB / 480.6 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.1236, allocations: 23.84 kB / 480.7 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.1238, allocations: 59.84 kB / 480.7 MB, free: 4.398 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.383e-05/0.1238, allocations: 4 kB / 480.7 MB, free: 4.395 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1238, allocations: 0 / 480.7 MB, free: 4.395 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1238, allocations: 0 / 480.7 MB, free: 4.395 MB / 350.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.0005342/0.1243, allocations: 351.7 kB / 481.1 MB, free: 4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.1244, allocations: 12.03 kB / 481.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.547e-05/0.1244, allocations: 50.61 kB / 481.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.944e-05/0.1245, allocations: 4.938 kB / 481.1 MB, free: 3.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.1246, allocations: 160.4 kB / 481.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.1246, allocations: 384 / 481.3 MB, free: 3.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.1247, allocations: 8.375 kB / 481.3 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.1249, allocations: 94.16 kB / 481.4 MB, free: 3.625 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1249, allocations: 3.938 kB / 481.4 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.1249, allocations: 0 / 481.4 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.992e-05/0.1249, allocations: 11.98 kB / 481.4 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.1251, allocations: 75.83 kB / 481.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002293/0.1253, allocations: 197.5 kB / 481.7 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.1256, allocations: 126.8 kB / 481.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.202e-05/0.1257, allocations: 64.95 kB / 481.9 MB, free: 3.094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.276e-05/0.1257, allocations: 12.14 kB / 481.9 MB, free: 3.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.1258, allocations: 42.42 kB / 481.9 MB, free: 3.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.1258, allocations: 0 / 481.9 MB, free: 3.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.003653/0.1294, allocations: 2.206 MB / 484.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.258e-05/0.1295, allocations: 55.64 kB / 484.2 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.212e-05/0.1296, allocations: 101.8 kB / 484.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.769e-05/0.1296, allocations: 33.7 kB / 484.3 MB, free: 0.582 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/0.1297, allocations: 80.7 kB / 484.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.1298, allocations: 94.56 kB / 484.5 MB, free: 416 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.13, allocations: 89.66 kB / 484.6 MB, free: 320 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.1302, allocations: 327 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006739/0.1308, allocations: 0.5778 MB / 485.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006968/0.1315, allocations: 0.5778 MB / 486 MB, free: 14.83 MB / 366.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.002775/0.1343, allocations: 2.061 MB / 488.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1343, allocations: 0 / 488.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002115/0.1365, allocations: 1.71 MB / 489.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.1365, allocations: 8 kB / 489.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002053/0.1385, allocations: 1.519 MB / 491.3 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007585/0.1393, allocations: 408.5 kB / 491.7 MB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.1395, allocations: 63.89 kB / 491.8 MB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/0.1409, allocations: 1.192 MB / 493 MB, free: 7.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.141, allocations: 4.031 kB / 493 MB, free: 7.828 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.934e-05/0.1411, allocations: 71.97 kB / 493.1 MB, free: 7.758 MB / 366.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.0002255/0.1413, allocations: 144.5 kB / 493.2 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.1414, allocations: 7.906 kB / 493.2 MB, free: 7.602 MB / 366.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.0017/0.1431, allocations: 0.8864 MB / 494.1 MB, free: 6.727 MB / 366.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.