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.001392/0.001391, allocations: 103.7 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001315/0.001315, allocations: 212.6 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 227.4 MB / 246.8 MB, free: 10.59 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.2309/0.2309, allocations: 46.12 MB / 344.2 MB, free: 11.59 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.003194/0.003194, allocations: 76.3 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1208, allocations: 62.46 MB / 480.2 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001757/0.1226, allocations: 0.5075 MB / 480.7 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005234/0.1232, allocations: 222 kB / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.179e-05/0.1232, allocations: 0 / 480.9 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001202/0.1234, allocations: 7.922 kB / 480.9 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 2.041e-05/0.1234, allocations: 0 / 480.9 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002899/0.1237, allocations: 47.89 kB / 481 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.17e-05/0.1238, allocations: 23.91 kB / 481 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.728e-05/0.1238, allocations: 7.984 kB / 481 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.394e-05/0.1238, allocations: 15.94 kB / 481 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.819e-05/0.1239, allocations: 19.97 kB / 481 MB, free: 4.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.124, allocations: 4 kB / 481.1 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.1241, allocations: 47.95 kB / 481.1 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.784e-05/0.1241, allocations: 15.92 kB / 481.1 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.468e-05/0.1242, allocations: 23.8 kB / 481.1 MB, free: 4.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.1243, allocations: 63.84 kB / 481.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1243, allocations: 0 / 481.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1243, allocations: 0 / 481.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1243, allocations: 0 / 481.2 MB, free: 4.168 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.0005193/0.1249, allocations: 363.7 kB / 481.6 MB, free: 3.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1249, allocations: 8.031 kB / 481.6 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.514e-05/0.125, allocations: 42.69 kB / 481.6 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.663e-05/0.125, allocations: 0.9375 kB / 481.6 MB, free: 3.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.1251, allocations: 172.3 kB / 481.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.113e-06/0.1252, allocations: 384 / 481.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.1252, allocations: 4.375 kB / 481.8 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.1254, allocations: 90.22 kB / 481.9 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.1254, allocations: 3.938 kB / 481.9 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.1254, allocations: 11.98 kB / 481.9 MB, free: 3.383 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.578e-05/0.1254, allocations: 8 kB / 481.9 MB, free: 3.375 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001736/0.1256, allocations: 71.83 kB / 482 MB, free: 3.305 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.1259, allocations: 197.5 kB / 482.2 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.1262, allocations: 130.2 kB / 482.3 MB, free: 2.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.801e-05/0.1263, allocations: 64.89 kB / 482.3 MB, free: 2.863 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.803e-05/0.1264, allocations: 12.12 kB / 482.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/0.1264, allocations: 42.44 kB / 482.4 MB, free: 2.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.342e-06/0.1264, allocations: 0 / 482.4 MB, free: 2.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.00394/0.1304, allocations: 2.198 MB / 484.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.1304, allocations: 51.64 kB / 484.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.324e-05/0.1305, allocations: 97.8 kB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.1306, allocations: 29.7 kB / 484.8 MB, free: 376 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.1306, allocations: 84.69 kB / 484.9 MB, free: 288 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.1308, allocations: 98.56 kB / 484.9 MB, free: 188 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001661/0.1309, allocations: 97.77 kB / 485 MB, free: 84 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.1312, allocations: 326.8 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007102/0.1319, allocations: 0.5739 MB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007428/0.1326, allocations: 0.5817 MB / 486.5 MB, free: 14.6 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.002904/0.1355, allocations: 2.052 MB / 488.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1355, allocations: 0 / 488.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002363/0.1379, allocations: 1.71 MB / 490.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.138, allocations: 4 kB / 490.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002067/0.14, allocations: 1.519 MB / 491.8 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008095/0.1409, allocations: 416.5 kB / 492.2 MB, free: 8.887 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.1412, allocations: 59.95 kB / 492.3 MB, free: 8.828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.1426, allocations: 1.192 MB / 493.5 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000127/0.1427, allocations: 4 kB / 493.5 MB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.701e-05/0.1428, allocations: 75.94 kB / 493.5 MB, free: 7.531 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.0002797/0.1431, allocations: 137.7 kB / 493.7 MB, free: 7.387 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.1431, allocations: 11.91 kB / 493.7 MB, free: 7.375 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.001713/0.1449, allocations: 0.8981 MB / 494.6 MB, free: 6.484 MB / 366.1 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.