Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying") translateModel(ModelicaTest.Math.TestInterpolateTimeVarying,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|xIntegrated",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestInterpolateTimeVarying") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008883/0.0008883, allocations: 174.2 kB / 17.41 MB, free: 4.41 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 225.7 MB / 243.9 MB, free: 8.453 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008157/0.0008158, allocations: 102.5 kB / 295.1 MB, free: 9.484 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3503/0.3503, allocations: 44.3 MB / 390.5 MB, free: 38.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003625, allocations: 8 kB / 463.1 MB, free: 476 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3829, allocations: 61.91 MB / 0.5127 GB, free: 37.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestInterpolateTimeVarying): time 0.0007744/0.3837, allocations: 246 kB / 0.513 GB, free: 37.77 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006987/0.3844, allocations: 305.5 kB / 0.5133 GB, free: 37.53 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.58e-05/0.3845, allocations: 0 / 0.5133 GB, free: 37.53 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001882/0.3847, allocations: 5.406 kB / 0.5133 GB, free: 37.53 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 2.952e-05/0.3847, allocations: 4 kB / 0.5133 GB, free: 37.52 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002901/0.385, allocations: 37.88 kB / 0.5133 GB, free: 37.51 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 6.403e-05/0.3851, allocations: 16.09 kB / 0.5133 GB, free: 37.5 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.963e-05/0.3851, allocations: 2.969 kB / 0.5133 GB, free: 37.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.667e-05/0.3852, allocations: 6.203 kB / 0.5133 GB, free: 37.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.3853, allocations: 29.73 kB / 0.5134 GB, free: 37.49 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.3853, allocations: 0 / 0.5134 GB, free: 37.49 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.3854, allocations: 48.92 kB / 0.5134 GB, free: 37.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.725e-05/0.3855, allocations: 14.11 kB / 0.5134 GB, free: 37.47 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.458e-05/0.3855, allocations: 44.11 kB / 0.5135 GB, free: 37.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.3857, allocations: 70.7 kB / 0.5135 GB, free: 37.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.3857, allocations: 4 kB / 0.5135 GB, free: 37.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3857, allocations: 0 / 0.5135 GB, free: 37.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.3857, allocations: 0 / 0.5135 GB, free: 37.4 MB / 378.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.0004598/0.3862, allocations: 343.8 kB / 0.5139 GB, free: 37.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.3862, allocations: 8.906 kB / 0.5139 GB, free: 37.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.088e-05/0.3863, allocations: 7.812 kB / 0.5139 GB, free: 37.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.3864, allocations: 168.3 kB / 0.514 GB, free: 36.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.623e-05/0.3864, allocations: 7.719 kB / 0.514 GB, free: 36.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.3864, allocations: 4.375 kB / 0.514 GB, free: 36.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.3867, allocations: 96.7 kB / 0.5141 GB, free: 36.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3867, allocations: 192 / 0.5141 GB, free: 36.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.3867, allocations: 7.922 kB / 0.5141 GB, free: 36.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.102e-05/0.3867, allocations: 12.08 kB / 0.5142 GB, free: 36.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.3869, allocations: 69.34 kB / 0.5142 GB, free: 36.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002001/0.3871, allocations: 188.1 kB / 0.5144 GB, free: 36.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.3873, allocations: 131.7 kB / 0.5145 GB, free: 36.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.285e-05/0.3874, allocations: 64.84 kB / 0.5146 GB, free: 36.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.744e-05/0.3875, allocations: 9.406 kB / 0.5146 GB, free: 36.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.3875, allocations: 37.34 kB / 0.5146 GB, free: 36.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 2.164e-06/0.3875, allocations: 0 / 0.5146 GB, free: 36.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=30): time 0.003798/0.3913, allocations: 2.214 MB / 0.5168 GB, free: 35.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.3914, allocations: 54.64 kB / 0.5169 GB, free: 35.78 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.359e-05/0.3915, allocations: 96.83 kB / 0.5169 GB, free: 35.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.906e-05/0.3915, allocations: 33.64 kB / 0.517 GB, free: 35.64 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.981e-05/0.3915, allocations: 80.7 kB / 0.5171 GB, free: 35.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.3916, allocations: 96.36 kB / 0.5171 GB, free: 35.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.739e-05/0.3917, allocations: 7 kB / 0.5172 GB, free: 35.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.406e-05/0.3918, allocations: 329 kB / 0.5175 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006682/0.3925, allocations: 0.5731 MB / 0.518 GB, free: 35.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006419/0.3931, allocations: 0.5841 MB / 0.5186 GB, free: 34.93 MB / 378.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.003206/0.3963, allocations: 3.109 MB / 0.5216 GB, free: 33.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3963, allocations: 3.031 kB / 0.5216 GB, free: 33.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001593/0.3979, allocations: 1.279 MB / 0.5229 GB, free: 33.62 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.398, allocations: 5.656 kB / 0.5229 GB, free: 33.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00137/0.3993, allocations: 1.254 MB / 0.5241 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.092e-05/0.3994, allocations: 0 / 0.5241 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008537/0.4003, allocations: 135.1 kB / 0.5242 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008329/0.4011, allocations: 1.114 MB / 0.5253 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.4012, allocations: 8.094 kB / 0.5253 GB, free: 32.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.372e-05/0.4013, allocations: 70.98 kB / 0.5254 GB, free: 32.75 MB / 378.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: taby[6] = tabx[6] ^ 2.0. 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 (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001756/0.4015, allocations: 140.2 kB / 0.5255 GB, free: 32.62 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.4015, allocations: 13.75 kB / 0.5256 GB, free: 32.61 MB / 378.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.001392/0.4029, allocations: 0.8814 MB / 0.5264 GB, free: 32.29 MB / 378.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.