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.001132/0.001137, allocations: 118.1 kB / 17.1 MB, free: 6.004 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.001031/0.001031, allocations: 194.6 kB / 18.03 MB, free: 5.086 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.317/1.317, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.3/package.mo): time 0.06971/0.06971, allocations: 14.17 MB / 285.4 MB, free: 13.86 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.002655/0.002655, allocations: 72.14 kB / 397.8 MB, free: 43.9 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08045/0.08313, allocations: 50.14 MB / 448 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerGrids.Functions.Test.TestTimeConstants): time 0.001508/0.08467, allocations: 484.8 kB / 448.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003495/0.08504, allocations: 111.7 kB / 448.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.404e-05/0.08508, allocations: 0 / 448.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 1.209e-05/0.08512, allocations: 0 / 448.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002802/0.08541, allocations: 31.91 kB / 448.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.427e-06/0.08542, allocations: 0 / 448.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 2.929e-05/0.08545, allocations: 3.938 kB / 448.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.001e-05/0.0855, allocations: 352 / 448.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.18e-05/0.08552, allocations: 3.938 kB / 448.6 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.728e-05/0.08562, allocations: 11.98 kB / 448.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.867e-06/0.08563, allocations: 0 / 448.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.905e-06/0.08564, allocations: 4 kB / 448.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.572e-06/0.08565, allocations: 0 / 448.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.498e-06/0.08566, allocations: 0 / 448.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 3.282e-05/0.0857, allocations: 4 kB / 448.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.08571, allocations: 0 / 448.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.08572, allocations: 0 / 448.6 MB, free: 13.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.08572, allocations: 0 / 448.6 MB, free: 13.06 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.0002327/0.08596, allocations: 315.6 kB / 448.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.086, allocations: 8.031 kB / 448.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.213e-05/0.08603, allocations: 0.9375 kB / 448.9 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.779e-05/0.08611, allocations: 164.4 kB / 449.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.08613, allocations: 4.312 kB / 449.1 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.162e-05/0.08615, allocations: 4.375 kB / 449.1 MB, free: 12.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.926e-05/0.08624, allocations: 51.91 kB / 449.1 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.08626, allocations: 8.188 kB / 449.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.08627, allocations: 7.875 kB / 449.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.08628, allocations: 0 / 449.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.597e-05/0.0863, allocations: 0 / 449.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002912/0.0866, allocations: 471.5 kB / 449.6 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.538e-05/0.08668, allocations: 173.1 kB / 449.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.711e-05/0.08672, allocations: 80.14 kB / 449.9 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.08675, allocations: 79.28 kB / 449.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.53e-05/0.08679, allocations: 109.8 kB / 450 MB, free: 11.44 MB / 334.1 MB Notification: Performance of pre-optimization done (n=0): time 1.313e-06/0.0868, allocations: 0 / 450 MB, free: 11.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=0): time 6.466e-05/0.08687, allocations: 31.7 kB / 450.1 MB, free: 11.4 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.0869, allocations: 55.41 kB / 450.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.193e-05/0.08698, allocations: 93.84 kB / 450.2 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.087, allocations: 25.7 kB / 450.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/0.08704, allocations: 96.17 kB / 450.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.08705, allocations: 0 / 450.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.943e-05/0.08708, allocations: 9.719 kB / 450.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.569e-05/0.08718, allocations: 314.8 kB / 450.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.834e-06/0.08719, allocations: 0 / 450.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.243e-05/0.08721, allocations: 9.719 kB / 450.7 MB, free: 10.76 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.003e-05/0.08724, allocations: 29.7 kB / 450.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.08725, allocations: 0 / 450.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.107e-05/0.08735, allocations: 41.64 kB / 450.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.08736, allocations: 4 kB / 450.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.08737, allocations: 0 / 450.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.08739, allocations: 0 / 450.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.808e-05/0.08744, allocations: 4 kB / 450.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.08745, allocations: 0 / 450.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.351e-05/0.08747, allocations: 4 kB / 450.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.08748, allocations: 8 kB / 450.7 MB, free: 10.66 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.649e-05/0.08757, allocations: 197 kB / 450.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.08763, allocations: 101 kB / 451 MB, free: 10.35 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.759e-05/0.08767, allocations: 108.1 kB / 451.1 MB, free: 10.24 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.062e-05/0.08773, allocations: 184.1 kB / 451.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.678e-05/0.08776, allocations: 101 kB / 451.4 MB, free: 9.945 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.062e-05/0.08784, allocations: 194 kB / 451.6 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.621e-05/0.0879, allocations: 180.3 kB / 451.8 MB, free: 9.547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.782e-05/0.08797, allocations: 101 kB / 451.9 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.08803, allocations: 184.1 kB / 452.1 MB, free: 9.254 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.003e-05/0.08811, allocations: 259.5 kB / 452.3 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004273/0.08854, allocations: 1.284 MB / 453.6 MB, free: 7.648 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.24e-05/0.08858, allocations: 105 kB / 453.7 MB, free: 7.539 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.233e-05/0.08862, allocations: 79.28 kB / 453.8 MB, free: 7.461 MB / 334.1 MB Notification: Performance of Backend: time 4.21e-07/0.08863, allocations: 3.938 kB / 453.8 MB, free: 7.457 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002824/0.08892, allocations: 79.53 kB / 453.9 MB, free: 7.371 MB / 334.1 MB Notification: Performance of SimCode: time 0.0004087/0.08934, allocations: 0.9196 MB / 454.8 MB, free: 6.387 MB / 334.1 MB Notification: Performance of Templates: time 0.001715/0.09106, allocations: 193.3 kB / 455 MB, free: 6.199 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