Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009906/0.0009906, allocations: 113.9 kB / 20.44 MB, free: 4.594 MB / 13.93 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.001463/0.001463, allocations: 221.5 kB / 23.73 MB, free: 2.137 MB / 13.93 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.088/1.088, allocations: 230.6 MB / 257.5 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.154/0.154, allocations: 44.94 MB / 358.9 MB, free: 5.094 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ModelicaTest.Math.TestInterpolateTimeVarying,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestInterpolateTimeVarying",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestInterpolateTimeVarying,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestInterpolateTimeVarying",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 76.5 kB / 0.4945 GB, free: 9.707 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1074, allocations: 65.49 MB / 0.5585 GB, free: 8.09 MB / 426.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.001239/0.1087, allocations: 0.4934 MB / 0.559 GB, free: 7.598 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003732/0.109, allocations: 215.4 kB / 0.5592 GB, free: 7.387 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.293e-05/0.1091, allocations: 0 / 0.5592 GB, free: 7.387 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.1092, allocations: 4 kB / 0.5592 GB, free: 7.383 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 2.07e-05/0.1092, allocations: 3.984 kB / 0.5592 GB, free: 7.379 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.1095, allocations: 51.83 kB / 0.5592 GB, free: 7.328 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 5.495e-05/0.1095, allocations: 15.98 kB / 0.5593 GB, free: 7.312 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.401e-05/0.1096, allocations: 11.95 kB / 0.5593 GB, free: 7.301 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.095e-05/0.1096, allocations: 11.94 kB / 0.5593 GB, free: 7.289 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.718e-05/0.1097, allocations: 23.97 kB / 0.5593 GB, free: 7.266 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.1097, allocations: 7.938 kB / 0.5593 GB, free: 7.258 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.086e-05/0.1098, allocations: 47.95 kB / 0.5594 GB, free: 7.211 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 2.797e-05/0.1098, allocations: 11.98 kB / 0.5594 GB, free: 7.199 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 2.583e-05/0.1099, allocations: 23.84 kB / 0.5594 GB, free: 7.176 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.11, allocations: 67.72 kB / 0.5595 GB, free: 7.109 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.11, allocations: 0 / 0.5595 GB, free: 7.109 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.11, allocations: 0 / 0.5595 GB, free: 7.109 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.11, allocations: 0 / 0.5595 GB, free: 7.109 MB / 426.7 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.0003495/0.1103, allocations: 278.2 kB / 0.5597 GB, free: 6.805 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1104, allocations: 15.98 kB / 0.5597 GB, free: 6.789 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.119e-05/0.1104, allocations: 38.73 kB / 0.5598 GB, free: 6.742 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.785e-05/0.1104, allocations: 8.891 kB / 0.5598 GB, free: 6.734 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.382e-05/0.1105, allocations: 110.5 kB / 0.5599 GB, free: 6.602 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1105, allocations: 4.375 kB / 0.5599 GB, free: 6.598 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.1105, allocations: 4.312 kB / 0.5599 GB, free: 6.594 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.1107, allocations: 123.9 kB / 0.56 GB, free: 6.461 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1107, allocations: 3.938 kB / 0.56 GB, free: 6.457 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/0.1107, allocations: 0 / 0.56 GB, free: 6.457 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.03e-05/0.1107, allocations: 8 kB / 0.56 GB, free: 6.449 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.842e-05/0.1108, allocations: 67.94 kB / 0.5601 GB, free: 6.383 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001472/0.111, allocations: 176.6 kB / 0.5603 GB, free: 6.168 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.1112, allocations: 118.7 kB / 0.5604 GB, free: 6.043 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.549e-05/0.1112, allocations: 52.97 kB / 0.5604 GB, free: 5.988 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.287e-05/0.1113, allocations: 11.98 kB / 0.5604 GB, free: 5.977 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.1113, allocations: 42.5 kB / 0.5605 GB, free: 5.926 MB / 426.7 MB Notification: Performance of pre-optimization done (n=16): time 9.72e-07/0.1113, allocations: 0 / 0.5605 GB, free: 5.926 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.002373/0.1137, allocations: 2.205 MB / 0.5626 GB, free: 3.691 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.867e-05/0.1137, allocations: 55.64 kB / 0.5627 GB, free: 3.625 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.918e-05/0.1137, allocations: 101.8 kB / 0.5628 GB, free: 3.516 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.364e-05/0.1138, allocations: 29.7 kB / 0.5628 GB, free: 3.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.976e-05/0.1138, allocations: 88.62 kB / 0.5629 GB, free: 3.391 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.558e-05/0.1138, allocations: 99.12 kB / 0.563 GB, free: 3.293 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.702e-05/0.1139, allocations: 89.66 kB / 0.5631 GB, free: 3.199 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.949e-05/0.114, allocations: 327 kB / 0.5634 GB, free: 2.871 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003917/0.1144, allocations: 0.5817 MB / 0.564 GB, free: 2.289 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/0.1148, allocations: 0.5817 MB / 0.5645 GB, free: 1.707 MB / 426.7 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.2029/0.3176, allocations: 2.047 MB / 0.5665 GB, free: 18.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3176, allocations: 0.5156 kB / 0.5665 GB, free: 18.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001567/0.3192, allocations: 1.705 MB / 0.5682 GB, free: 17.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.3192, allocations: 6.562 kB / 0.5682 GB, free: 17.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001575/0.3208, allocations: 1.538 MB / 0.5697 GB, free: 17.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006278/0.3214, allocations: 408.3 kB / 0.5701 GB, free: 17.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.3216, allocations: 62.2 kB / 0.5701 GB, free: 17.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008486/0.3224, allocations: 1.19 MB / 0.5713 GB, free: 17.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.449e-05/0.3225, allocations: 5.703 kB / 0.5713 GB, free: 17.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-05/0.3226, allocations: 72.67 kB / 0.5714 GB, free: 17.09 MB / 426.7 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.0001541/0.3227, allocations: 133.8 kB / 0.5715 GB, free: 16.97 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.706e-05/0.3227, allocations: 14.02 kB / 0.5715 GB, free: 16.97 MB / 426.7 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.00101/0.3238, allocations: 0.8942 MB / 0.5724 GB, free: 16.66 MB / 426.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.532735369168222]