Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo", uses=false) Using package PowerGrids with version 1.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") translateModel(PowerGrids.Functions.Test.TestTimeConstants,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T1|T2|time",fileNamePrefix="PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 121.3 kB / 17.1 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002209/0.002209, allocations: 190.9 kB / 18.04 MB, free: 5.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06232/0.06232, allocations: 14.16 MB / 285.4 MB, free: 13.85 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 74.25 kB / 397.8 MB, free: 43.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07291/0.07442, allocations: 50.13 MB / 447.9 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.00159/0.07605, allocations: 492.3 kB / 448.4 MB, free: 13.22 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003048/0.07637, allocations: 119.7 kB / 448.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.323e-05/0.07641, allocations: 0 / 448.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.449e-05/0.07645, allocations: 0 / 448.5 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.0767, allocations: 19.92 kB / 448.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.236e-06/0.07671, allocations: 0 / 448.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 3.123e-05/0.07675, allocations: 3.938 kB / 448.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.295e-05/0.0768, allocations: 8.344 kB / 448.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.227e-05/0.07682, allocations: 0 / 448.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.948e-05/0.07692, allocations: 11.92 kB / 448.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.098e-06/0.07693, allocations: 4 kB / 448.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.086e-06/0.07694, allocations: 0 / 448.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.51e-06/0.07695, allocations: 0 / 448.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.868e-06/0.07697, allocations: 0 / 448.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 3.131e-05/0.077, allocations: 0 / 448.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.07701, allocations: 0 / 448.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.07701, allocations: 0 / 448.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.07702, allocations: 4 kB / 448.6 MB, free: 13.05 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000227/0.07726, allocations: 319.5 kB / 448.9 MB, free: 12.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.07729, allocations: 8.031 kB / 448.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.059e-05/0.07732, allocations: 0.9375 kB / 448.9 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.702e-05/0.07745, allocations: 168.3 kB / 449.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.07747, allocations: 4.375 kB / 449.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.07749, allocations: 4.312 kB / 449.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.663e-05/0.07759, allocations: 59.91 kB / 449.1 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.0776, allocations: 192 / 449.1 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.07762, allocations: 3.938 kB / 449.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.07763, allocations: 0 / 449.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.696e-05/0.07765, allocations: 4 kB / 449.2 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002927/0.07794, allocations: 459.7 kB / 449.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.345e-05/0.07804, allocations: 177 kB / 449.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.885e-05/0.07807, allocations: 80.14 kB / 449.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.0781, allocations: 75.28 kB / 449.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.07815, allocations: 109.9 kB / 450 MB, free: 11.43 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.07815, allocations: 4 kB / 450 MB, free: 11.43 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.334e-05/0.07822, allocations: 31.7 kB / 450.1 MB, free: 11.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.07825, allocations: 55.41 kB / 450.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.964e-05/0.07834, allocations: 97.84 kB / 450.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.094e-05/0.07836, allocations: 25.7 kB / 450.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.739e-05/0.0784, allocations: 92.08 kB / 450.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.826e-06/0.07841, allocations: 0 / 450.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.07844, allocations: 17.67 kB / 450.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.205e-05/0.07854, allocations: 310.8 kB / 450.7 MB, free: 10.76 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.405e-06/0.07856, allocations: 4.125 kB / 450.7 MB, free: 10.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.526e-05/0.07858, allocations: 17.7 kB / 450.7 MB, free: 10.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.869e-05/0.07861, allocations: 17.72 kB / 450.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.07862, allocations: 0 / 450.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.822e-05/0.07871, allocations: 41.58 kB / 450.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.07873, allocations: 4.125 kB / 450.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.07874, allocations: 4 kB / 450.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.07876, allocations: 4 kB / 450.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.425e-05/0.07881, allocations: 0 / 450.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.07882, allocations: 4 kB / 450.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.64e-05/0.07884, allocations: 3.984 kB / 450.8 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.741e-06/0.07885, allocations: 0 / 450.8 MB, free: 10.64 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.789e-05/0.07893, allocations: 196.9 kB / 450.9 MB, free: 10.44 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.07899, allocations: 105 kB / 451.1 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.648e-05/0.07903, allocations: 108.1 kB / 451.2 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.695e-05/0.07909, allocations: 184.2 kB / 451.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.991e-05/0.07913, allocations: 112.9 kB / 451.4 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.094e-05/0.07919, allocations: 186 kB / 451.6 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.811e-05/0.07926, allocations: 176.3 kB / 451.8 MB, free: 9.527 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.634e-05/0.07933, allocations: 101 kB / 451.9 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.654e-05/0.07939, allocations: 196.1 kB / 452.1 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.398e-05/0.07947, allocations: 255.5 kB / 452.3 MB, free: 8.965 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004472/0.07992, allocations: 1.28 MB / 453.6 MB, free: 7.625 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.568e-05/0.07997, allocations: 101 kB / 453.7 MB, free: 7.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 2.842e-05/0.08, allocations: 75.28 kB / 453.8 MB, free: 7.445 MB / 334.1 MB Notification: Performance of Backend: time 3.81e-07/0.08001, allocations: 4 kB / 453.8 MB, free: 7.441 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002895/0.0803, allocations: 78.58 kB / 453.9 MB, free: 7.355 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004394/0.08075, allocations: 0.9238 MB / 454.8 MB, free: 6.367 MB / 334.1 MB Notification: Performance of Templates: time 0.001765/0.08253, allocations: 185 kB / 455 MB, free: 6.188 MB / 334.1 MB make -j1 -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.makefile make -j1 -f PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PowerGrids_symb_jac_PowerGrids_Functions_Test_TestTimeConstants -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.o PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.c PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.c:211:4: error: use of undeclared identifier 'PowerGrids_symb_jac_PowerGrids_Functions_Test_TestTimeConstants_INDEX_JAC_A' PowerGrids_symb_jac_PowerGrids_Functions_Test_TestTimeConstants_INDEX_JAC_A, ^ 1 error generated. make: *** [: PowerGrids_symb_jac_PowerGrids.Functions.Test.TestTimeConstants.o] Error 1